Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion drivers/timer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ zephyr_library_sources_ifdef(CONFIG_CORTEX_M_SYSTICK cortex_m_systick.c)
zephyr_library_sources_ifdef(CONFIG_ESP32_SYS_TIMER esp32_sys_timer.c)
zephyr_library_sources_ifdef(CONFIG_GECKO_BURTC_TIMER gecko_burtc_timer.c)
zephyr_library_sources_ifdef(CONFIG_HPET_TIMER hpet.c)
zephyr_library_sources_ifdef(CONFIG_INFINEON_CAT1_LP_TIMER infineon_lp_timer.c)
zephyr_library_sources_ifdef(CONFIG_INFINEON_LP_TIMER_HAL infineon_lp_timer.c)
zephyr_library_sources_ifdef(CONFIG_INFINEON_LP_TIMER_PDL infineon_lp_timer_pdl.c)
zephyr_library_sources_ifdef(CONFIG_INTEL_ADSP_TIMER intel_adsp_timer.c)
zephyr_library_sources_ifdef(CONFIG_ITE_IT51XXX_TIMER ite_it51xxx_timer.c)
zephyr_library_sources_ifdef(CONFIG_ITE_IT8XXX2_TIMER ite_it8xxx2_timer.c)
Expand Down
18 changes: 16 additions & 2 deletions drivers/timer/Kconfig.infineon_lp
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,27 @@
#
# SPDX-License-Identifier: Apache-2.0

config INFINEON_CAT1_LP_TIMER
config INFINEON_LP_TIMER_HAL
bool "Infineon CAT1 Low Power Timer driver"
default y
depends on DT_HAS_INFINEON_CAT1_LP_TIMER_ENABLED
depends on DT_HAS_INFINEON_LP_TIMER_ENABLED
depends on USE_INFINEON_LEGACY_HAL
depends on PM
select USE_INFINEON_LPTIMER
select TICKLESS_CAPABLE
help
This module implements a kernel device driver for the LowPower Timer
and provides the standard "system clock driver" interfaces. This implementation
is based on the Infineon Legacy HAL.

config INFINEON_LP_TIMER_PDL
bool "Infineon CAT1 Low Power Timer driver"
default y
depends on DT_HAS_INFINEON_LP_TIMER_ENABLED
depends on !USE_INFINEON_LEGACY_HAL
depends on PM
select USE_INFINEON_LPTIMER
select TICKLESS_CAPABLE
help
This module implements a PDL based kernel device driver for the LowPower Timer
and provides the standard "system clock driver" interfaces.
Loading