Skip to content

Commit 3123f91

Browse files
facchinmpillo79
authored andcommitted
drivers: renesas: add I2C over SCI support
Requires zephyrproject-rtos/hal_renesas#105
1 parent 11d6e33 commit 3123f91

File tree

5 files changed

+788
-0
lines changed

5 files changed

+788
-0
lines changed

drivers/i2c/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ zephyr_library_sources_ifdef(CONFIG_I2C_NXP_II2C i2c_nxp_ii2c.c)
5555
zephyr_library_sources_ifdef(CONFIG_I2C_OMAP i2c_omap.c)
5656
zephyr_library_sources_ifdef(CONFIG_I2C_RCAR i2c_rcar.c)
5757
zephyr_library_sources_ifdef(CONFIG_I2C_RENESAS_RA_IIC i2c_renesas_ra_iic.c)
58+
zephyr_library_sources_ifdef(CONFIG_I2C_RENESAS_RA_SCI i2c_renesas_ra_sci.c)
5859
zephyr_library_sources_ifdef(CONFIG_I2C_RENESAS_RA_SCI_B i2c_renesas_ra_sci_b.c)
5960
zephyr_library_sources_ifdef(CONFIG_I2C_RENESAS_RX_RIIC i2c_renesas_rx_riic.c)
6061
zephyr_library_sources_ifdef(CONFIG_I2C_RENESAS_RZ_RIIC i2c_renesas_rz_riic.c)

drivers/i2c/Kconfig.renesas_ra

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,23 @@ config I2C_RENESAS_RA_SCI_B_DTC
3131
Enable DTC on transmission and reception
3232

3333
endif
34+
35+
config I2C_RENESAS_RA_SCI
36+
bool "Renesas RA SCI I2C"
37+
default y
38+
depends on DT_HAS_RENESAS_RA_I2C_SCI_ENABLED
39+
select USE_RA_FSP_SCI_I2C
40+
select PINCTRL
41+
help
42+
Enable Renesas RA SCI I2C Driver.
43+
44+
if I2C_RENESAS_RA_SCI
45+
46+
config I2C_RENESAS_RA_SCI_DTC
47+
bool "DTC on Transmission and Reception"
48+
default y
49+
select USE_RA_FSP_DTC
50+
help
51+
Enable DTC on transmission and reception
52+
53+
endif

0 commit comments

Comments
 (0)