mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 05:11:48 +00:00
e327b3f564
This reverts commit 8e6ebfaa9b
.
Without the patch reverted regulators will not work. This prevents
MMC to be working for example so the boards can not boot to
MMC rootfs.
Tested it on beaglebone white and bisect also points to the
reverted commit.
The issue can be also fixed by adding "regulator-compatible =" to all board
dts file for the regulators.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
79 lines
2.0 KiB
Plaintext
79 lines
2.0 KiB
Plaintext
TPS65217 family of regulators
|
|
|
|
Required properties:
|
|
- compatible: "ti,tps65217"
|
|
- reg: I2C slave address
|
|
- regulators: list of regulators provided by this controller, must be named
|
|
after their hardware counterparts: dcdc[1-3] and ldo[1-4]
|
|
- regulators: This is the list of child nodes that specify the regulator
|
|
initialization data for defined regulators. Not all regulators for the given
|
|
device need to be present. The definition for each of these nodes is defined
|
|
using the standard binding for regulators found at
|
|
Documentation/devicetree/bindings/regulator/regulator.txt.
|
|
|
|
Optional properties:
|
|
- ti,pmic-shutdown-controller: Telling the PMIC to shutdown on PWR_EN toggle.
|
|
|
|
The valid names for regulators are:
|
|
tps65217: dcdc1, dcdc2, dcdc3, ldo1, ldo2, ldo3 and ldo4
|
|
|
|
Each regulator is defined using the standard binding for regulators.
|
|
|
|
Example:
|
|
|
|
tps: tps@24 {
|
|
compatible = "ti,tps65217";
|
|
ti,pmic-shutdown-controller;
|
|
|
|
regulators {
|
|
dcdc1_reg: dcdc1 {
|
|
regulator-min-microvolt = <900000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
dcdc2_reg: dcdc2 {
|
|
regulator-min-microvolt = <900000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
dcdc3_reg: dcc3 {
|
|
regulator-min-microvolt = <900000>;
|
|
regulator-max-microvolt = <1500000>;
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
ldo1_reg: ldo1 {
|
|
regulator-min-microvolt = <1000000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
ldo2_reg: ldo2 {
|
|
regulator-min-microvolt = <900000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
ldo3_reg: ldo3 {
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
ldo4_reg: ldo4 {
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
};
|
|
};
|