1# Copyright (c) 2014-2015 Wind River Systems, Inc.
2# Copyright (c) 2016 Cadence Design Systems, Inc.
3# Copyright (c) 2019 Intel Corp.
4# SPDX-License-Identifier: Apache-2.0
5
6config MCUX_LPTMR_TIMER
7	bool "MCUX LPTMR timer"
8	default y
9	depends on DT_HAS_NXP_KINETIS_LPTMR_ENABLED || \
10		   MCUX_KINETIS_LPTMR
11	depends on !COUNTER_MCUX_LPTMR
12	select SYSTEM_TIMER_HAS_DISABLE_SUPPORT
13	help
14	  This module implements a kernel device driver for the NXP MCUX Low
15	  Power Timer (LPTMR) and provides the standard "system clock driver"
16	  interfaces.
17
18config MCUX_KINETIS_LPTMR
19	bool
20	default y
21	depends on DT_HAS_NXP_KINETIS_LPTMR_ENABLED
22	select DEPRECATED
23	help
24	  The compatible string "nxp,kinetis-lptmr" should
25	  be swiched to "nxp,lptmr" in DT. The former will
26	  be removed eventually.
27