Skip to content

Commit e7c025d

Browse files
duynguyenxakartben
authored andcommitted
drivers: spi: Initial support SPI driver on Renesas RX130
Initial commit for SPI driver support on RSK_RX130@512KB board with RSPI module Signed-off-by: Duy Nguyen <[email protected]> Signed-off-by: Minh Tang <[email protected]>
1 parent 22b373c commit e7c025d

File tree

7 files changed

+958
-0
lines changed

7 files changed

+958
-0
lines changed

drivers/spi/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ zephyr_library_sources_ifdef(CONFIG_SPI_PSOC6 spi_psoc6.c)
5050
zephyr_library_sources_ifdef(CONFIG_SPI_PW spi_pw.c)
5151
zephyr_library_sources_ifdef(CONFIG_SPI_RENESAS_RA spi_renesas_ra.c)
5252
zephyr_library_sources_ifdef(CONFIG_SPI_RENESAS_RA8 spi_b_renesas_ra8.c)
53+
zephyr_library_sources_ifdef(CONFIG_SPI_RENESAS_RX spi_renesas_rx.c)
5354
zephyr_library_sources_ifdef(CONFIG_SPI_RENESAS_RZ_RSPI spi_renesas_rz_rspi.c)
5455
zephyr_library_sources_ifdef(CONFIG_SPI_RPI_PICO_PIO spi_rpi_pico_pio.c)
5556
zephyr_library_sources_ifdef(CONFIG_SPI_RV32M1_LPSPI spi_rv32m1_lpspi.c)

drivers/spi/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ source "drivers/spi/Kconfig.psoc6"
128128
source "drivers/spi/Kconfig.pw"
129129
source "drivers/spi/Kconfig.renesas_ra"
130130
source "drivers/spi/Kconfig.renesas_ra8"
131+
source "drivers/spi/Kconfig.renesas_rx"
131132
source "drivers/spi/Kconfig.renesas_rz"
132133
source "drivers/spi/Kconfig.rpi_pico"
133134
source "drivers/spi/Kconfig.rv32m1_lpspi"

drivers/spi/Kconfig.renesas_rx

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Copyright (c) 2025 Renesas Electronics Corporation
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config SPI_RENESAS_RX
5+
bool "Renesas RX Series SPI Driver"
6+
default y
7+
depends on DT_HAS_RENESAS_RX_RSPI_ENABLED
8+
select USE_RX_RDP_RSPI
9+
help
10+
Enable Renesas RX series SPI driver.
11+
12+
if SPI_RENESAS_RX
13+
14+
config SPI_RENESAS_RX_INTERRUPT
15+
bool "RX MCU RSPI Interrupt Support"
16+
default y
17+
help
18+
Enable Interrupt Support for the RSPI Driver of RX family.
19+
20+
config SPI_RENESAS_RX_USE_HW_SS
21+
bool "RX MCU RSPI Hardware Slave Select support"
22+
default y
23+
help
24+
Use Slave Select pin instead of software Slave Select.
25+
26+
config SPI_RENESAS_RX_HIGH_SPEED_READ
27+
bool "RX MCU RSPI high speed read mode"
28+
default y
29+
help
30+
Enable high speed read mode of RX RSPI Driver
31+
32+
endif # SPI_RENESAS_RX

0 commit comments

Comments
 (0)