public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/2] few omap mux fixes for v3.7-rc2
@ 2012-10-22 20:34 Tony Lindgren
  2012-10-22 20:34 ` [PATCH 1/2] ARM: OMAP2+: Fix location of select PINCTRL Tony Lindgren
  2012-10-22 20:34 ` [PATCH 2/2] ARM: OMAP3: Fix 3430 legacy mux names for ssi1 signals Tony Lindgren
  0 siblings, 2 replies; 3+ messages in thread
From: Tony Lindgren @ 2012-10-22 20:34 UTC (permalink / raw)
  To: linux-arm-kernel

Hi all,

I noticed these two issues while testing some pinctrl
related changes.

Regards,

Tony

---

Tony Lindgren (2):
      ARM: OMAP2+: Fix location of select PINCTRL
      ARM: OMAP3: Fix 3430 legacy mux names for ssi1 signals.


 0 files changed

-- 
Signature

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] ARM: OMAP2+: Fix location of select PINCTRL
  2012-10-22 20:34 [PATCH 0/2] few omap mux fixes for v3.7-rc2 Tony Lindgren
@ 2012-10-22 20:34 ` Tony Lindgren
  2012-10-22 20:34 ` [PATCH 2/2] ARM: OMAP3: Fix 3430 legacy mux names for ssi1 signals Tony Lindgren
  1 sibling, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2012-10-22 20:34 UTC (permalink / raw)
  To: linux-arm-kernel

Commit 8f31cefe (ARM: OMAP2+: select PINCTRL in Kconfig)
added select PINCTRL, but accdentally added it to a wrong
location.

We want to select if for ARCH_OMAP2PLUS, not for
ARCH_OMAP2PLUS_TYPICAL.

Signed-off-by: Tony Lindgren <tony@atomide.com>
---
 0 files changed

diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index 2a1a898..d669e22 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -11,7 +11,6 @@ config ARCH_OMAP2PLUS_TYPICAL
 	select I2C_OMAP
 	select MENELAUS if ARCH_OMAP2
 	select NEON if ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5
-	select PINCTRL
 	select PM_RUNTIME
 	select REGULATOR
 	select SERIAL_OMAP
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig
index 7cd56ed..82fcb20 100644
--- a/arch/arm/plat-omap/Kconfig
+++ b/arch/arm/plat-omap/Kconfig
@@ -26,6 +26,7 @@ config ARCH_OMAP2PLUS
 	select CLKDEV_LOOKUP
 	select GENERIC_IRQ_CHIP
 	select OMAP_DM_TIMER
+	select PINCTRL
 	select PROC_DEVICETREE if PROC_FS
 	select SPARSE_IRQ
 	select USE_OF

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] ARM: OMAP3: Fix 3430 legacy mux names for ssi1 signals.
  2012-10-22 20:34 [PATCH 0/2] few omap mux fixes for v3.7-rc2 Tony Lindgren
  2012-10-22 20:34 ` [PATCH 1/2] ARM: OMAP2+: Fix location of select PINCTRL Tony Lindgren
@ 2012-10-22 20:34 ` Tony Lindgren
  1 sibling, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2012-10-22 20:34 UTC (permalink / raw)
  To: linux-arm-kernel

On n900 uart1 pins are not not used for uart, instead they are
used to connect to a cell modem over ssi. Looks like we're
currently missing these signal names for 3430 for some reason,
and only have some of them listed for 3630. Obviously the signals
are there for 3430 if n900 is using them and they are documented
in some TRMs.

Note that these will eventually be replaced by device tree
based pinctrl-single.c driver. But for now these are needed
to verify the SSI pins for devices like Nokia N900.

Signed-off-by: Tony Lindgren <tony@atomide.com>
---
 0 files changed

diff --git a/arch/arm/mach-omap2/mux34xx.c b/arch/arm/mach-omap2/mux34xx.c
index 17f80e4..c47140b 100644
--- a/arch/arm/mach-omap2/mux34xx.c
+++ b/arch/arm/mach-omap2/mux34xx.c
@@ -614,16 +614,16 @@ static struct omap_mux __initdata omap3_muxmodes[] = {
 		"sys_off_mode", NULL, NULL, NULL,
 		"gpio_9", NULL, NULL, "safe_mode"),
 	_OMAP3_MUXENTRY(UART1_CTS, 150,
-		"uart1_cts", NULL, NULL, NULL,
+		"uart1_cts", "ssi1_rdy_tx", NULL, NULL,
 		"gpio_150", "hsusb3_tll_clk", NULL, "safe_mode"),
 	_OMAP3_MUXENTRY(UART1_RTS, 149,
-		"uart1_rts", NULL, NULL, NULL,
+		"uart1_rts", "ssi1_flag_tx", NULL, NULL,
 		"gpio_149", NULL, NULL, "safe_mode"),
 	_OMAP3_MUXENTRY(UART1_RX, 151,
-		"uart1_rx", NULL, "mcbsp1_clkr", "mcspi4_clk",
+		"uart1_rx", "ss1_wake_tx", "mcbsp1_clkr", "mcspi4_clk",
 		"gpio_151", NULL, NULL, "safe_mode"),
 	_OMAP3_MUXENTRY(UART1_TX, 148,
-		"uart1_tx", NULL, NULL, NULL,
+		"uart1_tx", "ssi1_dat_tx", NULL, NULL,
 		"gpio_148", NULL, NULL, "safe_mode"),
 	_OMAP3_MUXENTRY(UART2_CTS, 144,
 		"uart2_cts", "mcbsp3_dx", "gpt9_pwm_evt", NULL,

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-22 20:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-22 20:34 [PATCH 0/2] few omap mux fixes for v3.7-rc2 Tony Lindgren
2012-10-22 20:34 ` [PATCH 1/2] ARM: OMAP2+: Fix location of select PINCTRL Tony Lindgren
2012-10-22 20:34 ` [PATCH 2/2] ARM: OMAP3: Fix 3430 legacy mux names for ssi1 signals Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox