From: hwg Date: Tue, 18 Jun 2013 12:20:19 +0000 (+0800) Subject: mt6622: add rts control for hwflow X-Git-Tag: firefly_0821_release~6965^2~62 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e64a3185cd0dc121fda10967c4d6ebf201c82e08;p=firefly-linux-kernel-4.4.55.git mt6622: add rts control for hwflow --- diff --git a/arch/arm/mach-rk30/board-rk3168-LR097.c b/arch/arm/mach-rk30/board-rk3168-LR097.c index 0768afc107ed..71c8dec7e0da 100755 --- a/arch/arm/mach-rk30/board-rk3168-LR097.c +++ b/arch/arm/mach-rk30/board-rk3168-LR097.c @@ -1420,7 +1420,17 @@ static struct mt6622_platform_data mt6622_platdata = { .iomux = { .name = NULL, }, - } + }, + + .rts_gpio = { // UART_RTS + .io = RK30_PIN1_PA3, + .enable = GPIO_LOW, + .iomux = { + .name = "bt_rts", + .fgpio = GPIO1_A3, + .fmux = UART0_RTSN, + }, + }, }; static struct platform_device device_mt6622 = { diff --git a/arch/arm/mach-rk30/board-rk3168-tb.c b/arch/arm/mach-rk30/board-rk3168-tb.c index 11d3ff4a3ad0..592af755211e 100755 --- a/arch/arm/mach-rk30/board-rk3168-tb.c +++ b/arch/arm/mach-rk30/board-rk3168-tb.c @@ -1429,7 +1429,17 @@ static struct mt6622_platform_data mt6622_platdata = { .iomux = { .name = NULL, }, - } + }, + + .rts_gpio = { // UART_RTS + .io = RK30_PIN1_PA3, + .enable = GPIO_LOW, + .iomux = { + .name = "bt_rts", + .fgpio = GPIO1_A3, + .fmux = UART0_RTSN, + }, + }, }; static struct platform_device device_mt6622 = {