-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: serial: mec5: Microchip MEC5 UART serial driver
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 <[email protected]>
- Loading branch information
Showing
5 changed files
with
746 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# 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 |
Oops, something went wrong.