modules: hal_nordic: nrfx: add support for nRF54 TWIS

Add Kconfig-to-nrfx symbol redefinitions so that TWIS instances
found on nRF54H20 and nRF54L15 devices are supported.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
This commit is contained in:
Nikodem Kastelik 2024-04-12 13:46:45 +02:00 committed by Fabio Baltieri
parent a7a6119bf9
commit 9711b37e7b
2 changed files with 96 additions and 0 deletions

View file

@ -771,6 +771,66 @@ config NRFX_TWIS3
depends on $(dt_nodelabel_has_compat,i2c3,$(DT_COMPAT_NORDIC_NRF_TWIS))
select NRFX_TWIS
config NRFX_TWIS20
bool "TWIS20 driver instance"
depends on $(dt_nodelabel_has_compat,i2c20,$(DT_COMPAT_NORDIC_NRF_TWIS))
select NRFX_TWIS
config NRFX_TWIS21
bool "TWIS21 driver instance"
depends on $(dt_nodelabel_has_compat,i2c21,$(DT_COMPAT_NORDIC_NRF_TWIS))
select NRFX_TWIS
config NRFX_TWIS22
bool "TWIS22 driver instance"
depends on $(dt_nodelabel_has_compat,i2c22,$(DT_COMPAT_NORDIC_NRF_TWIS))
select NRFX_TWIS
config NRFX_TWIS30
bool "TWIS30 driver instance"
depends on $(dt_nodelabel_has_compat,i2c30,$(DT_COMPAT_NORDIC_NRF_TWIS))
select NRFX_TWIS
config NRFX_TWIS130
bool "TWIS130 driver instance"
depends on $(dt_nodelabel_has_compat,i2c130,$(DT_COMPAT_NORDIC_NRF_TWIS))
select NRFX_TWIS
config NRFX_TWIS131
bool "TWIS131 driver instance"
depends on $(dt_nodelabel_has_compat,i2c131,$(DT_COMPAT_NORDIC_NRF_TWIS))
select NRFX_TWIS
config NRFX_TWIS132
bool "TWIS132 driver instance"
depends on $(dt_nodelabel_has_compat,i2c132,$(DT_COMPAT_NORDIC_NRF_TWIS))
select NRFX_TWIS
config NRFX_TWIS133
bool "TWIS133 driver instance"
depends on $(dt_nodelabel_has_compat,i2c133,$(DT_COMPAT_NORDIC_NRF_TWIS))
select NRFX_TWIS
config NRFX_TWIS134
bool "TWIS134 driver instance"
depends on $(dt_nodelabel_has_compat,i2c134,$(DT_COMPAT_NORDIC_NRF_TWIS))
select NRFX_TWIS
config NRFX_TWIS135
bool "TWIS135 driver instance"
depends on $(dt_nodelabel_has_compat,i2c135,$(DT_COMPAT_NORDIC_NRF_TWIS))
select NRFX_TWIS
config NRFX_TWIS136
bool "TWIS136 driver instance"
depends on $(dt_nodelabel_has_compat,i2c136,$(DT_COMPAT_NORDIC_NRF_TWIS))
select NRFX_TWIS
config NRFX_TWIS137
bool "TWIS137 driver instance"
depends on $(dt_nodelabel_has_compat,i2c137,$(DT_COMPAT_NORDIC_NRF_TWIS))
select NRFX_TWIS
config NRFX_UART
bool

View file

@ -679,6 +679,42 @@
#ifdef CONFIG_NRFX_TWIS3
#define NRFX_TWIS3_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TWIS20
#define NRFX_TWIS20_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TWIS21
#define NRFX_TWIS21_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TWIS22
#define NRFX_TWIS22_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TWIS30
#define NRFX_TWIS30_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TWIS130
#define NRFX_TWIS130_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TWIS131
#define NRFX_TWIS131_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TWIS132
#define NRFX_TWIS132_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TWIS133
#define NRFX_TWIS133_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TWIS134
#define NRFX_TWIS134_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TWIS135
#define NRFX_TWIS135_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TWIS136
#define NRFX_TWIS136_ENABLED 1
#endif
#ifdef CONFIG_NRFX_TWIS137
#define NRFX_TWIS137_ENABLED 1
#endif
#ifdef CONFIG_NRFX_UART
#define NRFX_UART_ENABLED 1