linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: ux500: fix spi2 pin group
@ 2012-09-18 10:09 Linus Walleij
  2012-09-18 12:23 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2012-09-18 10:09 UTC (permalink / raw)
  To: arm, linux-kernel, linux-arm-kernel
  Cc: Stephen Warren, Anmar Oueja, Patrice Chotard, Linus Walleij

From: Patrice Chotard <patrice.chotard@stericsson.com>

GPIO216_AG12 is configured as a gpio for SPI2, so select
the spi2_oc1_2 pin group instead of spi2_oc1_1

Signed-off-by: Patrice Chotard <patrice.chotard@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Hi Olof, Arnd:

Again I'd prefer to take this through the pinctrl tree if it's
OK with you. We are deploying pinctrl internally and ironing out
bugs as we test more and more use cases.
---
 arch/arm/mach-ux500/board-mop500-pins.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-ux500/board-mop500-pins.c b/arch/arm/mach-ux500/board-mop500-pins.c
index f0affc3..a96b945 100644
--- a/arch/arm/mach-ux500/board-mop500-pins.c
+++ b/arch/arm/mach-ux500/board-mop500-pins.c
@@ -219,7 +219,7 @@ static struct pinctrl_map __initdata mop500_family_pinmap[] = {
 	DB8500_MUX("usb_a_1", "usb", "musb-ux500.0"),
 	DB8500_PIN("GPIO257_AE29", out_hi, "musb-ux500.0"), /* STP */
 	/* Mux in SPI2 pins on the "other C1" altfunction */
-	DB8500_MUX("spi2_oc1_1", "spi2", "spi2"),
+	DB8500_MUX("spi2_oc1_2", "spi2", "spi2"),
 	DB8500_PIN("GPIO216_AG12", gpio_out_hi, "spi2"), /* FRM */
 	DB8500_PIN("GPIO218_AH11", in_pd, "spi2"), /* RXD */
 	DB8500_PIN("GPIO215_AH13", out_lo, "spi2"), /* TXD */
-- 
1.7.11.3


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

* Re: [PATCH] ARM: ux500: fix spi2 pin group
  2012-09-18 10:09 [PATCH] ARM: ux500: fix spi2 pin group Linus Walleij
@ 2012-09-18 12:23 ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2012-09-18 12:23 UTC (permalink / raw)
  To: Linus Walleij
  Cc: arm, linux-kernel, linux-arm-kernel, Stephen Warren, Anmar Oueja,
	Patrice Chotard, Linus Walleij

On Tuesday 18 September 2012, Linus Walleij wrote:
> From: Patrice Chotard <patrice.chotard@stericsson.com>
> 
> GPIO216_AG12 is configured as a gpio for SPI2, so select
> the spi2_oc1_2 pin group instead of spi2_oc1_1
> 
> Signed-off-by: Patrice Chotard <patrice.chotard@stericsson.com>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> Hi Olof, Arnd:
> 
> Again I'd prefer to take this through the pinctrl tree if it's
> OK with you. We are deploying pinctrl internally and ironing out
> bugs as we test more and more use cases.

Acked-by: Arnd Bergmann <arnd@arndb.de>

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

end of thread, other threads:[~2012-09-18 12:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-18 10:09 [PATCH] ARM: ux500: fix spi2 pin group Linus Walleij
2012-09-18 12:23 ` Arnd Bergmann

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).