[PATCH] tty: serial: samsung_tty: loopback mode support
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Mon Jun 27 04:28:32 PDT 2022
On 27/06/2022 05:23, Chanho Park wrote:
> Internal loopback mode can be supported by setting
> S3C2443_UCON_LOOPBACK bit. The mode & bit can be supported since
> s3c2410 and later SoCs. We can test it by linux-serial-test program[1]
> with -k option. It will set TIOCM_LOOP mode during test.
>
> -k, --loopback Use internal hardware loop back
>
> [1]: https://github.com/cbrake/linux-serial-test
> Signed-off-by: Chanho Park <chanho61.park at samsung.com>
> ---
> drivers/tty/serial/samsung_tty.c | 19 ++++++++++++++++---
> 1 file changed, 16 insertions(+), 3 deletions(-)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list