tty/serial: at91: use mctrl_gpio helpers
authorRichard Genoud <richard.genoud@gmail.com>
Tue, 13 May 2014 18:20:44 +0000 (20:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 May 2014 19:49:44 +0000 (12:49 -0700)
commite0b0baadb7a4509bdcd5ba37d0be61e2c4bb0d48
treeea9d6937dddf11ed65c8b9c2f8847213f73e2d2e
parent84130aace83989c1dba073ed98dad721d2060258
tty/serial: at91: use mctrl_gpio helpers

On sam9x5, dedicated CTS (and RTS) pins are unusable together with the
LCDC, the EMAC, or the MMC because they share the same line.

Moreover, the USART controller doesn't handle DTR/DSR/DCD/RI signals,
so we have to control them via GPIO.

This patch permits to use GPIOs to control the CTS/RTS/DTR/DSR/DCD/RI
signals.

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/serial/atmel-usart.txt
arch/arm/mach-at91/at91rm9200_devices.c
arch/arm/mach-at91/at91sam9260_devices.c
arch/arm/mach-at91/at91sam9261_devices.c
arch/arm/mach-at91/at91sam9263_devices.c
arch/arm/mach-at91/at91sam9g45_devices.c
arch/arm/mach-at91/at91sam9rl_devices.c
drivers/tty/serial/Kconfig
drivers/tty/serial/atmel_serial.c
include/linux/platform_data/atmel.h
This page took 0.027265 seconds and 5 git commands to generate.