lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190312093012.g4rnis37nltzbygz@pengutronix.de>
Date:   Tue, 12 Mar 2019 10:30:12 +0100
From:   Uwe Kleine-König 
        <u.kleine-koenig@...gutronix.de>
To:     Vignesh Raghavendra <vigneshr@...com>
Cc:     Thierry Reding <thierry.reding@...il.com>,
        Rob Herring <robh+dt@...nel.org>, linux-pwm@...r.kernel.org,
        devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
        Linux ARM Mailing List <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH 2/2] pwm: Kconfig: Enable ehrpwm driver to be compiled
 for ARCH_K3

On Tue, Mar 12, 2019 at 02:46:29PM +0530, Vignesh Raghavendra wrote:
> K3 devices have the same EHRPWM IP as OMAP SoCs. Enable driver to be built
> for K3 devices. Also, drop reference to AM33xx in help text, as IP is
> found on multiple TI SoCs.
> 
> Signed-off-by: Vignesh Raghavendra <vigneshr@...com>
> ---
>  drivers/pwm/Kconfig | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
> index 54f8238aac0d..c054bd1dba36 100644
> --- a/drivers/pwm/Kconfig
> +++ b/drivers/pwm/Kconfig
> @@ -467,10 +467,9 @@ config  PWM_TIECAP
>  
>  config  PWM_TIEHRPWM
>  	tristate "EHRPWM PWM support"
> -	depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX
> +	depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_K3
>  	help
> -	  PWM driver support for the EHRPWM controller found on AM33XX
> -	  TI SOC
> +	  PWM driver support for the EHRPWM controller found on TI SOCs

It would be great to be able to compile this driver with COMPILE_TEST.
>From a quick look the following would be appropriate:

	depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_K3 || COMPILE_TEST
	depends on HAVE_CLK && HAS_IOMEM
 
Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ