0f1ed0f4a0
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>
20 lines
541 B
Plaintext
20 lines
541 B
Plaintext
# MCUXpresso SDK CTIMER
|
|
|
|
# Copyright (c) 2021 Toby firth
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config COUNTER_MCUX_CTIMER
|
|
bool "MCUX CTIMER driver"
|
|
default y
|
|
depends on DT_HAS_NXP_LPC_CTIMER_ENABLED
|
|
help
|
|
Enable support for MCUX CTIMER driver.
|
|
|
|
config COUNTER_MCUX_CTIMER_RESERVE_CHANNEL_FOR_SETTOP
|
|
bool "reserve a ctimer channel to set the top value"
|
|
default y
|
|
depends on COUNTER_MCUX_CTIMER
|
|
help
|
|
This reserves a CTimer channel to set the top value. Without
|
|
this the set top value can be set only to the max counter value.
|