diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-07-17 02:04:06 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-07-17 06:08:46 -0400 |
commit | d2cfdb055d77f8d0864d75adfc1a3f0e0ec40e69 (patch) | |
tree | 0bfa3a3761644d6c08eab0814bd9a1dccc619062 /Documentation | |
parent | 8a165df7a915cb212f41c1dec9abc5ac8f8ee6b6 (diff) |
regulator: tps65910: set input_supply on desc unconditionally
Set the supply_name in the regulator descriptor unconditionally
and make this parameter as required parameter in the device
node for successfully registration of the regulator.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/mfd/tps65910.txt | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/Documentation/devicetree/bindings/mfd/tps65910.txt b/Documentation/devicetree/bindings/mfd/tps65910.txt index 31be5a3d9f76..d2802d4717bc 100644 --- a/Documentation/devicetree/bindings/mfd/tps65910.txt +++ b/Documentation/devicetree/bindings/mfd/tps65910.txt | |||
@@ -25,17 +25,12 @@ Required properties: | |||
25 | tps65911: vrtc, vio, vdd1, vdd3, vddctrl, ldo1, ldo2, ldo3, ldo4, ldo5, | 25 | tps65911: vrtc, vio, vdd1, vdd3, vddctrl, ldo1, ldo2, ldo3, ldo4, ldo5, |
26 | ldo6, ldo7, ldo8 | 26 | ldo6, ldo7, ldo8 |
27 | 27 | ||
28 | Optional properties: | ||
29 | - ti,vmbch-threshold: (tps65911) main battery charged threshold | ||
30 | comparator. (see VMBCH_VSEL in TPS65910 datasheet) | ||
31 | - ti,vmbch2-threshold: (tps65911) main battery discharged threshold | ||
32 | comparator. (see VMBCH_VSEL in TPS65910 datasheet) | ||
33 | - ti,en-gpio-sleep: enable sleep control for gpios | ||
34 | There should be 9 entries here, one for each gpio. | ||
35 | - xxx-supply: Input voltage supply regulator. | 28 | - xxx-supply: Input voltage supply regulator. |
36 | Missing of these properties will be assume as there is no supply regulator | 29 | These entries are require if regulators are enabled for a device. Missing of these |
37 | for that input pins and always powered on. | 30 | properties can cause the regulator registration fails. |
38 | The valid input supply properties are: | 31 | If some of input supply is powered through battery or always-on supply then |
32 | also it is require to have these parameters with proper node handle of always | ||
33 | on power supply. | ||
39 | tps65910: | 34 | tps65910: |
40 | vcc1-supply: VDD1 input. | 35 | vcc1-supply: VDD1 input. |
41 | vcc2-supply: VDD2 input. | 36 | vcc2-supply: VDD2 input. |
@@ -55,6 +50,16 @@ Optional properties: | |||
55 | vcc7-supply: VRTC input. | 50 | vcc7-supply: VRTC input. |
56 | vccio-supply: VIO input. | 51 | vccio-supply: VIO input. |
57 | 52 | ||
53 | Optional properties: | ||
54 | - ti,vmbch-threshold: (tps65911) main battery charged threshold | ||
55 | comparator. (see VMBCH_VSEL in TPS65910 datasheet) | ||
56 | - ti,vmbch2-threshold: (tps65911) main battery discharged threshold | ||
57 | comparator. (see VMBCH_VSEL in TPS65910 datasheet) | ||
58 | - ti,en-ck32k-xtal: enable external 32-kHz crystal oscillator (see CK32K_CTRL | ||
59 | in TPS6591X datasheet) | ||
60 | - ti,en-gpio-sleep: enable sleep control for gpios | ||
61 | There should be 9 entries here, one for each gpio. | ||
62 | |||
58 | Regulator Optional properties: | 63 | Regulator Optional properties: |
59 | - ti,regulator-ext-sleep-control: enable external sleep | 64 | - ti,regulator-ext-sleep-control: enable external sleep |
60 | control through external inputs [0 (not enabled), 1 (EN1), 2 (EN2) or 4(EN3)] | 65 | control through external inputs [0 (not enabled), 1 (EN1), 2 (EN2) or 4(EN3)] |
@@ -79,8 +84,14 @@ Example: | |||
79 | 84 | ||
80 | ti,en-gpio-sleep = <0 0 1 0 0 0 0 0 0>; | 85 | ti,en-gpio-sleep = <0 0 1 0 0 0 0 0 0>; |
81 | 86 | ||
82 | vcc7-supply = <®_parent>; | ||
83 | vcc1-supply = <®_parent>; | 87 | vcc1-supply = <®_parent>; |
88 | vcc2-supply = <&some_reg>; | ||
89 | vcc3-supply = <...>; | ||
90 | vcc4-supply = <...>; | ||
91 | vcc5-supply = <...>; | ||
92 | vcc6-supply = <...>; | ||
93 | vcc7-supply = <...>; | ||
94 | vccio-supply = <...>; | ||
84 | 95 | ||
85 | regulators { | 96 | regulators { |
86 | #address-cells = <1>; | 97 | #address-cells = <1>; |