Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1215419

[PATCH 02/11] arm: tegra: colibri_t30: fix hdmi supply

From Marcel Ziswiler <marcel.ziswiler@toradex.com>
Newsgroups linux.kernel
Subject [PATCH 02/11] arm: tegra: colibri_t30: fix hdmi supply
Date 2015-08-28 18:10 +0200
Message-ID <q2uo1-8ca-13@gated-at.bofh.it> (permalink)
References <q2uo1-8ca-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---

 arch/arm/boot/dts/tegra30-colibri.dtsi | 32 +++++++++++++++++++++++++++-----
 1 file changed, 27 insertions(+), 5 deletions(-)

diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boot/dts/tegra30-colibri.dtsi
index 83ba3f2..5e6a47e 100644
--- a/arch/arm/boot/dts/tegra30-colibri.dtsi
+++ b/arch/arm/boot/dts/tegra30-colibri.dtsi
@@ -15,8 +15,8 @@
 
 	host1x@50000000 {
 		hdmi@54280000 {
-			vdd-supply = <&sys_3v3_reg>;
-			pll-supply = <&vio_reg>;
+			vdd-supply = <&avdd_hdmi_3v3_reg>;
+			pll-supply = <&avdd_hdmi_pll_1v8_reg>;
 
 			nvidia,hpd-gpio =
 				<&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
@@ -365,18 +365,40 @@
 		#address-cells = <1>;
 		#size-cells = <0>;
 
-		sys_3v3_reg: regulator@100 {
+		avdd_hdmi_pll_1v8_reg: regulator@100 {
 			compatible = "regulator-fixed";
 			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-min-microvolt = <3300000>;
 			regulator-max-microvolt = <3300000>;
 			regulator-always-on;
 		};
 
-		charge_pump_5v0_reg: regulator@101 {
+		avdd_hdmi_3v3_reg: regulator@102 {
 			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-min-microvolt = <5000000>;
 			regulator-max-microvolt = <5000000>;
-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/11] arm: tegra: colibri_t30: fix hdmi, power i2c, wakeup and activate touch Marcel Ziswiler <marcel.ziswiler@toradex.com> - 2015-08-28 18:10 +0200
  [PATCH 09/11] arm: tegra: colibri_t30: fix vendor string of m41t0m6 rtc on eval board Marcel Ziswiler <marcel.ziswiler@toradex.com> - 2015-08-28 18:10 +0200
  [PATCH 03/11] arm: tegra: colibri_t30: improve comment about thermal alert pin Marcel Ziswiler <marcel.ziswiler@toradex.com> - 2015-08-28 18:10 +0200
  [PATCH 02/11] arm: tegra: colibri_t30: fix hdmi supply Marcel Ziswiler <marcel.ziswiler@toradex.com> - 2015-08-28 18:10 +0200
  [PATCH 01/11] arm: tegra: colibri_t30: update hardware revisions compatible comment Marcel Ziswiler <marcel.ziswiler@toradex.com> - 2015-08-28 18:10 +0200
  [PATCH 07/11] arm: tegra: colibri_t30: activate stmpe811 touch controller Marcel Ziswiler <marcel.ziswiler@toradex.com> - 2015-08-28 18:10 +0200
  [PATCH 11/11] arm: tegra: colibri_t30: fix power/wakeup key for eval board Marcel Ziswiler <marcel.ziswiler@toradex.com> - 2015-08-28 18:10 +0200
  [PATCH 08/11] arm: tegra: colibri_t30: replace emmc label by comment Marcel Ziswiler <marcel.ziswiler@toradex.com> - 2015-08-28 18:10 +0200
  [PATCH 10/11] arm: tegra: colibri_t30: add comment concerning sd/mmc for eval board Marcel Ziswiler <marcel.ziswiler@toradex.com> - 2015-08-28 18:10 +0200
  [PATCH 06/11] arm: tegra: colibri_t30: add touch pen interrupt pin muxing Marcel Ziswiler <marcel.ziswiler@toradex.com> - 2015-08-28 18:10 +0200
  [PATCH 04/11] arm: tegra: colibri_t30: add pin muxing for on-module power i2c Marcel Ziswiler <marcel.ziswiler@toradex.com> - 2015-08-28 18:10 +0200

csiph-web