zephyr/drivers/timer/Kconfig.mcux_gpt
Kumar Gala cc2c05a90c drivers: timer: Update drivers to use devicetree Kconfig symbol
Update timer drivers to use DT_HAS_<compat>_ENABLED Kconfig symbol
to expose the driver and enable it by default based on devicetree.

We remove 'depend on' Kconfig for symbols that would be implied by
the devicetree node existing.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-09-09 09:58:48 +00:00

14 lines
454 B
Plaintext

# Copyright (c) 2021 NXP
# SPDX-License-Identifier: Apache-2.0
config MCUX_GPT_TIMER
bool "MCUX GPT Event timer"
default y
depends on DT_HAS_NXP_GPT_HW_TIMER_ENABLED
select TICKLESS_CAPABLE
help
This module implements a kernel device driver for the NXP GPT timer,
and provides the standard "system clock driver" interfaces. It uses the
first GPT peripheral defined in the system, which can no longer be used
for the GPT counter driver.