diff options
author | Huibin Hong <huibin.hong@rock-chips.com> | 2019-01-25 17:25:35 +0800 |
---|---|---|
committer | Tao Huang <huangtao@rock-chips.com> | 2019-02-14 17:49:31 +0800 |
commit | 5f289855ae33171c33a468797deed743c0784ba7 (patch) | |
tree | c4ff2ba477e7544aeb024084f1f03d6b4a94ac4d /include | |
parent | 11850f59853c5aeac6db9c453509579384923e37 (diff) |
serial: 8250: enable Programmable THRE Interrupt for tx
Programmable THRE Interrupt mode in order to increase system
performance.
Change-Id: Ic1ef9ecae0c6feb00170ad97ee3c6245ca3bf068
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/serial_reg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/serial_reg.h b/include/uapi/linux/serial_reg.h index 1e5ac4e776da..7745a75ce3ab 100644 --- a/include/uapi/linux/serial_reg.h +++ b/include/uapi/linux/serial_reg.h @@ -29,6 +29,7 @@ * Sleep mode for ST16650 and TI16750. For the ST16650, EFR[4]=1 */ #define UART_IERX_SLEEP 0x10 /* Enable sleep mode */ +#define UART_IER_PTIME 0x80 /* Enable programmable THRE Interrupt */ #define UART_IIR 2 /* In: Interrupt ID Register */ #define UART_IIR_NO_INT 0x01 /* No interrupts pending */ |