zephyr/drivers/serial/Kconfig.k20
Daniel Leung 2a29e22c2f serial/k20: remove base addr, irq and clk freq from kconfig
The UART port base address, IRQ line and clock frequency are static
per SoC, so there is no need to make them configurable in Kconfig.

Change-Id: I79b142414143bc5ef585d3136a00375233de1723
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2016-03-26 20:36:32 -04:00

179 lines
4.0 KiB
Plaintext

menuconfig UART_K20
bool "K20 serial driver"
default n
select SERIAL_HAS_DRIVER
help
This option enables the K20 serial driver.
This specific driver can be used for the serial hardware
available at the Freescale FRDM K64F platform.
# ---------- Port 0 ----------
menuconfig UART_K20_PORT_0
bool "Enable K20 UART Port 0"
default n
depends on UART_K20
help
This tells the driver to configure the UART port at boot, depending on
the additional configure options below.
config UART_K20_PORT_0_NAME
string "Port 0 Device Name"
default "UART_0"
depends on UART_K20_PORT_0
help
This is the device name for UART, and is included in the device
struct.
config UART_K20_PORT_0_IRQ_PRI
int "Port 0 Interrupt Priority"
default 0
depends on UART_K20_PORT_0
help
The interrupt priority for UART port.
config UART_K20_PORT_0_BAUD_RATE
int "Port 0 Baud Rate"
default 0
depends on UART_K20_PORT_0
help
The baud rate for UART port to be set to at boot.
Leave at 0 to skip initialization.
# ---------- Port 1 ----------
menuconfig UART_K20_PORT_1
bool "Enable K20 UART Port 1"
default n
depends on UART_K20
help
This tells the driver to configure the UART port at boot, depending on
the additional configure options below.
config UART_K20_PORT_1_NAME
string "Port 1 Device Name"
default "UART_1"
depends on UART_K20_PORT_1
help
This is the device name for UART, and is included in the device
struct.
config UART_K20_PORT_1_IRQ_PRI
int "Port 1 Interrupt Priority"
default 0
depends on UART_K20_PORT_1
help
The interrupt priority for UART port.
config UART_K20_PORT_1_BAUD_RATE
int "Port 1 Baud Rate"
default 0
depends on UART_K20_PORT_1
help
The baud rate for UART port to be set to at boot.
Leave at 0 to skip initialization.
# ---------- Port 2 ----------
menuconfig UART_K20_PORT_2
bool "Enable K20 UART Port 2"
default n
depends on UART_K20
help
This tells the driver to configure the UART port at boot, depending on
the additional configure options below.
config UART_K20_PORT_2_NAME
string "Port 2 Device Name"
default "UART_2"
depends on UART_K20_PORT_2
help
This is the device name for UART, and is included in the device
struct.
config UART_K20_PORT_2_IRQ_PRI
int "Port 2 Interrupt Priority"
default 0
depends on UART_K20_PORT_2
help
The interrupt priority for UART port.
config UART_K20_PORT_2_BAUD_RATE
int "Port 2 Baud Rate"
default 0
depends on UART_K20_PORT_2
help
The baud rate for UART port to be set to at boot.
Leave at 0 to skip initialization.
# ---------- Port 3 ----------
menuconfig UART_K20_PORT_3
bool "Enable K20 UART Port 3"
default n
depends on UART_K20
help
This tells the driver to configure the UART port at boot, depending on
the additional configure options below.
config UART_K20_PORT_3_NAME
string "Port 3 Device Name"
default "UART_3"
depends on UART_K20_PORT_3
help
This is the device name for UART, and is included in the device
struct.
config UART_K20_PORT_3_IRQ_PRI
int "Port 3 Interrupt Priority"
default 0
depends on UART_K20_PORT_3
help
The interrupt priority for UART port.
config UART_K20_PORT_3_BAUD_RATE
int "Port 3 Baud Rate"
default 0
depends on UART_K20_PORT_3
help
The baud rate for UART port to be set to at boot.
Leave at 0 to skip initialization.
# ---------- Port 4 ----------
menuconfig UART_K20_PORT_4
bool "Enable K20 UART Port 4"
default n
depends on UART_K20
help
This tells the driver to configure the UART port at boot, depending on
the additional configure options below.
config UART_K20_PORT_4_NAME
string "Port 4 Device Name"
default "UART_4"
depends on UART_K20_PORT_4
help
This is the device name for UART, and is included in the device
struct.
config UART_K20_PORT_4_IRQ_PRI
int "Port 4 Interrupt Priority"
default 0
depends on UART_K20_PORT_4
help
The interrupt priority for UART port.
config UART_K20_PORT_4_BAUD_RATE
int "Port 4 Baud Rate"
default 0
depends on UART_K20_PORT_4
help
The baud rate for UART port to be set to at boot.
Leave at 0 to skip initialization.