2016-02-27 01:51:28 +08:00
|
|
|
menuconfig UART_QMSI
|
2016-04-17 09:02:30 +08:00
|
|
|
depends on QMSI
|
2016-02-27 01:51:28 +08:00
|
|
|
bool "QMSI UART driver"
|
|
|
|
default n
|
|
|
|
select SERIAL_HAS_DRIVER
|
2017-06-23 00:26:58 +08:00
|
|
|
select SERIAL_SUPPORT_INTERRUPT
|
2016-02-27 01:51:28 +08:00
|
|
|
help
|
|
|
|
This option enables the QMSI UART driver.
|
|
|
|
|
|
|
|
This driver is simply a shim driver based on the UART driver
|
2016-04-17 09:02:30 +08:00
|
|
|
provided by the QMSI BSP.
|
2016-02-27 01:51:28 +08:00
|
|
|
|
|
|
|
config UART_QMSI_0
|
|
|
|
depends on UART_QMSI
|
|
|
|
bool "Enable UART 0 controller"
|
|
|
|
default n
|
|
|
|
|
2017-06-23 01:39:53 +08:00
|
|
|
if !HAS_DTS
|
2016-02-27 01:51:28 +08:00
|
|
|
config UART_QMSI_0_NAME
|
|
|
|
depends on UART_QMSI_0
|
|
|
|
string "UART_0 device name"
|
|
|
|
default "UART_0"
|
|
|
|
help
|
|
|
|
This option holds the UART_0 device name. If unsure, use the
|
|
|
|
default name.
|
|
|
|
|
2016-03-01 22:25:43 +08:00
|
|
|
config UART_QMSI_0_BAUDRATE
|
|
|
|
depends on UART_QMSI_0
|
|
|
|
int "UART_0 baud rate"
|
|
|
|
default 115200
|
|
|
|
help
|
|
|
|
This option sets the baud rate from the UART_0 device.
|
2017-06-23 01:39:53 +08:00
|
|
|
endif
|
2016-03-01 22:25:43 +08:00
|
|
|
|
2016-04-25 17:44:35 +08:00
|
|
|
config UART_QMSI_0_HW_FC
|
|
|
|
depends on UART_QMSI_0
|
|
|
|
bool "HW flow control for UART_0 controller"
|
|
|
|
|
2016-03-03 06:19:59 +08:00
|
|
|
config UART_QMSI_0_IRQ_PRI
|
|
|
|
depends on UART_QMSI_0
|
|
|
|
int "IRQ priority from UART_0 controller"
|
|
|
|
|
2016-02-27 01:51:28 +08:00
|
|
|
config UART_QMSI_1
|
|
|
|
depends on UART_QMSI
|
|
|
|
bool "Enable UART 1 controller"
|
|
|
|
default n
|
|
|
|
|
2017-06-23 01:39:53 +08:00
|
|
|
if !HAS_DTS
|
2016-02-27 01:51:28 +08:00
|
|
|
config UART_QMSI_1_NAME
|
|
|
|
depends on UART_QMSI_1
|
|
|
|
string "UART_1 device name"
|
|
|
|
default "UART_1"
|
|
|
|
help
|
|
|
|
This option holds the UART_1 device name. If unsure, use the
|
|
|
|
default name.
|
2016-03-01 22:25:43 +08:00
|
|
|
|
|
|
|
config UART_QMSI_1_BAUDRATE
|
|
|
|
depends on UART_QMSI_1
|
|
|
|
int "UART_1 baud rate"
|
|
|
|
default 115200
|
|
|
|
help
|
2016-03-03 06:19:59 +08:00
|
|
|
This option sets the baud rate from the UART_1 device.
|
2017-06-23 01:39:53 +08:00
|
|
|
endif
|
2016-03-03 06:19:59 +08:00
|
|
|
|
2016-04-25 17:44:35 +08:00
|
|
|
config UART_QMSI_1_HW_FC
|
|
|
|
depends on UART_QMSI_1
|
|
|
|
bool "HW flow control for UART_1 controller"
|
|
|
|
|
2016-03-03 06:19:59 +08:00
|
|
|
config UART_QMSI_1_IRQ_PRI
|
|
|
|
depends on UART_QMSI_1
|
2016-04-17 09:02:30 +08:00
|
|
|
int "IRQ priority from UART_1 controller"
|