Ying-Chun Liu (PaulLiu) | 595e047 | 2021-03-27 21:46:52 +0800 | [diff] [blame] | 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 |
Wolfgang Denk | 62fb2b4 | 2021-09-27 17:42:39 +0200 | [diff] [blame] | 11 | register. |
Ying-Chun Liu (PaulLiu) | 595e047 | 2021-03-27 21:46:52 +0800 | [diff] [blame] | 12 | - anatop-min-bit-val: u32 value representing the minimum value of this |
Wolfgang Denk | 62fb2b4 | 2021-09-27 17:42:39 +0200 | [diff] [blame] | 13 | register. |
Ying-Chun Liu (PaulLiu) | 595e047 | 2021-03-27 21:46:52 +0800 | [diff] [blame] | 14 | - anatop-min-voltage: u32 value representing the minimum voltage of this |
Wolfgang Denk | 62fb2b4 | 2021-09-27 17:42:39 +0200 | [diff] [blame] | 15 | regulator. |
Ying-Chun Liu (PaulLiu) | 595e047 | 2021-03-27 21:46:52 +0800 | [diff] [blame] | 16 | - anatop-max-voltage: u32 value representing the maximum voltage of this |
Wolfgang Denk | 62fb2b4 | 2021-09-27 17:42:39 +0200 | [diff] [blame] | 17 | regulator. |
Ying-Chun Liu (PaulLiu) | 595e047 | 2021-03-27 21:46:52 +0800 | [diff] [blame] | 18 | |
| 19 | Optional properties: |
| 20 | - anatop-delay-reg-offset: u32 value representing the anatop MFD step time |
Wolfgang Denk | 62fb2b4 | 2021-09-27 17:42:39 +0200 | [diff] [blame] | 21 | register offset. |
Ying-Chun Liu (PaulLiu) | 595e047 | 2021-03-27 21:46:52 +0800 | [diff] [blame] | 22 | - anatop-delay-bit-shift: u32 value representing the bit shift for the step |
Wolfgang Denk | 62fb2b4 | 2021-09-27 17:42:39 +0200 | [diff] [blame] | 23 | time register. |
Ying-Chun Liu (PaulLiu) | 595e047 | 2021-03-27 21:46:52 +0800 | [diff] [blame] | 24 | - anatop-delay-bit-width: u32 value representing the number of bits used in |
Wolfgang Denk | 62fb2b4 | 2021-09-27 17:42:39 +0200 | [diff] [blame] | 25 | the step time register. |
Ying-Chun Liu (PaulLiu) | 595e047 | 2021-03-27 21:46:52 +0800 | [diff] [blame] | 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 | }; |