Merge branch 'network_master' of https://source.denx.de/u-boot/custodians/u-boot...
[platform/kernel/u-boot.git] / doc / device-tree-bindings / regulator / fsl,anatop-regulator.txt
1 ANATOP REGULATOR
2
3 Anatop is an integrated regulator inside i.MX6 SoC.
4
5 Required properties:
6 - compatible:           Must be "fsl,anatop-regulator".
7 - regulator-name:       Name of the regulator
8 - anatop-reg-offset:    u32 value representing the anatop MFD register offset.
9 - anatop-vol-bit-shift: u32 value representing the bit shift for the register.
10 - anatop-vol-bit-width: u32 value representing the number of bits used in the
11                         register.
12 - anatop-min-bit-val:   u32 value representing the minimum value of this
13                         register.
14 - anatop-min-voltage:   u32 value representing the minimum voltage of this
15                         regulator.
16 - anatop-max-voltage:   u32 value representing the maximum voltage of this
17                         regulator.
18
19 Optional properties:
20 - anatop-delay-reg-offset: u32 value representing the anatop MFD step time
21                            register offset.
22 - anatop-delay-bit-shift: u32 value representing the bit shift for the step
23                           time register.
24 - anatop-delay-bit-width: u32 value representing the number of bits used in
25                           the step time register.
26 - anatop-enable-bit:      u32 value representing regulator enable bit offset.
27 - vin-supply:             input supply phandle.
28
29 Example:
30         regulator-vddpu {
31                 compatible = "fsl,anatop-regulator";
32                 regulator-name = "vddpu";
33                 regulator-min-microvolt = <725000>;
34                 regulator-max-microvolt = <1300000>;
35                 regulator-always-on;
36                 anatop-reg-offset = <0x140>;
37                 anatop-vol-bit-shift = <9>;
38                 anatop-vol-bit-width = <5>;
39                 anatop-delay-reg-offset = <0x170>;
40                 anatop-delay-bit-shift = <24>;
41                 anatop-delay-bit-width = <2>;
42                 anatop-min-bit-val = <1>;
43                 anatop-min-voltage = <725000>;
44                 anatop-max-voltage = <1300000>;
45         };