Skip to content

Commit da18388

Browse files
[nrf fromlist] modules: hal_nordic: add support for TDM
Add HAL glue Kconfig options for TDM130 and TDM131. Upstream PR #: 82144 Signed-off-by: Adam Kondraciuk <[email protected]>
1 parent 8562468 commit da18388

File tree

2 files changed

+73
-0
lines changed

2 files changed

+73
-0
lines changed

modules/hal_nordic/nrfx/Kconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,19 @@ config NRFX_TBM
694694
bool "TBM driver"
695695
depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_TBM))
696696

697+
config NRFX_TDM
698+
bool
699+
700+
config NRFX_TDM130
701+
bool "TDM130 driver instance"
702+
depends on $(dt_nodelabel_has_compat,tdm130,$(DT_COMPAT_NORDIC_NRF_TDM))
703+
select NRFX_TDM
704+
705+
config NRFX_TDM131
706+
bool "TDM131 driver instance"
707+
depends on $(dt_nodelabel_has_compat,tdm131,$(DT_COMPAT_NORDIC_NRF_TDM))
708+
select NRFX_TDM
709+
697710
config NRFX_TEMP
698711
bool "TEMP driver"
699712
depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_TEMP))

modules/hal_nordic/nrfx/nrfx_config_nrf54h20_application.h

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,6 +1265,66 @@
12651265
#define NRFX_SYSTICK_ENABLED 0
12661266
#endif
12671267

1268+
/**
1269+
* @brief NRFX_TDM_ENABLED
1270+
*
1271+
* Boolean. Accepted values: 0 and 1.
1272+
*/
1273+
#ifndef NRFX_TDM_ENABLED
1274+
#define NRFX_TDM_ENABLED 0
1275+
#endif
1276+
1277+
/**
1278+
* @brief NRFX_TDM_DEFAULT_CONFIG_IRQ_PRIORITY
1279+
*
1280+
* Integer value. Minimum: 0. Maximum: 7.
1281+
*/
1282+
#ifndef NRFX_TDM_DEFAULT_CONFIG_IRQ_PRIORITY
1283+
#define NRFX_TDM_DEFAULT_CONFIG_IRQ_PRIORITY NRFX_DEFAULT_IRQ_PRIORITY
1284+
#endif
1285+
1286+
/**
1287+
* @brief NRFX_TDM_CONFIG_LOG_ENABLED
1288+
*
1289+
* Boolean. Accepted values: 0 and 1.
1290+
*/
1291+
#ifndef NRFX_TDM_CONFIG_LOG_ENABLED
1292+
#define NRFX_TDM_CONFIG_LOG_ENABLED 0
1293+
#endif
1294+
1295+
/**
1296+
* @brief NRFX_TDM_CONFIG_LOG_LEVEL
1297+
*
1298+
* Integer value.
1299+
* Supported values:
1300+
* - Off = 0
1301+
* - Error = 1
1302+
* - Warning = 2
1303+
* - Info = 3
1304+
* - Debug = 4
1305+
*/
1306+
#ifndef NRFX_TDM_CONFIG_LOG_LEVEL
1307+
#define NRFX_TDM_CONFIG_LOG_LEVEL 3
1308+
#endif
1309+
1310+
/**
1311+
* @brief NRFX_TDM130_ENABLED
1312+
*
1313+
* Boolean. Accepted values: 0 and 1.
1314+
*/
1315+
#ifndef NRFX_TDM130_ENABLED
1316+
#define NRFX_TDM130_ENABLED 0
1317+
#endif
1318+
1319+
/**
1320+
* @brief NRFX_TDM131_ENABLED
1321+
*
1322+
* Boolean. Accepted values: 0 and 1.
1323+
*/
1324+
#ifndef NRFX_TDM131_ENABLED
1325+
#define NRFX_TDM131_ENABLED 0
1326+
#endif
1327+
12681328
/**
12691329
* @brief NRFX_TEMP_ENABLED
12701330
*

0 commit comments

Comments
 (0)