Commit d85cb222 authored by Emilio Benavente's avatar Emilio Benavente Committed by Johan Hedberg
Browse files

drivers: timer: updated lptmr_timer binding



Updated the lptmr timer binding from
nxp,kinetis-lptmr to nxp,lptmr.

Signed-off-by: default avatarEmilio Benavente <emilio.benavente@nxp.com>
parent c8d6f39e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -83,6 +83,10 @@
 * replace &os_timer with &systick
 */
&os_timer {
	status = "disabled";
};

&systick {
	status = "okay";
};

+0 −1
Original line number Diff line number Diff line
@@ -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
+5 −11
Original line number Diff line number Diff line
@@ -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