Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1497814

Re: [PATCH v2] pwm: add COMPILE_TEST and default y for brcm-iproc-pwm

From Ray Jui <ray.jui@broadcom.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] pwm: add COMPILE_TEST and default y for brcm-iproc-pwm
Date 2016-10-08 22:30 +0200
Message-ID <sq6pP-3fp-13@gated-at.bofh.it> (permalink)
References <sq3Lj-1vi-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Scott,

On 10/8/2016 10:36 AM, Scott Branden wrote:
> 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.
>
> Signed-off-by: Scott Branden <scott.branden@broadcom.com>
> ---
>   drivers/pwm/Kconfig | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
> index 80a566a..68cd13d 100644
> --- a/drivers/pwm/Kconfig
> +++ b/drivers/pwm/Kconfig
> @@ -76,7 +76,8 @@ config PWM_ATMEL_TCB
>   
>   config PWM_BCM_IPROC
>   	tristate "iProc PWM support"
> -	depends on ARCH_BCM_IPROC
> +	depends on ARCH_BCM_IPROC || COMPILE_TEST
Would be nice to also add a dependency on COMMON_CLK here.

> +	default ARCH_BCM_IPROC
>   	help
>   	  Generic PWM framework driver for Broadcom iProc PWM block. This
>   	  block is used in Broadcom iProc SoC's.

Thanks,

Ray

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] pwm: add COMPILE_TEST and default y for brcm-iproc-pwm Scott Branden <scott.branden@broadcom.com> - 2016-10-08 19:40 +0200
  Re: [PATCH v2] pwm: add COMPILE_TEST and default y for brcm-iproc-pwm Ray Jui <ray.jui@broadcom.com> - 2016-10-08 22:30 +0200
    Re: [PATCH v2] pwm: add COMPILE_TEST and default y for brcm-iproc-pwm Scott Branden <scott.branden@broadcom.com> - 2016-10-08 22:50 +0200

csiph-web