Skip to content

Commit b938b87

Browse files
committed
drivers: timer: infineon pdl lp_timer
Add PDL-based low-power timer for the E84 board Signed-off-by: Bill Waters <bill.waters@infineon.com>
1 parent 9463d9a commit b938b87

File tree

4 files changed

+441
-0
lines changed

4 files changed

+441
-0
lines changed

drivers/timer/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ zephyr_library_sources_ifdef(CONFIG_ESP32_SYS_TIMER esp32_sys_timer.c)
1919
zephyr_library_sources_ifdef(CONFIG_GECKO_BURTC_TIMER gecko_burtc_timer.c)
2020
zephyr_library_sources_ifdef(CONFIG_HPET_TIMER hpet.c)
2121
zephyr_library_sources_ifdef(CONFIG_INFINEON_CAT1_LP_TIMER ifx_cat1_lp_timer.c)
22+
zephyr_library_sources_ifdef(CONFIG_INFINEON_CAT1_LP_TIMER_PDL ifx_cat1_lp_timer_pdl.c)
2223
zephyr_library_sources_ifdef(CONFIG_INTEL_ADSP_TIMER intel_adsp_timer.c)
2324
zephyr_library_sources_ifdef(CONFIG_ITE_IT51XXX_TIMER ite_it51xxx_timer.c)
2425
zephyr_library_sources_ifdef(CONFIG_ITE_IT8XXX2_TIMER ite_it8xxx2_timer.c)

drivers/timer/Kconfig.ifx_cat1_lp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,14 @@ config INFINEON_CAT1_LP_TIMER
1515
help
1616
This module implements a kernel device driver for the LowPower Timer
1717
and provides the standard "system clock driver" interfaces.
18+
19+
config INFINEON_CAT1_LP_TIMER_PDL
20+
bool "Infineon CAT1 Low Power Timer driver"
21+
default y
22+
depends on DT_HAS_INFINEON_CAT1_LP_TIMER_PDL_ENABLED
23+
depends on PM
24+
select USE_INFINEON_LPTIMER
25+
select TICKLESS_CAPABLE
26+
help
27+
This module implements a kernel device driver for the LowPower Timer
28+
and provides the standard "system clock driver" interfaces.

0 commit comments

Comments
 (0)