aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/8250/Kconfig
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2017-01-30 09:12:12 -0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-31 10:54:58 +0100
commitbc2be239feef9ac9fc8ad17adf7c03b353f6546f (patch)
tree1c4e2caac30b566fa6498500909cb2ea148717ba /drivers/tty/serial/8250/Kconfig
parentserial: imx: Fix the RTS GPIO polarity in RS485 mode (diff)
downloadlinux-dev-bc2be239feef9ac9fc8ad17adf7c03b353f6546f.tar.xz
linux-dev-bc2be239feef9ac9fc8ad17adf7c03b353f6546f.zip
serial: imx: Fix the CTS_B polarity in RS485 mode
When userspace passes the SER_RS485_RTS_ON_SEND flag it means that the CTS_B pin should go to logic level high before the transmission begins. CTS_B goes to logic level high when both CTSC and CTS bits are cleared. When userspace passes the SER_RS485_RTS_AFTER_SEND flag it means that the CTS_B pin should go to logic level low after the transmission finishes. CTS_B goes to logic level low when CTSC bit is cleared and CTS bit is set. So fix the CTS_B polarity logic. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/8250/Kconfig')
0 files changed, 0 insertions, 0 deletions