drivers: timer: updated lptmr_timer binding
Updated the lptmr timer binding from nxp,kinetis-lptmr to nxp,lptmr. Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
This commit is contained in:
parent
c8d6f39e11
commit
d85cb222e4
3 changed files with 9 additions and 12 deletions
|
@ -83,6 +83,10 @@
|
|||
* replace &os_timer with &systick
|
||||
*/
|
||||
&os_timer {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&systick {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
@ -9,7 +9,6 @@ config MCUX_LPTMR_TIMER
|
|||
depends on DT_HAS_NXP_KINETIS_LPTMR_ENABLED || \
|
||||
MCUX_KINETIS_LPTMR
|
||||
depends on !COUNTER_MCUX_LPTMR
|
||||
depends on PM
|
||||
select SYSTEM_TIMER_HAS_DISABLE_SUPPORT
|
||||
help
|
||||
This module implements a kernel device driver for the NXP MCUX Low
|
||||
|
|
|
@ -12,18 +12,12 @@ config ROM_START_OFFSET
|
|||
config ZTEST_NO_YIELD
|
||||
default y if (PM && ZTEST)
|
||||
|
||||
if MCUX_OS_TIMER
|
||||
config MCUX_LPTMR_TIMER
|
||||
default n if (DT_HAS_NXP_OS_TIMER_ENABLED || DT_HAS_ARM_ARMV8M_SYSTICK_ENABLED)
|
||||
|
||||
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
||||
default 1000000
|
||||
|
||||
endif # MCUX_OS_TIMER
|
||||
|
||||
if CORTEX_M_SYSTICK
|
||||
|
||||
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
||||
default 150000000
|
||||
|
||||
endif # CORTEX_M_SYSTICK
|
||||
default 1000000 if MCUX_OS_TIMER
|
||||
default 16000 if MCUX_LPTMR_TIMER
|
||||
default 150000000 if CORTEX_M_SYSTICK
|
||||
|
||||
endif # SOC_SERIES_MCXNX4X
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue