cpm_uart: Modem control lines support
This patch replaces the get_mctrl/set_mctrl stubs with modem control line read/write access through the GPIO lib. Available modem control lines are described in the device tree using GPIO bindings. The driver expect a GPIO pin for each of the CTS, RTS, DCD, DSR, DTR and RI signals. Unused control lines can be left out. Signed-off-by:Laurent Pinchart <laurentp@cse-semaphore.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
Showing
- Documentation/powerpc/dts-bindings/fsl/cpm_qe/serial.txt 11 additions, 0 deletionsDocumentation/powerpc/dts-bindings/fsl/cpm_qe/serial.txt
- drivers/serial/cpm_uart/cpm_uart.h 10 additions, 0 deletionsdrivers/serial/cpm_uart/cpm_uart.h
- drivers/serial/cpm_uart/cpm_uart_core.c 37 additions, 3 deletionsdrivers/serial/cpm_uart/cpm_uart_core.c
Loading
Please register or sign in to comment