blob: 1d58c8cfdbc01d8fffad426774dd730a987af2d1 [file] [log] [blame]
Ying-Chun Liu (PaulLiu)2f2cc272012-03-27 15:54:01 +08001Anatop Voltage regulators
2
3Required 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
Anson Huang9ee417c2013-01-31 11:23:53 -050012Optional 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
Sascha Hauer0d192082015-10-13 12:45:30 +020016- vin-supply: The supply for this regulator
Andrey Smirnovca7734a2017-01-10 08:30:14 -080017- anatop-enable-bit: Regulator enable bit offset
Anson Huang9ee417c2013-01-31 11:23:53 -050018
Ying-Chun Liu (PaulLiu)2f2cc272012-03-27 15:54:01 +080019Any property defined as part of the core regulator
20binding, defined in regulator.txt, can also be used.
21
22Example:
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>;
Anson Huang9ee417c2013-01-31 11:23:53 -050033 anatop-delay-reg-offset = <0x170>;
34 anatop-delay-bit-shift = <24>;
35 anatop-delay-bit-width = <2>;
Ying-Chun Liu (PaulLiu)2f2cc272012-03-27 15:54:01 +080036 anatop-min-bit-val = <1>;
37 anatop-min-voltage = <725000>;
38 anatop-max-voltage = <1300000>;
39 };