Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / regulator / anatop-regulator.txt
1 Anatop Voltage regulators
2
3 Required properties:
4 - compatible: Must be "fsl,anatop-regulator"
5 - anatop-reg-offset: Anatop MFD register offset
6 - anatop-vol-bit-shift: Bit shift for the register
7 - anatop-vol-bit-width: Number of bits used in the register
8 - anatop-min-bit-val: Minimum value of this register
9 - anatop-min-voltage: Minimum voltage of this regulator
10 - anatop-max-voltage: Maximum voltage of this regulator
11
12 Optional properties:
13 - anatop-delay-reg-offset: Anatop MFD step time register offset
14 - anatop-delay-bit-shift: Bit shift for the step time register
15 - anatop-delay-bit-width: Number of bits used in the step time register
16 - vin-supply: The supply for this regulator
17 - anatop-enable-bit: Regulator enable bit offset
18
19 Any property defined as part of the core regulator
20 binding, defined in regulator.txt, can also be used.
21
22 Example:
23
24         regulator-vddpu {
25                 compatible = "fsl,anatop-regulator";
26                 regulator-name = "vddpu";
27                 regulator-min-microvolt = <725000>;
28                 regulator-max-microvolt = <1300000>;
29                 regulator-always-on;
30                 anatop-reg-offset = <0x140>;
31                 anatop-vol-bit-shift = <9>;
32                 anatop-vol-bit-width = <5>;
33                 anatop-delay-reg-offset = <0x170>;
34                 anatop-delay-bit-shift = <24>;
35                 anatop-delay-bit-width = <2>;
36                 anatop-min-bit-val = <1>;
37                 anatop-min-voltage = <725000>;
38                 anatop-max-voltage = <1300000>;
39         };