summaryrefslogtreecommitdiff
path: root/drivers/serial/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/Kconfig')
-rw-r--r--drivers/serial/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 2a50771a27..0f0e92df07 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -195,6 +195,17 @@ config ROCKCHIP_SERIAL
your board config header. The clock input is automatically set to
use the oscillator (24MHz).
+config NS16550_SERIAL
+ bool "NS16550 UART or compatible"
+ depends on DM_SERIAL
+ help
+ Support NS16550 UART or compatible with driver model. This can be
+ enabled in the device tree with the correct input clock frequency.
+ If the input clock frequency is not defined in the device tree,
+ the macro CONFIG_SYS_NS16550_CLK defined in a legacy board header
+ file will be used. It can be a constant or a function to get clock,
+ eg, get_serial_clock().
+
config SANDBOX_SERIAL
bool "Sandbox UART support"
depends on SANDBOX