]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: pxa: Add standard UART to hx4700_pin_config[]
authorPaul Parsons <lost.distance@yahoo.com>
Fri, 16 Mar 2012 15:24:35 +0000 (15:24 +0000)
committerHaojian Zhuang <haojian.zhuang@gmail.com>
Sat, 5 May 2012 09:05:22 +0000 (17:05 +0800)
Add the two standard UART signals (GPIO46_STUART_RXD, GPIO47_STUART_TXD) to the
initial mfp config table hx4700_pin_config[] passed to pxa2xx_mfp_config().
Although pxa2xx_transceiver_mode() can subsequently set these two signals via
its own call to pxa2xx_mfp_config(), pxa2xx_transceiver_mode() is only present
when CONFIG_PXA_FICP=y. Hence this patch provides a default mfp config.

Signed-off-by: Paul Parsons <lost.distance@yahoo.com>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
arch/arm/mach-pxa/hx4700.c

index cccddfe13fa44b6d730ed85b9e940477cd145609..6bd692d271c1ae3e1fca9f6b6dbf4cda667df7f3 100644 (file)
@@ -102,6 +102,10 @@ static unsigned long hx4700_pin_config[] __initdata = {
        GPIO44_BTUART_CTS,
        GPIO45_BTUART_RTS_LPM_LOW,
 
+       /* STUART (IRDA) */
+       GPIO46_STUART_RXD,
+       GPIO47_STUART_TXD,
+
        /* PWM 1 (Backlight) */
        GPIO17_PWM1_OUT,