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>
This commit is contained in:
Родитель
eebfdc17cc
Коммит
396f70be54
|
@ -12,15 +12,16 @@ Required properties:
|
||||||
...
|
...
|
||||||
- in20-supply: The input supply for LDO20.
|
- in20-supply: The input supply for LDO20.
|
||||||
- regulators: A node that houses a sub-node for each regulator within the
|
- regulators: A node that houses a sub-node for each regulator within the
|
||||||
device. Each sub-node is identified using the regulator-compatible
|
device. Each sub-node is identified using the node's name (or the deprecated
|
||||||
property, with valid values listed below. The content of each sub-node
|
regulator-compatible property if present), with valid values listed below.
|
||||||
is defined by the standard binding for regulators; see regulator.txt.
|
The content of each sub-node is defined by the standard binding for
|
||||||
|
regulators; see regulator.txt.
|
||||||
|
|
||||||
Optional properties:
|
Optional properties:
|
||||||
- maxim,system-power-controller: Boolean property indicating that the PMIC
|
- maxim,system-power-controller: Boolean property indicating that the PMIC
|
||||||
controls the overall system power.
|
controls the overall system power.
|
||||||
|
|
||||||
Valid regulator-compatible values are:
|
The valid names for regulators are:
|
||||||
|
|
||||||
sd1, sd2, sd3, ldo1, ldo2, ldo3, ldo4, ldo5, ldo6, ldo7, ldo8, ldo9, ldo10,
|
sd1, sd2, sd3, ldo1, ldo2, ldo3, ldo4, ldo5, ldo6, ldo7, ldo8, ldo9, ldo10,
|
||||||
ldo11, ldo12, ldo13, ldo14, ldo15, ldo16, ldo17, ldo18, ldo19, ldo20, out5v,
|
ldo11, ldo12, ldo13, ldo14, ldo15, ldo16, ldo17, ldo18, ldo19, ldo20, out5v,
|
||||||
|
@ -42,30 +43,21 @@ Example:
|
||||||
...
|
...
|
||||||
|
|
||||||
regulators {
|
regulators {
|
||||||
#address-cells = <1>;
|
mbatt_reg: mbatt {
|
||||||
#size-cells = <0>;
|
|
||||||
|
|
||||||
mbatt_reg: regulator@0 {
|
|
||||||
reg = <0>;
|
|
||||||
regulator-compatible = "mbatt";
|
|
||||||
regulator-name = "vbat_pmu";
|
regulator-name = "vbat_pmu";
|
||||||
regulator-min-microvolt = <5000000>;
|
regulator-min-microvolt = <5000000>;
|
||||||
regulator-max-microvolt = <5000000>;
|
regulator-max-microvolt = <5000000>;
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
regulator@1 {
|
sd1 {
|
||||||
reg = <1>;
|
|
||||||
regulator-compatible = "sd1";
|
|
||||||
regulator-name = "nvvdd_sv1,vdd_cpu_pmu";
|
regulator-name = "nvvdd_sv1,vdd_cpu_pmu";
|
||||||
regulator-min-microvolt = <1000000>;
|
regulator-min-microvolt = <1000000>;
|
||||||
regulator-max-microvolt = <1000000>;
|
regulator-max-microvolt = <1000000>;
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
regulator@2 {
|
sd2 {
|
||||||
reg = <2>;
|
|
||||||
regulator-compatible = "sd2";
|
|
||||||
regulator-name = "nvvdd_sv2,vdd_core";
|
regulator-name = "nvvdd_sv2,vdd_core";
|
||||||
regulator-min-microvolt = <1200000>;
|
regulator-min-microvolt = <1200000>;
|
||||||
regulator-max-microvolt = <1200000>;
|
regulator-max-microvolt = <1200000>;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче