Skip to content

Commit 9f6d6a0

Browse files
kumarnaccarlescufi
authored andcommitted
drivers: serial: Add Intel SEDI driver
Adds a new serial shim driver for Intel SoCs. Builds upon the SEDI bare metal UART driver in the hal-intel module. Signed-off-by: Nachiketa Kumar <[email protected]> Signed-off-by: Dong Wang <[email protected]>
1 parent 4e3ec62 commit 9f6d6a0

File tree

5 files changed

+631
-0
lines changed

5 files changed

+631
-0
lines changed

drivers/serial/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ zephyr_library_sources_ifdef(CONFIG_UART_HOSTLINK uart_hostlink.c)
6363
zephyr_library_sources_ifdef(CONFIG_UART_EMUL uart_emul.c)
6464
zephyr_library_sources_ifdef(CONFIG_UART_NUMAKER uart_numaker.c)
6565
zephyr_library_sources_ifdef(CONFIG_UART_EFINIX_SAPPIHIRE uart_efinix_sapphire.c)
66+
zephyr_library_sources_ifdef(CONFIG_UART_SEDI uart_sedi.c)
6667

6768
zephyr_library_sources_ifdef(CONFIG_USERSPACE uart_handlers.c)
6869

drivers/serial/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,4 +239,6 @@ source "drivers/serial/Kconfig.numaker"
239239

240240
source "drivers/serial/Kconfig.efinix_sapphire"
241241

242+
source "drivers/serial/Kconfig.sedi"
243+
242244
endif # SERIAL

drivers/serial/Kconfig.sedi

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Copyright (c) 2023 Intel Corporation
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
6+
config UART_SEDI
7+
bool "Intel SEDI UART driver"
8+
default y
9+
depends on DT_HAS_INTEL_SEDI_UART_ENABLED
10+
select SERIAL_HAS_DRIVER
11+
select SERIAL_SUPPORT_INTERRUPT
12+
help
13+
This option enables the Intel SEDI UART driver.
14+
This driver is simply a shim driver built upon the SEDI
15+
bare metal UART driver in the hal-intel module

0 commit comments

Comments
 (0)