1 Binding for Maxim MAX77686/MAX77802/MAX77620 32k clock generator block
3 This is a part of device tree bindings of MAX77686/MAX77802/MAX77620
4 multi-function device. More information can be found in MFD DT binding
6 bindings/mfd/max77686.txt for MAX77686 and
7 bindings/mfd/max77802.txt for MAX77802 and
8 bindings/mfd/max77620.txt for MAX77620.
10 The MAX77686 contains three 32.768khz clock outputs that can be controlled
11 (gated/ungated) over I2C. Clocks are defined as preprocessor macros in
12 dt-bindings/clock/maxim,max77686.h.
15 The MAX77802 contains two 32.768khz clock outputs that can be controlled
16 (gated/ungated) over I2C. Clocks are defined as preprocessor macros in
17 dt-bindings/clock/maxim,max77802.h.
19 The MAX77686 contains one 32.768khz clock outputs that can be controlled
20 (gated/ungated) over I2C. Clocks are defined as preprocessor macros in
21 dt-bindings/clock/maxim,max77620.h.
23 Following properties should be presend in main device node of the MFD chip.
27 - #clock-cells: from common clock binding; shall be set to 1.
30 - clock-output-names: From common clock binding.
32 Each clock is assigned an identifier and client nodes can use this identifier
33 to specify the clock which they consume. Following indices are allowed:
34 - 0: 32khz_ap clock (max77686, max77802), 32khz_out0 (max77620)
35 - 1: 32khz_cp clock (max77686, max77802),
36 - 2: 32khz_pmic clock (max77686).
38 Clocks are defined as preprocessor macros in above dt-binding header for
45 #include <dt-bindings/clock/maxim,max77686.h>
49 max77686: max77686@09 {
50 compatible = "maxim,max77686";
51 interrupt-parent = <&wakeup_eint>;
62 compatible = "bar,foo";
64 clock-names = "my-clock";
65 clocks = <&max77686 MAX77686_CLK_PMIC>;
70 #include <dt-bindings/clock/maxim,max77802.h>
74 max77802: max77802@09 {
75 compatible = "maxim,max77802";
76 interrupt-parent = <&wakeup_eint>;
87 compatible = "bar,foo";
89 clock-names = "my-clock";
90 clocks = <&max77802 MAX77802_CLK_32K_AP>;
96 #include <dt-bindings/clock/maxim,max77620.h>
100 max77620: max77620@3c {
101 compatible = "maxim,max77620";
110 compatible = "bar,foo";
112 clock-names = "my-clock";
113 clocks = <&max77620 MAX77620_CLK_32K_OUT0>;