From patchwork Fri Apr 25 15:44:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 4064191 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 128BDBFF02 for ; Fri, 25 Apr 2014 15:49:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 371442037E for ; Fri, 25 Apr 2014 15:49:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 739452037A for ; Fri, 25 Apr 2014 15:49:50 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WdiM3-0006c1-Mj; Fri, 25 Apr 2014 15:47:59 +0000 Received: from mail-ee0-x232.google.com ([2a00:1450:4013:c00::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WdiKv-0005ju-Jx for linux-arm-kernel@lists.infradead.org; Fri, 25 Apr 2014 15:46:50 +0000 Received: by mail-ee0-f50.google.com with SMTP id c13so2911152eek.23 for ; Fri, 25 Apr 2014 08:46:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=JbiAtY+ZtZoEAEoA5R/EMW5xNRgt637OaW6M61UPmgA=; b=Z037MsUwXw96XVsuVVj2O77VE8CBuhQd6VZCsxBuXP7qZOn78TwVEfQFVHpYAnmeAG wnz5Cgxr34hhaHubtfs6rtRHgNjRmcI/hTbV7buFpE5FbgOUHPvuKrDxRx2NsoLX6q5T vAr6GUWwX2VE9LlBM5+J/djJ9KhU8hCbv39xCR5mmIa//gyS+qqIXQn+clgZTI0+mjmM vtYFQFCrwy7CFRn7kBjlQ0XJ33dIuoJH1TzwwBBcwPJCq/kRbLRGd01o0CtC/ZKhI+c/ R+rsgqFamAGXoprpFE5jlRV0mhFHpSFHEZhxi0D4EfcAatbx0/ZWamIaWj44QPsQDVOm Ujyg== X-Received: by 10.14.109.201 with SMTP id s49mr1540028eeg.88.1398440787189; Fri, 25 Apr 2014 08:46:27 -0700 (PDT) Received: from localhost (port-986.pppoe.wtnet.de. [84.46.3.221]) by mx.google.com with ESMTPSA id w46sm25761913eeo.35.2014.04.25.08.46.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Apr 2014 08:46:26 -0700 (PDT) From: Thierry Reding To: Stephen Warren Subject: [PATCH 6/7] ARM: tegra: dalmore - Add +5V HDMI supply Date: Fri, 25 Apr 2014 17:44:50 +0200 Message-Id: <1398440691-23366-7-git-send-email-thierry.reding@gmail.com> X-Mailer: git-send-email 1.9.2 In-Reply-To: <1398440691-23366-1-git-send-email-thierry.reding@gmail.com> References: <1398440691-23366-1-git-send-email-thierry.reding@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140425_084649_962828_D379726D X-CRM114-Status: GOOD ( 11.38 ) X-Spam-Score: -0.1 (/) Cc: linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Thierry Reding This supply controls the +5V pin on the HDMI connector, which in turn is used by attached sinks to return the hotplug detect signal. Signed-off-by: Thierry Reding --- Note: Unfortunately I do have an A05 Dalmore, and from what I can tell HDMI is actually one of the areas where there have been changes between A04 and A05. It'd be great if somebody could check that this actually works. Also note that it requires Tegra DRM patches that are currently in linux-next to enable the +5V regulator. arch/arm/boot/dts/tegra114-dalmore.dts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts index df22dfad7db7..1309c75c821c 100644 --- a/arch/arm/boot/dts/tegra114-dalmore.dts +++ b/arch/arm/boot/dts/tegra114-dalmore.dts @@ -25,6 +25,7 @@ hdmi@54280000 { status = "okay"; + hdmi-supply = <&vdd_5v0_hdmi>; vdd-supply = <&vdd_hdmi_reg>; pll-supply = <&palmas_smps3_reg>; @@ -1231,8 +1232,6 @@ regulator-name = "vdd_hdmi_5v0"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; - enable-active-high; - gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; vin-supply = <&tps65090_dcdc1_reg>; }; @@ -1245,6 +1244,17 @@ enable-active-high; gpio = <&palmas_gpio 6 0>; }; + + vdd_5v0_hdmi: regulator@7 { + compatible = "regulator-fixed"; + reg = <7>; + regulator-name = "VDD_5V0_HDMI_CON"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; + enable-active-high; + vin-supply = <&tps65090_dcdc1_reg>; + }; }; sound {