Merge tag 'tags/mvebu-irqchip-fixes-3.13' into mvebu/irqchip
[cascardo/linux.git] / Documentation / devicetree / bindings / clock / maxim,max77686.txt
1 Binding for Maxim MAX77686 32k clock generator block
2
3 This is a part of device tree bindings of MAX77686 multi-function device.
4 More information can be found in bindings/mfd/max77686.txt file.
5
6 The MAX77686 contains three 32.768khz clock outputs that can be controlled
7 (gated/ungated) over I2C.
8
9 Following properties should be presend in main device node of the MFD chip.
10
11 Required properties:
12 - #clock-cells: simple one-cell clock specifier format is used, where the
13   only cell is used as an index of the clock inside the provider. Following
14   indices are allowed:
15     - 0: 32khz_ap clock,
16     - 1: 32khz_cp clock,
17     - 2: 32khz_pmic clock.
18
19 Example: Node of the MFD chip
20
21         max77686: max77686@09 {
22                 compatible = "maxim,max77686";
23                 interrupt-parent = <&wakeup_eint>;
24                 interrupts = <26 0>;
25                 reg = <0x09>;
26                 #clock-cells = <1>;
27
28                 /* ... */
29         };
30
31 Example: Clock consumer node
32
33         foo@0 {
34                 compatible = "bar,foo";
35                 /* ... */
36                 clock-names = "my-clock";
37                 clocks = <&max77686 2>;
38         };