zephyr/drivers/counter/Kconfig.dtmr_cmsdk_apb
Kumar Gala 0f1ed0f4a0 drivers: counter: Update drivers to use devicetree Kconfig symbol
Update counter 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-07-25 09:38:57 +02:00

13 lines
390 B
Plaintext

# Counter and timer configuration options
# Copyright (c) 2016 Linaro Limited
# SPDX-License-Identifier: Apache-2.0
config TIMER_DTMR_CMSDK_APB
bool "ARM CMSDK (Cortex-M System Design Kit) DTMR Timer driver"
default y
depends on DT_HAS_ARM_CMSDK_DTIMER_ENABLED
help
The dualtimer (DTMR) present in the platform is used as a timer.
This option enables the support for the timer.