soc: arm: nxp: ke1xf: add NXP Kinetis LPTMR

Indicate that the NXP Kinetis KE1xF SoC contains a Low Power Timer
(LPTMR) and default to enabling the corresponding driver if
CONFIG_COUNTER is enabled.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2020-02-04 20:06:57 +01:00 committed by Maureen Helm
commit 639ae0bcd7
2 changed files with 8 additions and 1 deletions

View file

@ -36,9 +36,15 @@ config WDT_MCUX_WDOG32
default y
depends on WATCHDOG
if COUNTER
config COUNTER_MCUX_RTC
default y
depends on COUNTER
config COUNTER_MCUX_LPTMR
default y
endif # COUNTER
config PWM_MCUX_FTM
default y

View file

@ -25,5 +25,6 @@ config SOC_SERIES_KINETIS_KE1XF
select HAS_MCUX_SCG
select HAS_MCUX_WDOG32
select HAS_MCUX_FTM
select HAS_MCUX_LPTMR
help
Enable support for Kinetis KE1xF MCU series