Skip to content

Commit

Permalink
ARM: pxa: Add standard UART to hx4700_pin_config[]
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Parsons authored and Haojian Zhuang committed May 5, 2012
1 parent 7357867 commit 0de91b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm/mach-pxa/hx4700.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand Down

0 comments on commit 0de91b6

Please sign in to comment.