2016-02-27 01:51:28 +08:00
|
|
|
menuconfig UART_QMSI
|
|
|
|
depends on QMSI_DRIVERS
|
|
|
|
bool "QMSI UART driver"
|
|
|
|
default n
|
|
|
|
select SERIAL_HAS_DRIVER
|
|
|
|
help
|
|
|
|
This option enables the QMSI UART driver.
|
|
|
|
|
|
|
|
This driver is simply a shim driver based on the UART driver
|
|
|
|
provided by the QMSI BSP. For more information about QMSI BSP
|
|
|
|
see CONFIG_QMSI_DRIVERS.
|
|
|
|
|
|
|
|
config UART_QMSI_0
|
|
|
|
depends on UART_QMSI
|
|
|
|
bool "Enable UART 0 controller"
|
|
|
|
default n
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
2016-03-03 06:19:59 +08:00
|
|
|
config UART_QMSI_0_IRQ
|
|
|
|
depends on UART_QMSI_0
|
|
|
|
int "IRQ number from UART_0 controller"
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
config UART_QMSI_1_IRQ
|
|
|
|
depends on UART_QMSI_1
|
|
|
|
int "IRQ number from UART_1 controller"
|
|
|
|
|
|
|
|
config UART_QMSI_1_IRQ_PRI
|
|
|
|
depends on UART_QMSI_1
|
|
|
|
int "IRQ priority from UART_1 controller"
|