diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2015-04-30 18:21:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-10 19:06:38 +0200 |
commit | 76735e9d558bb81b8c4c5246572b0fca27bfff4d (patch) | |
tree | f8b46d45ca693e6b22fd4fae9f484298e43fd4d7 /drivers/tty/serial/sh-sci.h | |
parent | c27ffc1080179c3f3b85e1e194fa61f1c9923b62 (diff) | |
download | linux-stable-76735e9d558bb81b8c4c5246572b0fca27bfff4d.tar.gz linux-stable-76735e9d558bb81b8c4c5246572b0fca27bfff4d.tar.bz2 linux-stable-76735e9d558bb81b8c4c5246572b0fca27bfff4d.zip |
serial: sh-sci: Add (H)SCIF RTS/CTS pin data register bit definitions
Add the missing register bit definitions to set the RTS pin and read the
CTS pin on (H)SCIF.
Extracted from patches by Magnus Damm <damm+renesas@opensource.se>.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sh-sci.h')
-rw-r--r-- | drivers/tty/serial/sh-sci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/tty/serial/sh-sci.h b/drivers/tty/serial/sh-sci.h index 238ad0c5584b..8b4447e66708 100644 --- a/drivers/tty/serial/sh-sci.h +++ b/drivers/tty/serial/sh-sci.h @@ -70,7 +70,9 @@ enum { /* SCSPTR (Serial Port Register), optional */ #define SCSPTR_RTSIO (1 << 7) /* Serial Port RTS Pin Input/Output */ +#define SCSPTR_RTSDT (1 << 6) /* Serial Port RTS Pin Data */ #define SCSPTR_CTSIO (1 << 5) /* Serial Port CTS Pin Input/Output */ +#define SCSPTR_CTSDT (1 << 4) /* Serial Port CTS Pin Data */ #define SCSPTR_SPB2IO (1 << 1) /* Serial Port Break Input/Output */ #define SCSPTR_SPB2DT (1 << 0) /* Serial Port Break Data */ |