885087b328
Update pwm 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>
21 lines
464 B
Plaintext
21 lines
464 B
Plaintext
# MCUXpresso SDK FTM PWM
|
|
|
|
# Copyright (c) 2017, NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config PWM_MCUX_FTM
|
|
bool "MCUX FTM PWM driver"
|
|
default y
|
|
depends on DT_HAS_NXP_KINETIS_FTM_PWM_ENABLED
|
|
select PINCTRL
|
|
help
|
|
Enable support for mcux ftm pwm driver.
|
|
|
|
config PWM_CAPTURE_MCUX_FTM_FILTER_VALUE
|
|
int "MCUX FTM PWM capture filter value"
|
|
depends on PWM_MCUX_FTM && PWM_CAPTURE
|
|
range 0 15
|
|
default 0
|
|
help
|
|
PWM capture filter value for channels 0 and 2.
|