0001 * Palmas 32KHz clocks *
0002
0003 Palmas device has two clock output pins for 32KHz, KG and KG_AUDIO.
0004
0005 This binding uses the common clock binding ./clock-bindings.txt.
0006
0007 Required properties:
0008 - compatible : "ti,palmas-clk32kg" for clk32kg clock
0009 "ti,palmas-clk32kgaudio" for clk32kgaudio clock
0010 - #clock-cells : shall be set to 0.
0011
0012 Optional property:
0013 - ti,external-sleep-control: The external enable input pins controlled the
0014 enable/disable of clocks. The external enable input pins ENABLE1,
0015 ENABLE2 and NSLEEP. The valid values for the external pins are:
0016 PALMAS_EXT_CONTROL_PIN_ENABLE1 for ENABLE1 pin
0017 PALMAS_EXT_CONTROL_PIN_ENABLE2 for ENABLE2 pin
0018 PALMAS_EXT_CONTROL_PIN_NSLEEP for NSLEEP pin
0019 Option 0 or missing this property means the clock is enabled/disabled
0020 via register access and these pins do not have any control.
0021 The macros of external control pins for DTS is defined at
0022 dt-bindings/mfd/palmas.h
0023
0024 Example:
0025 #include <dt-bindings/mfd/palmas.h>
0026 ...
0027 palmas: tps65913@58 {
0028 ...
0029 clk32kg: palmas_clk32k@0 {
0030 compatible = "ti,palmas-clk32kg";
0031 #clock-cells = <0>;
0032 ti,external-sleep-control = <PALMAS_EXT_CONTROL_PIN_NSLEEP>;
0033 };
0034 ...
0035 };