serial: Kconfig: Add ATMEL_USART option
authorWenyou Yang <wenyou.yang@atmel.com>
Mon, 17 Oct 2016 01:49:54 +0000 (09:49 +0800)
committerAndreas Bießmann <andreas@biessmann.org>
Fri, 28 Oct 2016 16:37:15 +0000 (18:37 +0200)
Add ATMEL_USART option to support to enable the Atmel usart driver
from Kconfig.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Andreas Bießmann <andreas@biessmann.org>
drivers/serial/Kconfig

index 541cf2e512f0b9844e29f32fc7096f09fb3e647a..9e48902446105dee95aebf4332d38d8ee0cda1c9 100644 (file)
@@ -296,6 +296,13 @@ config AR933X_UART
          tree binding to operate, please refer to the document at
          doc/device-tree-bindings/serial/qca,ar9330-uart.txt.
 
+config ATMEL_USART
+       bool "Atmel USART support"
+       help
+         Select this to enable USART support for Atmel SoCs. It can be
+         configured in the device tree, and input clock frequency can
+         be got from the clk node.
+
 config FSL_LPUART
        bool "Freescale LPUART support"
        help