Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1Binding for Maxim MAX77686 32k clock generator block
2
3This is a part of device tree bindings of MAX77686 multi-function device.
4More information can be found in bindings/mfd/max77686.txt file.
5
6The MAX77686 contains three 32.768khz clock outputs that can be controlled
7(gated/ungated) over I2C.
8
9Following properties should be presend in main device node of the MFD chip.
10
11Required 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
19Example: 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
31Example: Clock consumer node
32
33 foo@0 {
34 compatible = "bar,foo";
35 /* ... */
36 clock-names = "my-clock";
37 clocks = <&max77686 2>;
38 };