soc: nxp: Add missing resolve of system timer cfg

These socs were missing a config line to disable SYSTICK if the LPTMR is
configured for the system timer, similar to how other SOCs do this for
alternative system timers than systick.

This fixes build errors in the case where that lptmr kconfig is enabled.

Also, the LPTMR kconfig should be default no because it is a secondary
option for the system timer, being lower resolution than systick. This
also resolves build errors.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
Declan Snyder 2025-03-12 09:14:59 -05:00 committed by Benjamin Cabé
commit f013e20bc5
6 changed files with 16 additions and 1 deletions

View file

@ -5,7 +5,7 @@
config MCUX_LPTMR_TIMER
bool "MCUX LPTMR timer"
default y
default n
depends on DT_HAS_NXP_KINETIS_LPTMR_ENABLED || \
MCUX_KINETIS_LPTMR
depends on !COUNTER_MCUX_LPTMR

View file

@ -3,6 +3,9 @@
if SOC_SERIES_IMXRT118X
config CORTEX_M_SYSTICK
default n if MCUX_LPTMR_TIMER
config NUM_IRQS
default 239

View file

@ -3,6 +3,9 @@
if SOC_SERIES_MCXA
config CORTEX_M_SYSTICK
default n if MCUX_LPTMR_TIMER
config NUM_IRQS
default 88

View file

@ -3,6 +3,9 @@
if SOC_SERIES_MCXC
config CORTEX_M_SYSTICK
default n if MCUX_LPTMR_TIMER
config NUM_IRQS
default 32

View file

@ -3,6 +3,9 @@
if SOC_SERIES_MCXN
config CORTEX_M_SYSTICK
default n if MCUX_LPTMR_TIMER
config MFD
default y if DT_HAS_NXP_LP_FLEXCOMM_ENABLED

View file

@ -3,6 +3,9 @@
if SOC_SERIES_MCXW
config CORTEX_M_SYSTICK
default n if MCUX_LPTMR_TIMER
config NUM_IRQS
default 77 if SOC_MCXW727C
default 75