From patchwork Fri Apr 25 15:44:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 4064181 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 ED21EBFF02 for ; Fri, 25 Apr 2014 15:49:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2B6B92037E for ; Fri, 25 Apr 2014 15:49:46 +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 5844C2037A for ; Fri, 25 Apr 2014 15:49:45 +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 1WdiLu-0006TS-Nt; Fri, 25 Apr 2014 15:47:50 +0000 Received: from mail-ee0-x234.google.com ([2a00:1450:4013:c00::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WdiKu-0005l0-4a for linux-arm-kernel@lists.infradead.org; Fri, 25 Apr 2014 15:46:48 +0000 Received: by mail-ee0-f52.google.com with SMTP id e49so2949669eek.11 for ; Fri, 25 Apr 2014 08:46:28 -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=CUk0xGdHiQMMG+eSidLfaXnuTXo53GjM68XBQZM/W40=; b=O1NHfcSq9MQquvfaBRwbtkJ3Xn0R9/2B4MaNGga4DqVqUTXjhBIRQVNjLe0K0sbDQV AsnyfXSe+LgQaFJq1jLNLqn3SpHGqd0arAo7ipETONnZXFcJpyZRRpPIxagnHcvKup+v qVO40/H9IGNWpkX2SLmlPirlf54q8GcR66ihCT1dmoZ5HWbsiviiusrjadp4e4nE6M9X HvhQT5HU5jRDpGjjfK1l4K5e/tVuvcjjz5XZcU6yG6HgjaPFRkAQ7ceysNfyk7vVbmpQ 1R+wi+rVum4WFxUqIfGtW1sNX2S5ZniLkY4m+RslC+uDk7FwwO8wnCgjcTeTDmdg3nhM VlMQ== X-Received: by 10.15.81.135 with SMTP id x7mr4762370eey.61.1398440788823; Fri, 25 Apr 2014 08:46:28 -0700 (PDT) Received: from localhost (port-986.pppoe.wtnet.de. [84.46.3.221]) by mx.google.com with ESMTPSA id x45sm25766106eef.15.2014.04.25.08.46.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Apr 2014 08:46:28 -0700 (PDT) From: Thierry Reding To: Stephen Warren Subject: [PATCH 7/7] ARM: tegra: dalmore - Add DSI power supply Date: Fri, 25 Apr 2014 17:44:51 +0200 Message-Id: <1398440691-23366-8-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_084648_377141_81200F4B X-CRM114-Status: GOOD ( 11.42 ) 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 The 1.2V supply for CSI and DSI was previously marked always-on. This is suboptimal because it prevents the supply from being disabled when there is no activity in the display or capture paths that it powers. Hook up the regulator to the DSI output and mark it as not always-on, so that it will only be enabled when DSI actually needs it. Signed-off-by: Thierry Reding --- arch/arm/boot/dts/tegra114-dalmore.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts index 1309c75c821c..9cd09b63b900 100644 --- a/arch/arm/boot/dts/tegra114-dalmore.dts +++ b/arch/arm/boot/dts/tegra114-dalmore.dts @@ -37,6 +37,8 @@ dsi@54300000 { status = "okay"; + avdd-dsi-csi-supply = <&avdd_1v2_reg>; + panel@0 { compatible = "panasonic,vvx10f004b00", "simple-panel"; @@ -983,12 +985,10 @@ regulator-max-microvolt = <2800000>; }; - ldo3 { + avdd_1v2_reg: ldo3 { regulator-name = "avdd-dsi-csi"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; - regulator-always-on; - regulator-boot-on; }; ldo4 {