zephyr/drivers/pwm/Kconfig.dw
Ulf Magnusson f30b163624 drivers: pwm: Kconfig: Remove redundant 'default n' properties
Bool symbols implicitly default to 'n'.

A 'default n' can make sense e.g. in a Kconfig.defconfig file, if you
want to override a 'default y' on the base definition of the symbol. It
isn't used like that on any of these symbols though, and is
inconsistent.

This will make the auto-generated Kconfig documentation have "No
defaults. Implicitly defaults to n." as well, which is clearer than
'default n if ...'

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2018-07-03 17:11:31 -04:00

27 lines
567 B
Plaintext

# Kconfig.dw - DesignWare PWM configuration options
#
#
# Copyright (c) 2016 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig PWM_DW
bool "DesignWare PWM"
depends on 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.
if PWM_DW
config PWM_DW_0_DRV_NAME
string "DesignWare PWM Device Name"
depends on PWM_DW
default "PWM_0"
help
Specify the device name for the DesignWare PWM driver.
endif # PWM_DW