pwm: add depends, COMPILE_TEST and default y for brcm-iproc-pwm
PATCH v3 1/1 pwm: add depends, COMPILE_TEST and default y for brcm-iproc-pwm
- Add depends on COMMON_CLK for PWM_BCM_IPROC
- Enable COMPILE_TEST for broader compile coverage.
- Default y for IPROC PWM driver for IPROC SoCs. This allows you to turn it on simply by selecting CONFIG_PWM.
--- drivers/pwm/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/pwm/Kconfig +3 -1
@@ -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.
Signature · 1 line
2.5.0
Quoted 16 lines · Scott Branden
- Add depends on
COMMON_CLKforPWM_BCM_IPROC
- EnableCOMPILE_TESTfor broader compile coverage.
- Default y for IPROC PWM driver for IPROC SoCs. This allows you to turn it on simply by selectingCONFIG_PWM.Signed-off-by Scott Branden <[email protected]>--- drivers/pwm/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)drivers/pwm/Kconfig +0
-0
drivers/pwm/Kconfig config PWM_ATMEL_TCB · line 84
Quoted 10 lines
drivers/pwm/Kconfig +3
-1@@ -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.
Looks good to me!
Hi Thierry,
Could you pick up this patch?
Quoted 33 lines · Ray Jui
Quoted 16 lines · Scott Branden
- Add depends on
COMMON_CLKforPWM_BCM_IPROC
- EnableCOMPILE_TESTfor broader compile coverage.
- Default y for IPROC PWM driver for IPROC SoCs. This allows you to turn it on simply by selectingCONFIG_PWM.Signed-off-by Scott Branden <[email protected]>--- drivers/pwm/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)drivers/pwm/Kconfig +0
-0drivers/pwm/Kconfig config PWM_ATMEL_TCB · line 84
Quoted 10 lines
drivers/pwm/Kconfig +3
-1@@ -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.Looks good to me!
Reviewed-by Ray Jui <[email protected]>
Quoted 9 lines · Scott Branden
- Add depends on
COMMON_CLKforPWM_BCM_IPROC
- EnableCOMPILE_TESTfor broader compile coverage.
- Default y for IPROC PWM driver for IPROC SoCs. This allows you to turn it on simply by selectingCONFIG_PWM.Signed-off-by Scott Branden <[email protected]>--- drivers/pwm/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Applied with a slightly modified commit message.
Thanks,
Thierry