serial: fsl_lpuart: add loopback support
authorMichael Walle <michael@walle.cc>
Wed, 12 May 2021 14:12:54 +0000 (16:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 May 2021 14:08:26 +0000 (16:08 +0200)
commit8a0c810d94f02d7aa2074658ee6d0ec0a39f0555
tree05e8ea36bbd5d05b9fa10e5850a924bd8d69f272
parentfa3540735425cb7f95a8d83e74dfdc84170d139b
serial: fsl_lpuart: add loopback support

The LPUART can loop the RX and TX signal. Add support for it.

Please note, this was only tested on the 32 bit version of the LPUART.

Signed-off-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20210512141255.18277-9-michael@walle.cc
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_lpuart.c