Microchip: MEC172x: Add UART driver
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>
This commit is contained in:
parent
fdd234f48f
commit
ad19104f28
9 changed files with 974 additions and 24 deletions
|
@ -42,6 +42,7 @@ zephyr_library_sources_ifdef(CONFIG_UART_NPCX uart_npcx.c)
|
|||
zephyr_library_sources_ifdef(CONFIG_UART_APBUART uart_apbuart.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_USB_CDC_ACM ${ZEPHYR_BASE}/misc/empty_file.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_UART_RCAR uart_rcar.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_UART_XEC uart_mchp_xec.c)
|
||||
|
||||
zephyr_library_sources_ifdef(CONFIG_USERSPACE uart_handlers.c)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue