Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) * Palmas 32KHz clocks *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) Palmas device has two clock output pins for 32KHz, KG and KG_AUDIO.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) This binding uses the common clock binding ./clock-bindings.txt.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) - compatible :	"ti,palmas-clk32kg" for clk32kg clock
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 		"ti,palmas-clk32kgaudio" for clk32kgaudio clock
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - #clock-cells : shall be set to 0.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Optional property:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - ti,external-sleep-control: The external enable input pins controlled the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	enable/disable of clocks.  The external enable input pins ENABLE1,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 	ENABLE2 and NSLEEP. The valid values for the external pins are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 		PALMAS_EXT_CONTROL_PIN_ENABLE1 for ENABLE1 pin
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 		PALMAS_EXT_CONTROL_PIN_ENABLE2 for ENABLE2 pin
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 		PALMAS_EXT_CONTROL_PIN_NSLEEP for NSLEEP pin
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 	Option 0 or missing this property means the clock is enabled/disabled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	via register access and these pins do not have any control.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	The macros of external control pins for DTS is defined at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	dt-bindings/mfd/palmas.h
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	#include <dt-bindings/mfd/palmas.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 	...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 	palmas: tps65913@58 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 		...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 		clk32kg: palmas_clk32k@0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 			compatible = "ti,palmas-clk32kg";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 			#clock-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 			ti,external-sleep-control = <PALMAS_EXT_CONTROL_PIN_NSLEEP>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 		};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 		...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 	};