Skip to content

Commit 9f22c89

Browse files
ene-stevenfabiobaltieri
authored andcommitted
drivers: uart: initial device driver for ENE KB1200
Add uart driver for ENE KB1200 Signed-off-by: Steven Chang <[email protected]>
1 parent 543d550 commit 9f22c89

File tree

4 files changed

+395
-0
lines changed

4 files changed

+395
-0
lines changed

drivers/serial/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ zephyr_library_sources_ifdef(CONFIG_UART_SEDI uart_sedi.c)
7373
zephyr_library_sources_ifdef(CONFIG_UART_BCM2711_MU uart_bcm2711.c)
7474
zephyr_library_sources_ifdef(CONFIG_UART_INTEL_LW uart_intel_lw.c)
7575
zephyr_library_sources_ifdef(CONFIG_UART_RENESAS_RA uart_renesas_ra.c)
76+
zephyr_library_sources_ifdef(CONFIG_UART_ENE_KB1200 uart_ene_kb1200.c)
7677
zephyr_library_sources_ifdef(CONFIG_UART_RZT2M uart_rzt2m.c)
7778

7879
zephyr_library_sources_ifdef(CONFIG_USERSPACE uart_handlers.c)

drivers/serial/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,8 @@ source "drivers/serial/Kconfig.intel_lw"
270270

271271
source "drivers/serial/Kconfig.renesas_ra"
272272

273+
source "drivers/serial/Kconfig.ene"
274+
273275
source "drivers/serial/Kconfig.rzt2m"
274276

275277
endif # SERIAL

drivers/serial/Kconfig.ene

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Copyright (c) 2023 ENE Technology Inc.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config UART_ENE_KB1200
5+
bool "ENE KB1200 serial driver"
6+
default y
7+
depends on DT_HAS_ENE_KB1200_UART_ENABLED
8+
select SERIAL_HAS_DRIVER
9+
select SERIAL_SUPPORT_INTERRUPT
10+
select PINCTRL
11+
help
12+
This option enables the KB1200 serial driver.

0 commit comments

Comments
 (0)