aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-09-24 15:25:02 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-09-25 08:45:42 -0400
commit3006b8d665c9b44a7838d0830d9dbe5f6df2be69 (patch)
treeb7ddca63094b606428cba0e2dcd0e2c6bb21ca31
parent9394b80c35760d13492a3a895add2891bc64bf86 (diff)
regulator: tps6586x: remove regulator-compatible from DT docs
Commit "regulator: deprecate regulator-compatible DT property" deprecated the use of the regulator-compatible DT property. Update the DT example in the TPS6586x binding documentation to reflect this. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--Documentation/devicetree/bindings/regulator/tps6586x.txt66
1 files changed, 19 insertions, 47 deletions
diff --git a/Documentation/devicetree/bindings/regulator/tps6586x.txt b/Documentation/devicetree/bindings/regulator/tps6586x.txt
index a2436e1edfc1..07b9ef6e49d5 100644
--- a/Documentation/devicetree/bindings/regulator/tps6586x.txt
+++ b/Documentation/devicetree/bindings/regulator/tps6586x.txt
@@ -6,8 +6,11 @@ Required properties:
6- interrupts: the interrupt outputs of the controller 6- interrupts: the interrupt outputs of the controller
7- #gpio-cells: number of cells to describe a GPIO 7- #gpio-cells: number of cells to describe a GPIO
8- gpio-controller: mark the device as a GPIO controller 8- gpio-controller: mark the device as a GPIO controller
9- regulators: list of regulators provided by this controller, must have 9- regulators: A node that houses a sub-node for each regulator within the
10 property "regulator-compatible" to match their hardware counterparts: 10 device. Each sub-node is identified using the node's name (or the deprecated
11 regulator-compatible property if present), with valid values listed below.
12 The content of each sub-node is defined by the standard binding for
13 regulators; see regulator.txt.
11 sys, sm[0-2], ldo[0-9] and ldo_rtc 14 sys, sm[0-2], ldo[0-9] and ldo_rtc
12- sys-supply: The input supply for SYS. 15- sys-supply: The input supply for SYS.
13- vin-sm0-supply: The input supply for the SM0. 16- vin-sm0-supply: The input supply for the SM0.
@@ -45,111 +48,80 @@ Example:
45 vinldo9-supply = <...>; 48 vinldo9-supply = <...>;
46 49
47 regulators { 50 regulators {
48 #address-cells = <1>; 51 sys_reg: sys {
49 #size-cells = <0>;
50
51 sys_reg: regulator@0 {
52 reg = <0>;
53 regulator-compatible = "sys";
54 regulator-name = "vdd_sys"; 52 regulator-name = "vdd_sys";
55 regulator-boot-on; 53 regulator-boot-on;
56 regulator-always-on; 54 regulator-always-on;
57 }; 55 };
58 56
59 sm0_reg: regulator@1 { 57 sm0_reg: sm0 {
60 reg = <1>;
61 regulator-compatible = "sm0";
62 regulator-min-microvolt = < 725000>; 58 regulator-min-microvolt = < 725000>;
63 regulator-max-microvolt = <1500000>; 59 regulator-max-microvolt = <1500000>;
64 regulator-boot-on; 60 regulator-boot-on;
65 regulator-always-on; 61 regulator-always-on;
66 }; 62 };
67 63
68 sm1_reg: regulator@2 { 64 sm1_reg: sm1 {
69 reg = <2>;
70 regulator-compatible = "sm1";
71 regulator-min-microvolt = < 725000>; 65 regulator-min-microvolt = < 725000>;
72 regulator-max-microvolt = <1500000>; 66 regulator-max-microvolt = <1500000>;
73 regulator-boot-on; 67 regulator-boot-on;
74 regulator-always-on; 68 regulator-always-on;
75 }; 69 };
76 70
77 sm2_reg: regulator@3 { 71 sm2_reg: sm2 {
78 reg = <3>;
79 regulator-compatible = "sm2";
80 regulator-min-microvolt = <3000000>; 72 regulator-min-microvolt = <3000000>;
81 regulator-max-microvolt = <4550000>; 73 regulator-max-microvolt = <4550000>;
82 regulator-boot-on; 74 regulator-boot-on;
83 regulator-always-on; 75 regulator-always-on;
84 }; 76 };
85 77
86 ldo0_reg: regulator@4 { 78 ldo0_reg: ldo0 {
87 reg = <4>;
88 regulator-compatible = "ldo0";
89 regulator-name = "PCIE CLK"; 79 regulator-name = "PCIE CLK";
90 regulator-min-microvolt = <3300000>; 80 regulator-min-microvolt = <3300000>;
91 regulator-max-microvolt = <3300000>; 81 regulator-max-microvolt = <3300000>;
92 }; 82 };
93 83
94 ldo1_reg: regulator@5 { 84 ldo1_reg: ldo1 {
95 reg = <5>;
96 regulator-compatible = "ldo1";
97 regulator-min-microvolt = < 725000>; 85 regulator-min-microvolt = < 725000>;
98 regulator-max-microvolt = <1500000>; 86 regulator-max-microvolt = <1500000>;
99 }; 87 };
100 88
101 ldo2_reg: regulator@6 { 89 ldo2_reg: ldo2 {
102 reg = <6>;
103 regulator-compatible = "ldo2";
104 regulator-min-microvolt = < 725000>; 90 regulator-min-microvolt = < 725000>;
105 regulator-max-microvolt = <1500000>; 91 regulator-max-microvolt = <1500000>;
106 }; 92 };
107 93
108 ldo3_reg: regulator@7 { 94 ldo3_reg: ldo3 {
109 reg = <7>;
110 regulator-compatible = "ldo3";
111 regulator-min-microvolt = <1250000>; 95 regulator-min-microvolt = <1250000>;
112 regulator-max-microvolt = <3300000>; 96 regulator-max-microvolt = <3300000>;
113 }; 97 };
114 98
115 ldo4_reg: regulator@8 { 99 ldo4_reg: ldo4 {
116 reg = <8>;
117 regulator-compatible = "ldo4";
118 regulator-min-microvolt = <1700000>; 100 regulator-min-microvolt = <1700000>;
119 regulator-max-microvolt = <2475000>; 101 regulator-max-microvolt = <2475000>;
120 }; 102 };
121 103
122 ldo5_reg: regulator@9 { 104 ldo5_reg: ldo5 {
123 reg = <9>;
124 regulator-compatible = "ldo5";
125 regulator-min-microvolt = <1250000>; 105 regulator-min-microvolt = <1250000>;
126 regulator-max-microvolt = <3300000>; 106 regulator-max-microvolt = <3300000>;
127 }; 107 };
128 108
129 ldo6_reg: regulator@10 { 109 ldo6_reg: ldo6 {
130 reg = <10>;
131 regulator-compatible = "ldo6";
132 regulator-min-microvolt = <1250000>; 110 regulator-min-microvolt = <1250000>;
133 regulator-max-microvolt = <3300000>; 111 regulator-max-microvolt = <3300000>;
134 }; 112 };
135 113
136 ldo7_reg: regulator@11 { 114 ldo7_reg: ldo7 {
137 reg = <11>;
138 regulator-compatible = "ldo7";
139 regulator-min-microvolt = <1250000>; 115 regulator-min-microvolt = <1250000>;
140 regulator-max-microvolt = <3300000>; 116 regulator-max-microvolt = <3300000>;
141 }; 117 };
142 118
143 ldo8_reg: regulator@12 { 119 ldo8_reg: ldo8 {
144 reg = <12>;
145 regulator-compatible = "ldo8";
146 regulator-min-microvolt = <1250000>; 120 regulator-min-microvolt = <1250000>;
147 regulator-max-microvolt = <3300000>; 121 regulator-max-microvolt = <3300000>;
148 }; 122 };
149 123
150 ldo9_reg: regulator@13 { 124 ldo9_reg: ldo9 {
151 reg = <13>;
152 regulator-compatible = "ldo9";
153 regulator-min-microvolt = <1250000>; 125 regulator-min-microvolt = <1250000>;
154 regulator-max-microvolt = <3300000>; 126 regulator-max-microvolt = <3300000>;
155 }; 127 };