zephyr/drivers/pwm/Kconfig.dw
Ulf Magnusson 378d6b137a kconfig: Replace non-defconfig single-symbol 'if's with 'depends on'
Same deal as in commit eddd98f811 ("kconfig: Replace some single-symbol
'if's with 'depends on'"), for the remaining cases outside defconfig
files. See that commit for an explanation.

Will do the defconfigs separately in case there are any complaints
there.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2020-02-12 10:32:34 -06:00

19 lines
504 B
Plaintext

# DesignWare PWM configuration options
# Copyright (c) 2016 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
menuconfig PWM_DW
bool "DesignWare PWM"
help
Enable driver to utilize PWM on the DesignWare Timer IP block.
Care must be taken if one is also to use the timer feature, as
they both use the same set of registers.
config PWM_DW_0_DRV_NAME
string "DesignWare PWM Device Name"
default "PWM_0"
depends on PWM_DW
help
Specify the device name for the DesignWare PWM driver.