Skip to content

Commit 5110e4e

Browse files
committed
drivers: lin: initialize support for RA SCI_B LIN
Initial support for Renesas RA SCI_B LIN Signed-off-by: The Nguyen <[email protected]>
1 parent df71198 commit 5110e4e

File tree

10 files changed

+1029
-0
lines changed

10 files changed

+1029
-0
lines changed

drivers/lin/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ zephyr_library_sources_ifdef(CONFIG_USERSPACE lin_handlers.c)
1414
zephyr_library_sources_ifdef(CONFIG_LIN_SKELETON lin_skeleton.c)
1515
# zephyr-keep-sorted-stop
1616

17+
add_subdirectory(renesas/ra)
1718
add_subdirectory(transceiver)

drivers/lin/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ config LIN_AUTO_SYNCHRONIZATION
3434
Enable automatic synchronization of LIN frames. If disabled, the driver will not handle
3535
frame synchronization.
3636

37+
# zephyr-keep-sorted-start
3738
source "drivers/lin/Kconfig.skeleton"
39+
source "drivers/lin/renesas/ra/Kconfig.renesas_ra"
40+
# zephyr-keep-sorted-stop
3841

3942
source "drivers/lin/transceiver/Kconfig"
4043

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Copyright (c) 2025 Renesas Electronics Corporation
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
# zephyr-keep-sorted-start
5+
zephyr_library_sources_ifdef(CONFIG_LIN_RENESAS_RA lin_renesas_ra.c)
6+
zephyr_library_sources_ifdef(CONFIG_LIN_RENESAS_RA_SCI_B lin_renesas_ra_sci_b.c)
7+
# zephyr-keep-sorted-stop
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright (c) 2025 Renesas Electronics Corporation
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config LIN_RENESAS_RA
5+
bool
6+
help
7+
Enable Renesas RA LIN driver support
8+
9+
config LIN_RENESAS_RA_SCI_B
10+
bool "Renesas RA LIN SCI_B"
11+
default y
12+
depends on DT_HAS_RENESAS_RA_LIN_SCI_B_ENABLED
13+
select LIN_RENESAS_RA
14+
select USE_RA_FSP_SCI_B_LIN
15+
select PINCTRL
16+
help
17+
Enable Renesas RA LIN SCI_B driver

0 commit comments

Comments
 (0)