[PATCH] pxa/hx4700: Add standard UART to hx4700_pin_config[]

Haojian Zhuang haojian.zhuang at gmail.com
Sun Mar 18 21:43:46 EDT 2012


On Fri, Mar 16, 2012 at 11:24 PM, Paul Parsons <lost.distance at yahoo.com> wrote:
> 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 at yahoo.com>
> ---
>
> --- a/arch/arm/mach-pxa/hx4700.c        2012-03-16 15:18:29.636709575 +0000
> +++ b/arch/arm/mach-pxa/hx4700.c        2012-03-16 15:19:35.401070040 +0000
> @@ -101,6 +101,10 @@ static unsigned long hx4700_pin_config[]
>        GPIO44_BTUART_CTS,
>        GPIO45_BTUART_RTS_LPM_LOW,
>
> +       /* STUART (IRDA) */
> +       GPIO46_STUART_RXD,
> +       GPIO47_STUART_TXD,
> +
>        /* PWM 1 (Backlight) */
>        GPIO17_PWM1_OUT,
>
Applied. Thanks



More information about the linux-arm-kernel mailing list