OSDN Git Service

serial: stm32: add support for RS485 hardware control mode
authorBich HEMON <bich.hemon@st.com>
Mon, 12 Mar 2018 09:50:05 +0000 (09:50 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Mar 2018 12:35:37 +0000 (13:35 +0100)
commit1bcda09d291081a7732fcaa9d1745312404a4e36
treeb339ce40f103539e7c94b1dddc70bf5f91b4b2ad
parent241672cb4b166da3d2f4deb66bac335f44e04d4a
serial: stm32: add support for RS485 hardware control mode

Implement Driver Enable signal (DE) to activate the transmission mode
of the external transceiver.

Signed-off-by: Yves Coppeaux <yves.coppeaux@st.com>
Signed-off-by: Bich Hemon <bich.hemon@st.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/stm32-usart.c
drivers/tty/serial/stm32-usart.h