linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: thierry.reding@gmail.com (Thierry Reding)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 7/7] ARM: tegra: dalmore - Add DSI power supply
Date: Fri, 25 Apr 2014 17:44:51 +0200	[thread overview]
Message-ID: <1398440691-23366-8-git-send-email-thierry.reding@gmail.com> (raw)
In-Reply-To: <1398440691-23366-1-git-send-email-thierry.reding@gmail.com>

From: Thierry Reding <treding@nvidia.com>

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 <treding@nvidia.com>
---
 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 at 54300000 {
 			status = "okay";
 
+			avdd-dsi-csi-supply = <&avdd_1v2_reg>;
+
 			panel at 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 {
-- 
1.9.2

  parent reply	other threads:[~2014-04-25 15:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-25 15:44 [PATCH 0/7] ARM: tegra: HDMI and DSI updates Thierry Reding
2014-04-25 15:44 ` [PATCH 1/7] ARM: tegra: Add Tegra124 HDMI support Thierry Reding
2014-04-25 15:44 ` [PATCH 2/7] ARM: tegra: venice2 - Enable HDMI Thierry Reding
2014-04-25 15:44 ` [PATCH 3/7] ARM: tegra: jetson-tk1 - Enable HDMI support Thierry Reding
2014-04-25 15:44 ` [PATCH 4/7] ARM: tegra: harmony - Add +5V HDMI supply Thierry Reding
2014-04-25 15:44 ` [PATCH 5/7] ARM: tegra: beaver " Thierry Reding
2014-04-25 15:44 ` [PATCH 6/7] ARM: tegra: dalmore " Thierry Reding
2014-04-25 15:44 ` Thierry Reding [this message]
2014-04-28 16:04 ` [PATCH 0/7] ARM: tegra: HDMI and DSI updates Stephen Warren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1398440691-23366-8-git-send-email-thierry.reding@gmail.com \
    --to=thierry.reding@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).