aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Branden <[email protected]>2016-10-08 20:54:05 +0000
committerThierry Reding <[email protected]>2017-01-18 23:38:17 +0000
commit5bf22ff32e736beb8ba91a99a3e116d12e7eabd0 (patch)
tree20e15bf305f3d988b4060e59b3fb02e4e2445d97
parentpwm: pca9685: Allow any of the 16 PWMs to be used as a GPIO (diff)
downloadkernel-5bf22ff32e736beb8ba91a99a3e116d12e7eabd0.tar.gz
kernel-5bf22ff32e736beb8ba91a99a3e116d12e7eabd0.zip
pwm: bcm-iproc: Update dependencies for compile-test
Add dependency on COMMON_CLK and allow COMPILE_TEST for broader compile coverage. Default to Y for IPROC SoCs. This allows the driver to simply be enabled by selecting PWM. Signed-off-by: Scott Branden <[email protected]> Reviewed-by: Ray Jui <[email protected]> [[email protected]: reword commit message] Signed-off-by: Thierry Reding <[email protected]>
-rw-r--r--drivers/pwm/Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index f92dd41b0395..704b0b8f65c1 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -76,7 +76,9 @@ config PWM_ATMEL_TCB
config PWM_BCM_IPROC
tristate "iProc PWM support"
- depends on ARCH_BCM_IPROC
+ depends on ARCH_BCM_IPROC || COMPILE_TEST
+ depends on COMMON_CLK
+ default ARCH_BCM_IPROC
help
Generic PWM framework driver for Broadcom iProc PWM block. This
block is used in Broadcom iProc SoC's.