Skip to content

Commit

Permalink
drivers: serial: Add Intel SEDI driver
Browse files Browse the repository at this point in the history
Adds a new serial shim driver for Intel SoCs. Builds upon the SEDI bare
metal UART driver in the hal-intel module.

(cherry picked from commit 9f6d6a0)

Cq-Depend: chrome-internal:6240972
Original-Signed-off-by: Nachiketa Kumar <nachiketa.kumar@intel.com>
Original-Signed-off-by: Dong Wang <dong.d.wang@intel.com>
GitOrigin-RevId: 9f6d6a0
Change-Id: Id5361add34d329fc7dbb0297a7fc6ad01715482f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/4731069
Tested-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Tested-by: Yuval Peress <peress@google.com>
Reviewed-by: Yuval Peress <peress@google.com>
Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Commit-Queue: Keith Short <keithshort@chromium.org>
  • Loading branch information
kumarnac authored and Chromeos LUCI committed Aug 2, 2023
1 parent d1a2142 commit 98dd662
Show file tree
Hide file tree
Showing 5 changed files with 631 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/serial/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ zephyr_library_sources_ifdef(CONFIG_UART_HOSTLINK uart_hostlink.c)
zephyr_library_sources_ifdef(CONFIG_UART_EMUL uart_emul.c)
zephyr_library_sources_ifdef(CONFIG_UART_NUMAKER uart_numaker.c)
zephyr_library_sources_ifdef(CONFIG_UART_EFINIX_SAPPIHIRE uart_efinix_sapphire.c)
zephyr_library_sources_ifdef(CONFIG_UART_SEDI uart_sedi.c)

zephyr_library_sources_ifdef(CONFIG_USERSPACE uart_handlers.c)

Expand Down
2 changes: 2 additions & 0 deletions drivers/serial/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -239,4 +239,6 @@ source "drivers/serial/Kconfig.numaker"

source "drivers/serial/Kconfig.efinix_sapphire"

source "drivers/serial/Kconfig.sedi"

endif # SERIAL
15 changes: 15 additions & 0 deletions drivers/serial/Kconfig.sedi
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright (c) 2023 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#

config UART_SEDI
bool "Intel SEDI UART driver"
default y
depends on DT_HAS_INTEL_SEDI_UART_ENABLED
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT
help
This option enables the Intel SEDI UART driver.
This driver is simply a shim driver built upon the SEDI
bare metal UART driver in the hal-intel module
Loading

0 comments on commit 98dd662

Please sign in to comment.