diff options
author | Todd Poynor <toddpoynor@google.com> | 2011-09-11 16:09:57 -0700 |
---|---|---|
committer | Todd Poynor <toddpoynor@google.com> | 2011-09-12 11:01:01 -0700 |
commit | 5df4fc4481d0f6f0d435da572564b6ef568b7e90 (patch) | |
tree | 3df61bd90d472f39689b4f42c0dc8b1ef26cd237 /arch/arm/mach-omap2/board-tuna.c | |
parent | e9772c4946d0c6515a8ce383904b0e8994bef7fd (diff) | |
download | kernel_samsung_tuna-5df4fc4481d0f6f0d435da572564b6ef568b7e90.zip kernel_samsung_tuna-5df4fc4481d0f6f0d435da572564b6ef568b7e90.tar.gz kernel_samsung_tuna-5df4fc4481d0f6f0d435da572564b6ef568b7e90.tar.bz2 |
OMAP4: tuna: Don't enable UART4_RX for wakeup
NFC uses a GPIO for wakeup, don't enable wakeup for UART4_RX
I/O pad. Have seen storms of wakeups on this pad.
Change-Id: I65202c9c76de235a0fc67c7d2470ca3873d14600
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-tuna.c')
-rw-r--r-- | arch/arm/mach-omap2/board-tuna.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-tuna.c b/arch/arm/mach-omap2/board-tuna.c index 4f65d23..74dee01 100644 --- a/arch/arm/mach-omap2/board-tuna.c +++ b/arch/arm/mach-omap2/board-tuna.c @@ -876,6 +876,17 @@ static struct omap_device_pad tuna_uart3_pads[] __initdata = { }, }; +static struct omap_device_pad tuna_uart4_pads[] __initdata = { + { + .name = "uart4_tx.uart4_tx", + .enable = OMAP_PIN_OUTPUT | OMAP_MUX_MODE0, + }, + { + .name = "uart4_rx.uart4_rx", + .enable = OMAP_PIN_INPUT | OMAP_MUX_MODE0, + }, +}; + static struct omap_uart_port_info tuna_uart2_info __initdata = { .use_dma = 0, .dma_rx_buf_size = DEFAULT_RXDMA_BUFSIZE, @@ -894,7 +905,8 @@ static inline void __init board_serial_init(void) ARRAY_SIZE(tuna_uart2_pads), &tuna_uart2_info); omap_serial_init_port_pads(2, tuna_uart3_pads, ARRAY_SIZE(tuna_uart3_pads), NULL); - omap_serial_init_port_pads(3, NULL, 0, NULL); + omap_serial_init_port_pads(3, tuna_uart4_pads, + ARRAY_SIZE(tuna_uart4_pads), NULL); } /*SPI for LTE modem bootloader*/ |