diff options
author | Ludovic Desroches <ludovic.desroches@atmel.com> | 2016-08-25 16:47:56 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-31 16:39:58 +0300 |
commit | 5bf5635ac1705b8d58fdef5ff0666ef0e72b4629 (patch) | |
tree | 3f1aebb7026dd29035806f3ca7e7bad93be8a52d /include/linux/atmel_serial.h | |
parent | 2426fbc77faef57c80a573303af6543531e2efa3 (diff) | |
download | linux-5bf5635ac1705b8d58fdef5ff0666ef0e72b4629.tar.xz |
tty/serial: atmel: add fractional baud rate support
The USART device provides a fractional baud rate generator to get a more
accurate baud rate. It can be used only when the USART is configured in
'normal mode' and this feature is not available on AT91RM9200 SoC.
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/atmel_serial.h')
-rw-r--r-- | include/linux/atmel_serial.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/atmel_serial.h b/include/linux/atmel_serial.h index 5a4d664af87a..f8e452aa48d7 100644 --- a/include/linux/atmel_serial.h +++ b/include/linux/atmel_serial.h @@ -118,6 +118,7 @@ #define ATMEL_US_BRGR 0x20 /* Baud Rate Generator Register */ #define ATMEL_US_CD GENMASK(15, 0) /* Clock Divider */ +#define ATMEL_US_FP_OFFSET 16 /* Fractional Part */ #define ATMEL_US_RTOR 0x24 /* Receiver Time-out Register for USART */ #define ATMEL_UA_RTOR 0x28 /* Receiver Time-out Register for UART */ |