]> Gentwo Git Trees - linux/.git/commit
serial: qcom-geni: Enable support for half-duplex mode
authorAnup Kulkarni <quic_anupkulk@quicinc.com>
Tue, 3 Jun 2025 11:01:45 +0000 (16:31 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2025 11:24:10 +0000 (13:24 +0200)
commit4fcc287f3c692450ffd91c72a19c58740494491a
tree77452338125c4ab874dc4d836a79628acca68a58
parent341a22fa056ddc01341b5e2a1ca0dbe61fbdb1ea
serial: qcom-geni: Enable support for half-duplex mode

Enable the use of the RTS pin for direction control in half-duplex modes to
prevent data collisions. Utilize the rs485 structure and callbacks in the
serial core framework to support half-duplex modes. Implement support for
the TIOCSRS485 IOCTL value and the struct serial_rs485.

Signed-off-by: Anup Kulkarni <quic_anupkulk@quicinc.com>
Link: https://lore.kernel.org/r/20250603110145.3835111-1-quic_anupkulk@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/qcom_geni_serial.c