blob: bd272384afa4c92eb46dc1b9889f3bb034d8a402 [file] [log] [blame]
Ying-Chun Liu (PaulLiu)595e0472021-03-27 21:46:52 +08001ANATOP REGULATOR
2
3Anatop is an integrated regulator inside i.MX6 SoC.
4
5Required 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
Wolfgang Denk62fb2b42021-09-27 17:42:39 +020011 register.
Ying-Chun Liu (PaulLiu)595e0472021-03-27 21:46:52 +080012- anatop-min-bit-val: u32 value representing the minimum value of this
Wolfgang Denk62fb2b42021-09-27 17:42:39 +020013 register.
Ying-Chun Liu (PaulLiu)595e0472021-03-27 21:46:52 +080014- anatop-min-voltage: u32 value representing the minimum voltage of this
Wolfgang Denk62fb2b42021-09-27 17:42:39 +020015 regulator.
Ying-Chun Liu (PaulLiu)595e0472021-03-27 21:46:52 +080016- anatop-max-voltage: u32 value representing the maximum voltage of this
Wolfgang Denk62fb2b42021-09-27 17:42:39 +020017 regulator.
Ying-Chun Liu (PaulLiu)595e0472021-03-27 21:46:52 +080018
19Optional properties:
20- anatop-delay-reg-offset: u32 value representing the anatop MFD step time
Wolfgang Denk62fb2b42021-09-27 17:42:39 +020021 register offset.
Ying-Chun Liu (PaulLiu)595e0472021-03-27 21:46:52 +080022- anatop-delay-bit-shift: u32 value representing the bit shift for the step
Wolfgang Denk62fb2b42021-09-27 17:42:39 +020023 time register.
Ying-Chun Liu (PaulLiu)595e0472021-03-27 21:46:52 +080024- anatop-delay-bit-width: u32 value representing the number of bits used in
Wolfgang Denk62fb2b42021-09-27 17:42:39 +020025 the step time register.
Ying-Chun Liu (PaulLiu)595e0472021-03-27 21:46:52 +080026- anatop-enable-bit: u32 value representing regulator enable bit offset.
27- vin-supply: input supply phandle.
28
29Example:
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 };