2015-05-21 00:40:39 +08:00
|
|
|
# Kconfig - serial driver configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2014-2015 Wind River Systems, Inc.
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2015-05-21 00:40:39 +08:00
|
|
|
#
|
|
|
|
|
2015-08-12 11:22:49 +08:00
|
|
|
menuconfig SERIAL
|
|
|
|
bool
|
|
|
|
prompt "Serial Drivers"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable options for serial drivers.
|
2015-05-21 00:40:39 +08:00
|
|
|
|
2015-08-12 11:22:49 +08:00
|
|
|
if SERIAL
|
2015-05-26 22:25:55 +08:00
|
|
|
|
2016-03-18 01:24:45 +08:00
|
|
|
comment "Capabilities"
|
|
|
|
|
2015-08-13 01:33:56 +08:00
|
|
|
config SERIAL_HAS_DRIVER
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This is an option to be enabled by individual serial driver
|
|
|
|
to signal that there is a serial driver. This is being used
|
|
|
|
by other drivers which are dependent on serial.
|
|
|
|
|
2016-05-25 07:17:13 +08:00
|
|
|
config UART_INTERRUPT_DRIVEN
|
2015-12-11 05:29:57 +08:00
|
|
|
bool
|
|
|
|
prompt "Enable UART Interrupt support"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option enables interrupt support for UART allowing console
|
|
|
|
input and other UART based drivers.
|
|
|
|
|
2016-01-07 01:17:03 +08:00
|
|
|
config UART_LINE_CTRL
|
|
|
|
bool "Enable Serial Line Control API"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This enables the API for apps to control the serial line,
|
|
|
|
such as baud rate, CTS and RTS.
|
|
|
|
|
|
|
|
Implementation is up to individual driver.
|
|
|
|
|
|
|
|
Says no if not sure.
|
|
|
|
|
|
|
|
config UART_DRV_CMD
|
|
|
|
bool "Enable driver commands API"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This enables the API to send extra commands to drivers.
|
|
|
|
This allows drivers to expose hardware specific functions.
|
|
|
|
|
|
|
|
Says no if not sure.
|
|
|
|
|
2016-03-18 01:24:45 +08:00
|
|
|
comment "Serial Drivers"
|
|
|
|
|
2015-12-02 00:42:19 +08:00
|
|
|
source "drivers/serial/Kconfig.ns16550"
|
2015-08-06 03:13:36 +08:00
|
|
|
|
2017-01-10 02:25:59 +08:00
|
|
|
source "drivers/serial/Kconfig.mcux"
|
|
|
|
|
2017-01-18 19:54:58 +08:00
|
|
|
source "drivers/serial/Kconfig.mcux_lpuart"
|
|
|
|
|
2015-12-02 00:42:19 +08:00
|
|
|
source "drivers/serial/Kconfig.stellaris"
|
2015-05-26 22:25:55 +08:00
|
|
|
|
2015-12-02 00:42:19 +08:00
|
|
|
source "drivers/serial/Kconfig.nsim"
|
|
|
|
|
2016-01-21 13:10:59 +08:00
|
|
|
source "drivers/serial/Kconfig.atmel_sam3"
|
|
|
|
|
2016-10-13 23:55:02 +08:00
|
|
|
source "drivers/serial/Kconfig.usart_sam"
|
|
|
|
|
2016-02-27 01:51:28 +08:00
|
|
|
source "drivers/serial/Kconfig.qmsi"
|
|
|
|
|
2016-03-03 22:33:20 +08:00
|
|
|
source "drivers/serial/Kconfig.stm32"
|
|
|
|
|
2016-05-18 22:49:04 +08:00
|
|
|
source "drivers/serial/Kconfig.nrf5"
|
|
|
|
|
2016-06-21 05:11:35 +08:00
|
|
|
source "drivers/serial/Kconfig.altera_jtag"
|
|
|
|
|
2016-11-01 08:46:32 +08:00
|
|
|
source "drivers/serial/Kconfig.cc32xx"
|
|
|
|
|
2016-09-19 22:58:03 +08:00
|
|
|
source "drivers/serial/Kconfig.cmsdk_apb"
|
|
|
|
|
2017-01-11 07:24:31 +08:00
|
|
|
source "drivers/serial/Kconfig.riscv_qemu"
|
|
|
|
|
2015-08-12 11:22:49 +08:00
|
|
|
endif
|