We add a serial UART driver for Microchip MEC5 HAL based chips. The driver supports polling, interrupts, and runtime configuration features. Power management will be implemented in a future PR. Signed-off-by: Scott Worley <scott.worley@microchip.com>
27 lines
650 B
Text
27 lines
650 B
Text
# Microchip MEC5 UART
|
|
|
|
# Copyright (c) 2024 Microchip Technology Inc.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config UART_MCHP_MEC5
|
|
bool "Microchip MEC5 family ns16550 compatible UART driver"
|
|
default y
|
|
depends on DT_HAS_MICROCHIP_MEC5_UART_ENABLED
|
|
select SERIAL_HAS_DRIVER
|
|
select SERIAL_SUPPORT_INTERRUPT
|
|
help
|
|
This option enables the UART driver for Microchip MEC5
|
|
family processors.
|
|
|
|
if UART_MCHP_MEC5
|
|
|
|
config UART_MCHP_MEC5_LINE_CTRL
|
|
bool "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_MCHP_MEC5
|