aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-09-24 15:25:03 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2012-09-25 09:21:34 -0400
commit396f70be54f026a6601012a73db87dc75c6d8f1d (patch)
tree47ede5fd1cb88cc4d9be3eb65087899f4b86f11f
parenteebfdc17cc6c9f184a713d84b84e7602236360c6 (diff)
mfd: max8907: 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 MAX8907 binding documentation to reflect this. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r--Documentation/devicetree/bindings/regulator/max8907.txt24
1 files changed, 8 insertions, 16 deletions
diff --git a/Documentation/devicetree/bindings/regulator/max8907.txt b/Documentation/devicetree/bindings/regulator/max8907.txt
index 51e683b2bf47..371eccd1cd68 100644
--- a/Documentation/devicetree/bindings/regulator/max8907.txt
+++ b/Documentation/devicetree/bindings/regulator/max8907.txt
@@ -12,15 +12,16 @@ Required properties:
12... 12...
13- in20-supply: The input supply for LDO20. 13- in20-supply: The input supply for LDO20.
14- regulators: A node that houses a sub-node for each regulator within the 14- regulators: A node that houses a sub-node for each regulator within the
15 device. Each sub-node is identified using the regulator-compatible 15 device. Each sub-node is identified using the node's name (or the deprecated
16 property, with valid values listed below. The content of each sub-node 16 regulator-compatible property if present), with valid values listed below.
17 is defined by the standard binding for regulators; see regulator.txt. 17 The content of each sub-node is defined by the standard binding for
18 regulators; see regulator.txt.
18 19
19Optional properties: 20Optional properties:
20- maxim,system-power-controller: Boolean property indicating that the PMIC 21- maxim,system-power-controller: Boolean property indicating that the PMIC
21 controls the overall system power. 22 controls the overall system power.
22 23
23Valid regulator-compatible values are: 24The valid names for regulators are:
24 25
25 sd1, sd2, sd3, ldo1, ldo2, ldo3, ldo4, ldo5, ldo6, ldo7, ldo8, ldo9, ldo10, 26 sd1, sd2, sd3, ldo1, ldo2, ldo3, ldo4, ldo5, ldo6, ldo7, ldo8, ldo9, ldo10,
26 ldo11, ldo12, ldo13, ldo14, ldo15, ldo16, ldo17, ldo18, ldo19, ldo20, out5v, 27 ldo11, ldo12, ldo13, ldo14, ldo15, ldo16, ldo17, ldo18, ldo19, ldo20, out5v,
@@ -42,30 +43,21 @@ Example:
42 ... 43 ...
43 44
44 regulators { 45 regulators {
45 #address-cells = <1>; 46 mbatt_reg: mbatt {
46 #size-cells = <0>;
47
48 mbatt_reg: regulator@0 {
49 reg = <0>;
50 regulator-compatible = "mbatt";
51 regulator-name = "vbat_pmu"; 47 regulator-name = "vbat_pmu";
52 regulator-min-microvolt = <5000000>; 48 regulator-min-microvolt = <5000000>;
53 regulator-max-microvolt = <5000000>; 49 regulator-max-microvolt = <5000000>;
54 regulator-always-on; 50 regulator-always-on;
55 }; 51 };
56 52
57 regulator@1 { 53 sd1 {
58 reg = <1>;
59 regulator-compatible = "sd1";
60 regulator-name = "nvvdd_sv1,vdd_cpu_pmu"; 54 regulator-name = "nvvdd_sv1,vdd_cpu_pmu";
61 regulator-min-microvolt = <1000000>; 55 regulator-min-microvolt = <1000000>;
62 regulator-max-microvolt = <1000000>; 56 regulator-max-microvolt = <1000000>;
63 regulator-always-on; 57 regulator-always-on;
64 }; 58 };
65 59
66 regulator@2 { 60 sd2 {
67 reg = <2>;
68 regulator-compatible = "sd2";
69 regulator-name = "nvvdd_sv2,vdd_core"; 61 regulator-name = "nvvdd_sv2,vdd_core";
70 regulator-min-microvolt = <1200000>; 62 regulator-min-microvolt = <1200000>;
71 regulator-max-microvolt = <1200000>; 63 regulator-max-microvolt = <1200000>;