Ying-Chun Liu (PaulLiu) | 2f2cc27 | 2012-03-27 15:54:01 +0800 | [diff] [blame] | 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 | |
Anson Huang | 9ee417c | 2013-01-31 11:23:53 -0500 | [diff] [blame] | 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 |
Sascha Hauer | 0d19208 | 2015-10-13 12:45:30 +0200 | [diff] [blame] | 16 | - vin-supply: The supply for this regulator |
Andrey Smirnov | ca7734a | 2017-01-10 08:30:14 -0800 | [diff] [blame] | 17 | - anatop-enable-bit: Regulator enable bit offset |
Anson Huang | 9ee417c | 2013-01-31 11:23:53 -0500 | [diff] [blame] | 18 | |
Ying-Chun Liu (PaulLiu) | 2f2cc27 | 2012-03-27 15:54:01 +0800 | [diff] [blame] | 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>; |
Anson Huang | 9ee417c | 2013-01-31 11:23:53 -0500 | [diff] [blame] | 33 | anatop-delay-reg-offset = <0x170>; |
| 34 | anatop-delay-bit-shift = <24>; |
| 35 | anatop-delay-bit-width = <2>; |
Ying-Chun Liu (PaulLiu) | 2f2cc27 | 2012-03-27 15:54:01 +0800 | [diff] [blame] | 36 | anatop-min-bit-val = <1>; |
| 37 | anatop-min-voltage = <725000>; |
| 38 | anatop-max-voltage = <1300000>; |
| 39 | }; |