Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752959AbbH1QAv (ORCPT ); Fri, 28 Aug 2015 12:00:51 -0400 Received: from mout.perfora.net ([74.208.4.196]:64567 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752873AbbH1QAp (ORCPT ); Fri, 28 Aug 2015 12:00:45 -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 02/11] arm: tegra: colibri_t30: fix hdmi supply Date: Fri, 28 Aug 2015 17:59:37 +0200 Message-Id: <1440777586-19545-3-git-send-email-marcel.ziswiler@toradex.com> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1440777586-19545-1-git-send-email-marcel.ziswiler@toradex.com> References: <1440777586-19545-1-git-send-email-marcel.ziswiler@toradex.com> X-Provags-ID: V03:K0:bLXYhu5mX6EPfVV+JmGTRsrFqx4HUg1YHa21SPGJecOPiGlrl9X ZTPTyUhKtq+eXzUuJI8ki+Z3dJSrdhAzIz4TC19JeTM4qQHztxui8D/kYZOcSUFJxjeQVKh mJKUCWdaFYQv/qFo+cApjhydpdWuZgt2IVVCamoVG8wVZZxNNPHlGvPkjw9hfzkNIcfPhC0 VeVUCC++2GEKIMrEDjJWA== X-UI-Out-Filterresults: notjunk:1;V01:K0:RBkIrf6qi/8=:tKu+hokqMhz0Cv3BdG6hVd pln1kTLhd+SCk0u0TveJtDVUV0v5a9Rl+/z35A2bj1Y86zr82qTT6xgSji1pwrGb5gkA3b2Tj 0cagLwtfj70L9BJgCl+ZQM+mfYXuNUpXlQFSr7aDUbvCVdDTspSXThfHB1l8U2p6G8L8pnfNY pqvktiAFE34NEuyhze8S20CDBmigWjf/Ed5+rKOOeRC3ipu0FLcWy21E7cYE6uwztk4cBICYF zpq092blU1vLpvcVM2CoDc+OKqoJCJFDSAdSt7QSw6OQe3bLJolSDlYgL8sRuCnPS8zpFji/y 7LWxrVJ5MGILKvGjZ7FKCt1155w//5OzBP6xlfj3Zj4bUrWMexb44IUGGrixTjzGzkxHQ70xB ul5L7V/jUKHZNniaIVVXLbNt7Ajv0/gPvU8yZUo1QgS4LSg9otbeluuWSZlXbwyWf/rjraRni w4OCSl9lJHb3swRgC/PvwDKbLv955NGJHQPCSJmkdXYFbYwtnSnM9+KsPzrry6WYVLsIRtjqk Y2ZnbkCFjilAkR6khOPcuwLkOolg2ltFWFsNGPtM6onlrgXtIkgQ8BGEmfuNwKv4CoTSQgDtf FaI7CSS9gTlIaOTzU7UyFCrVXu5SywfGeC6KOXlvmSy67MoqHGFt7wdpKXunFs+z0TrrmB2kp F5MPPIwG064qxlmh1x5/OER511+CHJ7zwAciflzrdlI24oc125HYwa1vvK3BkZ20QdhM= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2385 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-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/