2015-05-20 11:40:39 -05:00
|
|
|
# Kconfig - serial driver configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2014-2015 Wind River Systems, Inc.
|
|
|
|
#
|
2017-01-18 17:01:01 -08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2015-05-20 11:40:39 -05:00
|
|
|
#
|
|
|
|
|
2015-08-11 20:22:49 -07:00
|
|
|
menuconfig SERIAL
|
|
|
|
bool
|
|
|
|
prompt "Serial Drivers"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable options for serial drivers.
|
2015-05-20 11:40:39 -05:00
|
|
|
|
2015-08-11 20:22:49 -07:00
|
|
|
if SERIAL
|
2015-05-26 10:25:55 -04:00
|
|
|
|
2016-03-17 10:24:45 -07:00
|
|
|
comment "Capabilities"
|
|
|
|
|
2015-08-12 10:33:56 -07: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-24 18:17:13 -05:00
|
|
|
config UART_INTERRUPT_DRIVEN
|
2015-12-10 13: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-06 09: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-17 10:24:45 -07:00
|
|
|
comment "Serial Drivers"
|
|
|
|
|
2015-12-01 08:42:19 -08:00
|
|
|
source "drivers/serial/Kconfig.ns16550"
|
2015-08-05 12:13:36 -07:00
|
|
|
|
2015-12-01 08:42:19 -08:00
|
|
|
source "drivers/serial/Kconfig.k20"
|
2015-03-18 16:24:43 -06:00
|
|
|
|
2015-12-01 08:42:19 -08:00
|
|
|
source "drivers/serial/Kconfig.stellaris"
|
2015-05-26 10:25:55 -04:00
|
|
|
|
2015-12-01 08:42:19 -08:00
|
|
|
source "drivers/serial/Kconfig.nsim"
|
|
|
|
|
2016-01-20 21:10:59 -08:00
|
|
|
source "drivers/serial/Kconfig.atmel_sam3"
|
|
|
|
|
2016-02-26 14:51:28 -03:00
|
|
|
source "drivers/serial/Kconfig.qmsi"
|
|
|
|
|
2016-03-03 15:33:20 +01:00
|
|
|
source "drivers/serial/Kconfig.stm32"
|
|
|
|
|
2016-05-18 07:49:04 -07:00
|
|
|
source "drivers/serial/Kconfig.nrf5"
|
|
|
|
|
2016-06-20 14:11:35 -07:00
|
|
|
source "drivers/serial/Kconfig.altera_jtag"
|
|
|
|
|
2016-10-31 17:46:32 -07:00
|
|
|
source "drivers/serial/Kconfig.cc32xx"
|
|
|
|
|
2016-09-19 15:58:03 +01:00
|
|
|
source "drivers/serial/Kconfig.cmsdk_apb"
|
|
|
|
|
2017-01-11 00:24:31 +01:00
|
|
|
source "drivers/serial/Kconfig.riscv_qemu"
|
|
|
|
|
2015-08-11 20:22:49 -07:00
|
|
|
endif
|