18c2ecf20Sopenharmony_ci* Palmas 32KHz clocks *
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciPalmas device has two clock output pins for 32KHz, KG and KG_AUDIO.
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ciThis binding uses the common clock binding ./clock-bindings.txt.
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ciRequired properties:
88c2ecf20Sopenharmony_ci- compatible :	"ti,palmas-clk32kg" for clk32kg clock
98c2ecf20Sopenharmony_ci		"ti,palmas-clk32kgaudio" for clk32kgaudio clock
108c2ecf20Sopenharmony_ci- #clock-cells : shall be set to 0.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciOptional property:
138c2ecf20Sopenharmony_ci- ti,external-sleep-control: The external enable input pins controlled the
148c2ecf20Sopenharmony_ci	enable/disable of clocks.  The external enable input pins ENABLE1,
158c2ecf20Sopenharmony_ci	ENABLE2 and NSLEEP. The valid values for the external pins are:
168c2ecf20Sopenharmony_ci		PALMAS_EXT_CONTROL_PIN_ENABLE1 for ENABLE1 pin
178c2ecf20Sopenharmony_ci		PALMAS_EXT_CONTROL_PIN_ENABLE2 for ENABLE2 pin
188c2ecf20Sopenharmony_ci		PALMAS_EXT_CONTROL_PIN_NSLEEP for NSLEEP pin
198c2ecf20Sopenharmony_ci	Option 0 or missing this property means the clock is enabled/disabled
208c2ecf20Sopenharmony_ci	via register access and these pins do not have any control.
218c2ecf20Sopenharmony_ci	The macros of external control pins for DTS is defined at
228c2ecf20Sopenharmony_ci	dt-bindings/mfd/palmas.h
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ciExample:
258c2ecf20Sopenharmony_ci	#include <dt-bindings/mfd/palmas.h>
268c2ecf20Sopenharmony_ci	...
278c2ecf20Sopenharmony_ci	palmas: tps65913@58 {
288c2ecf20Sopenharmony_ci		...
298c2ecf20Sopenharmony_ci		clk32kg: palmas_clk32k@0 {
308c2ecf20Sopenharmony_ci			compatible = "ti,palmas-clk32kg";
318c2ecf20Sopenharmony_ci			#clock-cells = <0>;
328c2ecf20Sopenharmony_ci			ti,external-sleep-control = <PALMAS_EXT_CONTROL_PIN_NSLEEP>;
338c2ecf20Sopenharmony_ci		};
348c2ecf20Sopenharmony_ci		...
358c2ecf20Sopenharmony_ci	};
36