Zephyr has changed the rules for PINCTRL to use Kconfig select feature at the driver level instead of setting the Kconfig item directly in the board or application level. We updated the MEC5 UART serial driver Kconfig to select PINCTRL. Signed-off-by: Scott Worley <scott.worley@microchip.com>
29 lines
666 B
Plaintext
29 lines
666 B
Plaintext
# 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 PINCTRL
|
|
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
|