All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felipe Balbi <balbi@ti.com>
To: Tony Lindgren <tony@atomide.com>
Cc: Linux OMAP Mailing List <linux-omap@vger.kernel.org>,
	Linux ARM Kernel Mailing List
	<linux-arm-kernel@lists.infradead.org>,
	Tomi Valkeinen <tomi.valkeinen@ti.com>,
	Felipe Balbi <balbi@ti.com>,
	stable@vger.kernel.org
Subject: [PATCH] arm: boot: dts: am437x-sk: fix lcd enable pin mux data
Date: Thu, 4 Dec 2014 09:10:21 -0600	[thread overview]
Message-ID: <1417705821-21847-1-git-send-email-balbi@ti.com> (raw)
In-Reply-To: <20141204144325.GA17269@saruman>

Caused by a copy & paste error. Note that even with
this bug AM437x SK display still works because GPIO
mux mode is always enabled. It's still wrong to mux
somebody else's pin.

Luckily ball D25 (offset 0x238 - gpio5_8) on AM437x
isn't used for anything.

While at that, also replace a pullup with a pulldown
as that gpio should be normally low, not high.

Cc: <stable@vger.kernel.org> # v3.17+
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
---
 arch/arm/boot/dts/am437x-sk-evm.dts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/am437x-sk-evm.dts b/arch/arm/boot/dts/am437x-sk-evm.dts
index f7f77a7..0eceb8a 100644
--- a/arch/arm/boot/dts/am437x-sk-evm.dts
+++ b/arch/arm/boot/dts/am437x-sk-evm.dts
@@ -320,8 +320,7 @@
 
 	lcd_pins: lcd_pins {
 		pinctrl-single,pins = <
-			/* GPIO 5_8 to select LCD / HDMI */
-			0x238 (PIN_OUTPUT_PULLUP | MUX_MODE7)
+			0x1c (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpcm_ad7.gpio1_7 */
 		>;
 	};
 };
-- 
2.1.0.GIT


WARNING: multiple messages have this Message-ID (diff)
From: balbi@ti.com (Felipe Balbi)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: boot: dts: am437x-sk: fix lcd enable pin mux data
Date: Thu, 4 Dec 2014 09:10:21 -0600	[thread overview]
Message-ID: <1417705821-21847-1-git-send-email-balbi@ti.com> (raw)
In-Reply-To: <20141204144325.GA17269@saruman>

Caused by a copy & paste error. Note that even with
this bug AM437x SK display still works because GPIO
mux mode is always enabled. It's still wrong to mux
somebody else's pin.

Luckily ball D25 (offset 0x238 - gpio5_8) on AM437x
isn't used for anything.

While at that, also replace a pullup with a pulldown
as that gpio should be normally low, not high.

Cc: <stable@vger.kernel.org> # v3.17+
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
---
 arch/arm/boot/dts/am437x-sk-evm.dts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/am437x-sk-evm.dts b/arch/arm/boot/dts/am437x-sk-evm.dts
index f7f77a7..0eceb8a 100644
--- a/arch/arm/boot/dts/am437x-sk-evm.dts
+++ b/arch/arm/boot/dts/am437x-sk-evm.dts
@@ -320,8 +320,7 @@
 
 	lcd_pins: lcd_pins {
 		pinctrl-single,pins = <
-			/* GPIO 5_8 to select LCD / HDMI */
-			0x238 (PIN_OUTPUT_PULLUP | MUX_MODE7)
+			0x1c (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpcm_ad7.gpio1_7 */
 		>;
 	};
 };
-- 
2.1.0.GIT

  parent reply	other threads:[~2014-12-04 15:10 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-14 18:28 [PATCH 1/3] video: fbdev: omap2: omapfb: remove __exit annotation Felipe Balbi
2014-10-14 18:28 ` Felipe Balbi
2014-10-14 18:28 ` Felipe Balbi
2014-10-14 18:28 ` [PATCH 2/3] video: fbdev: omap2: omapfb: add missing MODULE_ALIAS() Felipe Balbi
2014-10-14 18:28   ` Felipe Balbi
2014-10-14 18:28   ` Felipe Balbi
2014-10-14 18:34   ` Felipe Balbi
2014-10-14 18:34     ` Felipe Balbi
2014-10-14 18:34     ` Felipe Balbi
2014-10-15 12:46     ` Tomi Valkeinen
2014-10-15 12:46       ` Tomi Valkeinen
2014-10-15 12:46       ` Tomi Valkeinen
2014-10-15 14:37       ` Felipe Balbi
2014-10-15 14:37         ` Felipe Balbi
2014-10-15 14:37         ` Felipe Balbi
2014-10-15 12:20   ` Tomi Valkeinen
2014-10-15 12:20     ` Tomi Valkeinen
2014-10-15 12:20     ` Tomi Valkeinen
2014-10-15 14:38     ` Felipe Balbi
2014-10-15 14:38       ` Felipe Balbi
2014-10-15 14:38       ` Felipe Balbi
2014-10-15 15:45       ` Tomi Valkeinen
2014-10-15 15:45         ` Tomi Valkeinen
2014-10-15 15:45         ` Tomi Valkeinen
2014-10-14 18:28 ` [PATCH 3/3] arm: boot: dts: am437x-sk: fix lcd enable pin mux data Felipe Balbi
2014-10-14 18:28   ` Felipe Balbi
2014-10-14 18:28   ` Felipe Balbi
2014-10-15 12:24   ` Tomi Valkeinen
2014-10-15 12:24     ` Tomi Valkeinen
2014-10-15 12:24     ` Tomi Valkeinen
2014-12-04 14:43     ` Felipe Balbi
2014-12-04 14:43       ` Felipe Balbi
2014-12-04 14:43       ` Felipe Balbi
2014-12-04 15:05       ` Felipe Balbi
2014-12-04 15:05         ` Felipe Balbi
2014-12-04 15:05         ` Felipe Balbi
2014-12-04 15:10       ` Felipe Balbi [this message]
2014-12-04 15:10         ` [PATCH] " Felipe Balbi
2014-12-10 16:31         ` Tony Lindgren
2014-12-10 16:31           ` Tony Lindgren
2014-10-15 12:13 ` [PATCH 1/3] video: fbdev: omap2: omapfb: remove __exit annotation Tomi Valkeinen
2014-10-15 12:13   ` Tomi Valkeinen
2014-10-15 12:13   ` Tomi Valkeinen
2014-10-15 14:41   ` Felipe Balbi
2014-10-15 14:41     ` Felipe Balbi
2014-10-15 14:41     ` Felipe Balbi
2014-10-15 15:43     ` Tomi Valkeinen
2014-10-15 15:43       ` Tomi Valkeinen
2014-10-15 15:43       ` Tomi Valkeinen
2014-10-15 15:54       ` Felipe Balbi
2014-10-15 15:54         ` Felipe Balbi
2014-10-15 15:54         ` Felipe Balbi

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=1417705821-21847-1-git-send-email-balbi@ti.com \
    --to=balbi@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=tomi.valkeinen@ti.com \
    --cc=tony@atomide.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.