]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
serial: sh-sci: Add (H)SCIF RTS/CTS pin data register bit definitions
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 30 Apr 2015 16:21:26 +0000 (18:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 May 2015 17:06:38 +0000 (19:06 +0200)
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>
drivers/tty/serial/sh-sci.h

index 238ad0c5584b06f2c8ef3c970303d058af7429f7..8b4447e66708aea50d9d51fc6f55944addee4c0f 100644 (file)
@@ -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 */