ad19104f28
Microchip XEC has been using the standard NS16550 driver. Using the standard NS16550 driver requires extra HW programming for XEC UART in board level and did not support XEC GIRQ interrupt programming. We add an XEC specific driver and remove UART specific register programming from the board level and implement interrupt support. Also, by implementing a SoC specific driver we can add driver PM in the future. Signed-off-by: Scott Worley <scott.worley@microchip.com>
26 lines
587 B
Plaintext
26 lines
587 B
Plaintext
# Microchip XEC UART configuration options
|
|
|
|
# Copyright (c) 2021 Microchip Technology Inc.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config UART_XEC
|
|
bool "Microchip XEC family UART driver"
|
|
depends on SOC_FAMILY_MEC
|
|
select SERIAL_HAS_DRIVER
|
|
select SERIAL_SUPPORT_INTERRUPT
|
|
help
|
|
This option enables the UARTx driver for Microchip XEC MCUs.
|
|
|
|
if UART_XEC
|
|
|
|
config UART_XEC_LINE_CTRL
|
|
bool "Enable Serial Line Control for Apps"
|
|
depends on UART_LINE_CTRL
|
|
help
|
|
This enables the API for apps to control the serial line,
|
|
such as CTS and RTS.
|
|
|
|
Says n if not sure.
|
|
|
|
endif # UART_XEC
|