Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752199AbbH1MnI (ORCPT ); Fri, 28 Aug 2015 08:43:08 -0400 Received: from mout.perfora.net ([74.208.4.197]:56130 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752036AbbH1MnF (ORCPT ); Fri, 28 Aug 2015 08:43:05 -0400 From: Marcel Ziswiler To: linux-tegra@vger.kernel.org Cc: Marcel Ziswiler , Russell King , Thierry Reding , devicetree@vger.kernel.org, Kumar Gala , Stephen Warren , linux-kernel@vger.kernel.org, Ian Campbell , Rob Herring , Pawel Moll , Mark Rutland , Alexandre Courbot , linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/9] arm: tegra: apalis_t30: fix hdmi supply Date: Fri, 28 Aug 2015 14:42:29 +0200 Message-Id: <1440765756-1382-3-git-send-email-marcel.ziswiler@toradex.com> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1440765756-1382-1-git-send-email-marcel.ziswiler@toradex.com> References: <1440765756-1382-1-git-send-email-marcel.ziswiler@toradex.com> X-Provags-ID: V03:K0:nX3fo7uqAnsm89LY7wObtw0ztNyyB+P+vEKtYTlgd/BuP3QnsZ4 y7N3RYsDSRKDyELsvM7Nk2HjtZ03BLTegZEj5B7Ai/IVlBFak2d8R9ijQPpRUNhJqXMyJgz sN5JQTSNWWz5tpEeEl4qLe1NBAIS0qBp+aipYDi9PYmiV7jDmOWwaEXU1zbjCQd9+ymUGdp Z26kcFIXLkzTIoCjj8/vA== X-UI-Out-Filterresults: notjunk:1;V01:K0:wjNbPhDa2EI=:dS9O1Gx46Lw3rVVQ2K/N5m TSQOp9HOTk0LqFPBFGhrlaIJNW8+aTLajvtP5uTv4h3KvHpPrutmmznvPNs//Et2whLVagWuF PLck3DcQpBfMIMtPgO9G293F7whY09Y7brkEBQ5DkYpXR2L1n32r7nxVoG/45wVJ4mr6w3UVd 9kpzGiwAZgTMX12qi+CRJEL8DK6Gz8i6yM80GA/6vbx+Xmt8Srji+yDFl+exECOzbGVNM9KgK UEy5x4E5aeJCJXhKEiAgqM37XiTEBibLVwwmWbtgWjkTmqlGrheQetxw5segyKB4t4f6X2YNJ 9v8Cw+6yQpv+fUcrSXHbcFUDEv/GSy/mJSi3auslHLcFfTAT5GmPtQtrvXGvaYnkEzwdXEjO7 0gEfwTVZAFeQf4B8dbrlyfC/RhcihL3ZP/rzrPICLS0Mv7xnTZQirsXBZu6FFxhlbNXc1ztAX 2ze7ee1GzDD2MvXbAtiTjve3Yp5HEAAXMU3lBBwlEGM5xdMWl4zDeeig/KP9HcoqTN/VJoxi4 mjCxKSfHZ+yWedoxCAVbjmYB0vEfGqx6s5LJixMtsvJfy+ttC7GLYIl8mduP/OyRpbrfcYsue 1SMOa2eeSDk6Ebn67HF2KVBY4DLISCCYaTbhxvrs2XB/14ruzT7UxkgMa9kBS4/XjwNdTtUrU sdYoPesfv2HUxQ+UTgMK7Iv1HD5692tauXKLR/lOWuGl1PNi/Vc/Y3FdhJUpNMrtPaw0= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2380 Lines: 78 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 --- arch/arm/boot/dts/tegra30-apalis.dtsi | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/tegra30-apalis.dtsi b/arch/arm/boot/dts/tegra30-apalis.dtsi index 3bff4d7..fd6c94e 100644 --- a/arch/arm/boot/dts/tegra30-apalis.dtsi +++ b/arch/arm/boot/dts/tegra30-apalis.dtsi @@ -34,8 +34,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>; @@ -667,18 +667,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/