提交 caa9eac5 编写于 作者: M Marcel Ziswiler 提交者: Olof Johansson

ARM: tegra: apalis/colibri t30: fix on-module 5v0 supplies

Working on Gigabit/PCIe support in U-Boot for Apalis T30 I realised
that the current device tree source includes for our modules only
happen to work due to referencing the on-carrier 5v0 supply from USB
which is not at all available on-module. The modules actually contain
TPS60150 charge pumps to generate the PMIC required 5 volts from the
one and only 3.3 volt module supply. This patch fixes this.

(Note: When back-porting this to v3.16 stable releases, simply drop the
change to tegra30-apalis.dtsi; that file was added in v3.17)

Cc: <stable@vger.kernel.org> #v3.16+
Signed-off-by: NMarcel Ziswiler <marcel@ziswiler.com>
Signed-off-by: NStephen Warren <swarren@nvidia.com>
Signed-off-by: NOlof Johansson <olof@lixom.net>
上级 9d0b1f34
...@@ -423,7 +423,7 @@ ...@@ -423,7 +423,7 @@
vcc4-supply = <&sys_3v3_reg>; vcc4-supply = <&sys_3v3_reg>;
vcc5-supply = <&sys_3v3_reg>; vcc5-supply = <&sys_3v3_reg>;
vcc6-supply = <&vio_reg>; vcc6-supply = <&vio_reg>;
vcc7-supply = <&sys_5v0_reg>; vcc7-supply = <&charge_pump_5v0_reg>;
vccio-supply = <&sys_3v3_reg>; vccio-supply = <&sys_3v3_reg>;
regulators { regulators {
...@@ -674,5 +674,14 @@ ...@@ -674,5 +674,14 @@
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-always-on; regulator-always-on;
}; };
charge_pump_5v0_reg: regulator@101 {
compatible = "regulator-fixed";
reg = <101>;
regulator-name = "5v0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
}; };
}; };
...@@ -201,7 +201,7 @@ ...@@ -201,7 +201,7 @@
vcc4-supply = <&sys_3v3_reg>; vcc4-supply = <&sys_3v3_reg>;
vcc5-supply = <&sys_3v3_reg>; vcc5-supply = <&sys_3v3_reg>;
vcc6-supply = <&vio_reg>; vcc6-supply = <&vio_reg>;
vcc7-supply = <&sys_5v0_reg>; vcc7-supply = <&charge_pump_5v0_reg>;
vccio-supply = <&sys_3v3_reg>; vccio-supply = <&sys_3v3_reg>;
regulators { regulators {
...@@ -373,5 +373,14 @@ ...@@ -373,5 +373,14 @@
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-always-on; regulator-always-on;
}; };
charge_pump_5v0_reg: regulator@101 {
compatible = "regulator-fixed";
reg = <101>;
regulator-name = "5v0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
}; };
}; };
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册