Rajendra Nayak | cef4910 | 2011-11-18 16:47:18 +0530 | [diff] [blame] | 1 | Fixed Voltage regulators |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: Must be "regulator-fixed"; |
| 5 | |
| 6 | Optional properties: |
| 7 | - gpio: gpio to use for enable control |
| 8 | - startup-delay-us: startup time in microseconds |
| 9 | - enable-active-high: Polarity of GPIO is Active high |
| 10 | If this property is missing, the default assumed is Active low. |
Laxman Dewangan | 9a50dba | 2012-05-07 15:58:19 +0530 | [diff] [blame^] | 11 | - gpio-open-drain: GPIO is open drain type. |
| 12 | If this property is missing then default assumption is false. |
Rajendra Nayak | cef4910 | 2011-11-18 16:47:18 +0530 | [diff] [blame] | 13 | |
| 14 | Any property defined as part of the core regulator |
| 15 | binding, defined in regulator.txt, can also be used. |
| 16 | However a fixed voltage regulator is expected to have the |
| 17 | regulator-min-microvolt and regulator-max-microvolt |
| 18 | to be the same. |
| 19 | |
| 20 | Example: |
| 21 | |
| 22 | abc: fixedregulator@0 { |
| 23 | compatible = "regulator-fixed"; |
| 24 | regulator-name = "fixed-supply"; |
| 25 | regulator-min-microvolt = <1800000>; |
| 26 | regulator-max-microvolt = <1800000>; |
| 27 | gpio = <&gpio1 16 0>; |
| 28 | startup-delay-us = <70000>; |
| 29 | enable-active-high; |
Laxman Dewangan | 9a50dba | 2012-05-07 15:58:19 +0530 | [diff] [blame^] | 30 | regulator-boot-on; |
| 31 | gpio-open-drain; |
Rajendra Nayak | cef4910 | 2011-11-18 16:47:18 +0530 | [diff] [blame] | 32 | }; |