ARM: tegra: apalis: Fix HDMI power supplies
Fix HDMI supplies (both regular VDD as well as PLL ones) being switched by the TPS65911 PMIC's GPIO6 aka EN_VDD_HDMI by introducing two new GPIO switched fixed regulators avdd_hdmi_pll_1v8_reg and avdd_hdmi_3v3_reg. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
a5e27206b3
commit
654b7d6aec
1 changed files with 27 additions and 5 deletions
|
@ -34,8 +34,8 @@
|
||||||
|
|
||||||
host1x@50000000 {
|
host1x@50000000 {
|
||||||
hdmi@54280000 {
|
hdmi@54280000 {
|
||||||
vdd-supply = <&sys_3v3_reg>;
|
vdd-supply = <&avdd_hdmi_3v3_reg>;
|
||||||
pll-supply = <&vio_reg>;
|
pll-supply = <&avdd_hdmi_pll_1v8_reg>;
|
||||||
|
|
||||||
nvidia,hpd-gpio =
|
nvidia,hpd-gpio =
|
||||||
<&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
|
<&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
|
||||||
|
@ -667,18 +667,40 @@
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
|
|
||||||
sys_3v3_reg: regulator@100 {
|
avdd_hdmi_pll_1v8_reg: regulator@100 {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
reg = <100>;
|
reg = <100>;
|
||||||
|
regulator-name = "+V1.8_AVDD_HDMI_PLL";
|
||||||
|
regulator-min-microvolt = <1800000>;
|
||||||
|
regulator-max-microvolt = <1800000>;
|
||||||
|
enable-active-high;
|
||||||
|
gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
|
||||||
|
vin-supply = <&vio_reg>;
|
||||||
|
};
|
||||||
|
|
||||||
|
sys_3v3_reg: regulator@101 {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
reg = <101>;
|
||||||
regulator-name = "3v3";
|
regulator-name = "3v3";
|
||||||
regulator-min-microvolt = <3300000>;
|
regulator-min-microvolt = <3300000>;
|
||||||
regulator-max-microvolt = <3300000>;
|
regulator-max-microvolt = <3300000>;
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
charge_pump_5v0_reg: regulator@101 {
|
avdd_hdmi_3v3_reg: regulator@102 {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
reg = <101>;
|
reg = <102>;
|
||||||
|
regulator-name = "+V3.3_AVDD_HDMI";
|
||||||
|
regulator-min-microvolt = <3300000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
enable-active-high;
|
||||||
|
gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
|
||||||
|
vin-supply = <&sys_3v3_reg>;
|
||||||
|
};
|
||||||
|
|
||||||
|
charge_pump_5v0_reg: regulator@103 {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
reg = <103>;
|
||||||
regulator-name = "5v0";
|
regulator-name = "5v0";
|
||||||
regulator-min-microvolt = <5000000>;
|
regulator-min-microvolt = <5000000>;
|
||||||
regulator-max-microvolt = <5000000>;
|
regulator-max-microvolt = <5000000>;
|
||||||
|
|
Loading…
Add table
Reference in a new issue