zephyr/drivers/pwm/Kconfig.imx
Ulf Magnusson f46e391f06 kconfig: pwm: Remove redundant deps. and clean up a bit
- Remove redundant dependencies on the PWM symbol (which show up as
   PWM && PWM in the documentation). The 'source's in
   drivers/pwm/Kconfig are already within an 'if PWM' block.

 - Turn some repeated 'depends on FOO' into 'if FOO' blocks.

 - Turn some 'if FOO's that surround a single symbol into
   'depends on FOO'.

'if FOO' is equivalent to adding a 'depends on FOO' to each symbol
within the 'if'.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-03-01 13:50:06 -06:00

19 lines
363 B
Plaintext

# Kconfig - i.MX PWM Config
#
# Copyright (c) 2018, Diego Sueiro
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig PWM_IMX
bool "i.MX PWM Driver"
help
Enable support for i.MX pwm driver.
config PWM_PWMSWR_LOOP
int "Loop count for PWM Software Reset"
default 5
depends on PWM_IMX
help
Loop count for PWM Software Reset when disabling PWM channel.