diff options
| author | Chanho Park <[email protected]> | 2022-06-29 09:41:41 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-06-30 17:09:08 +0200 |
| commit | 72a43046b61a3fe7164a622224bcdfc3cf6b795d (patch) | |
| tree | 3e0487e215631ae6b6a4b4dd66615257f49931de /include/linux | |
| parent | 9636047ffafcf5988946c05f0ebd7e0b2114aa74 (diff) | |
tty: serial: samsung_tty: loopback mode support
Internal loopback mode can be supported by setting
UCON register's Loopback Mode bit. The mode & bit can be supported
since s3c2410 and later SoCs. The prefix of LOOPBACK / BIT(5) naming
should be also changed to S3C2410_ in order to avoid confusion.
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Chanho Park <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/serial_s3c.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/serial_s3c.h b/include/linux/serial_s3c.h index dec15f5b3dec..1672cf0810ef 100644 --- a/include/linux/serial_s3c.h +++ b/include/linux/serial_s3c.h @@ -83,7 +83,7 @@ #define S3C2410_UCON_RXIRQMODE (1<<0) #define S3C2410_UCON_RXFIFO_TOI (1<<7) #define S3C2443_UCON_RXERR_IRQEN (1<<6) -#define S3C2443_UCON_LOOPBACK (1<<5) +#define S3C2410_UCON_LOOPBACK (1<<5) #define S3C2410_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ S3C2410_UCON_RXILEVEL | \ |