Linux PWM subsystem development
 help / color / mirror / Atom feed
From: Vignesh Raghavendra <vigneshr@ti.com>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: Thierry Reding <thierry.reding@gmail.com>,
	Rob Herring <robh+dt@kernel.org>,
	"linux-pwm@vger.kernel.org" <linux-pwm@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Linux ARM Mailing List <linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH 2/2] pwm: Kconfig: Enable ehrpwm driver to be compiled for ARCH_K3
Date: Wed, 20 Mar 2019 14:35:49 +0530	[thread overview]
Message-ID: <a998ec1e-d734-b350-8b3f-99a5bb52b62a@ti.com> (raw)
In-Reply-To: <20190312093012.g4rnis37nltzbygz@pengutronix.de>

Hi,

On 12/03/19 3:00 PM, Uwe Kleine-König wrote:
> 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@ti.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
>  

Thanks for the suggestion! I will send a separate patch on top of this
series to enable COMPILE TEST for this driver and other TI PWM drivers.

> Best regards
> Uwe
> 

-- 
Regards
Vignesh

  reply	other threads:[~2019-03-20  9:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-12  9:16 [PATCH 0/2] pwm: tiehrpwm: Enable EHRPWM for AM654 SoCs Vignesh Raghavendra
2019-03-12  9:16 ` [PATCH 1/2] dt-bindings: pwm: tiehrpwm: Add TI AM654 SoC specific compatible Vignesh Raghavendra
2019-03-12  9:16 ` [PATCH 2/2] pwm: Kconfig: Enable ehrpwm driver to be compiled for ARCH_K3 Vignesh Raghavendra
2019-03-12  9:30   ` Uwe Kleine-König
2019-03-20  9:05     ` Vignesh Raghavendra [this message]
2019-03-20 11:33 ` [PATCH 0/2] pwm: tiehrpwm: Enable EHRPWM for AM654 SoCs Thierry Reding

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a998ec1e-d734-b350-8b3f-99a5bb52b62a@ti.com \
    --to=vigneshr@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pwm@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=thierry.reding@gmail.com \
    --cc=u.kleine-koenig@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox