linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] pwm-tiecap: Add support for AM654 SoCs
@ 2018-10-16  6:04 Vignesh R
  2018-10-16  6:04 ` [PATCH v2 1/2] dt-bindings: pwm: tiecap: Add TI AM654 SoC specific compatible Vignesh R
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Vignesh R @ 2018-10-16  6:04 UTC (permalink / raw)
  To: Thierry Reding
  Cc: Rob Herring, linux-pwm, devicetree, linux-kernel, Vignesh R,
	Linux ARM Mailing List, Andrew Davis

Couple of patches to enable pwm-tiecap driver to be used with TI's new
AM654 platforms.

Vignesh R (2):
  dt-bindings: pwm: tiecap: Add TI AM654 SoC specific compatible
  pwm: Kconfig: Enable TI ECAP driver for ARCH_K3

 Documentation/devicetree/bindings/pwm/pwm-tiecap.txt | 1 +
 drivers/pwm/Kconfig                                  | 5 ++---
 2 files changed, 3 insertions(+), 3 deletions(-)

-- 
2.19.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v2 1/2] dt-bindings: pwm: tiecap: Add TI AM654 SoC specific compatible
  2018-10-16  6:04 [PATCH v2 0/2] pwm-tiecap: Add support for AM654 SoCs Vignesh R
@ 2018-10-16  6:04 ` Vignesh R
  2018-10-16  6:04 ` [PATCH v2 2/2] pwm: Kconfig: Enable TI ECAP driver for ARCH_K3 Vignesh R
  2018-10-16 11:15 ` [PATCH v2 0/2] pwm-tiecap: Add support for AM654 SoCs Thierry Reding
  2 siblings, 0 replies; 6+ messages in thread
From: Vignesh R @ 2018-10-16  6:04 UTC (permalink / raw)
  To: Thierry Reding
  Cc: Rob Herring, linux-pwm, devicetree, linux-kernel, Vignesh R,
	Linux ARM Mailing List, Andrew Davis

Add a new compatible string "ti,am654-ecap" to support PWM ECAP IP of
TI AM654 SoC.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Rob Herring <robh@kernel.org>
---

v2: Add Reviewed-by

 Documentation/devicetree/bindings/pwm/pwm-tiecap.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/pwm/pwm-tiecap.txt b/Documentation/devicetree/bindings/pwm/pwm-tiecap.txt
index 06a363d9ccef..b9a1d7402128 100644
--- a/Documentation/devicetree/bindings/pwm/pwm-tiecap.txt
+++ b/Documentation/devicetree/bindings/pwm/pwm-tiecap.txt
@@ -7,6 +7,7 @@ Required properties:
   for da850  - compatible = "ti,da850-ecap", "ti,am3352-ecap", "ti,am33xx-ecap";
   for dra746 - compatible = "ti,dra746-ecap", "ti,am3352-ecap";
   for 66ak2g - compatible = "ti,k2g-ecap", "ti,am3352-ecap";
+  for am654  - compatible = "ti,am654-ecap", "ti,am3352-ecap";
 - #pwm-cells: should be 3. See pwm.txt in this directory for a description of
   the cells format. The PWM channel index ranges from 0 to 4. The only third
   cell flag supported by this binding is PWM_POLARITY_INVERTED.
-- 
2.19.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v2 2/2] pwm: Kconfig: Enable TI ECAP driver for ARCH_K3
  2018-10-16  6:04 [PATCH v2 0/2] pwm-tiecap: Add support for AM654 SoCs Vignesh R
  2018-10-16  6:04 ` [PATCH v2 1/2] dt-bindings: pwm: tiecap: Add TI AM654 SoC specific compatible Vignesh R
@ 2018-10-16  6:04 ` Vignesh R
  2018-10-16 11:15 ` [PATCH v2 0/2] pwm-tiecap: Add support for AM654 SoCs Thierry Reding
  2 siblings, 0 replies; 6+ messages in thread
From: Vignesh R @ 2018-10-16  6:04 UTC (permalink / raw)
  To: Thierry Reding
  Cc: Rob Herring, linux-pwm, devicetree, linux-kernel, Vignesh R,
	Linux ARM Mailing List, Andrew Davis

K3 devices have the same ECAP 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 R <vigneshr@ti.com>
---
v2: Update help text to drop AM33xx as suggested by Andrew

 drivers/pwm/Kconfig | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 504d252716f2..27e5dd47a01f 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -447,10 +447,9 @@ config PWM_TEGRA
 
 config  PWM_TIECAP
 	tristate "ECAP PWM support"
-	depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_KEYSTONE
+	depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_KEYSTONE || ARCH_K3
 	help
-	  PWM driver support for the ECAP APWM controller found on AM33XX
-	  TI SOC
+	  PWM driver support for the ECAP APWM controller found on TI SOCs
 
 	  To compile this driver as a module, choose M here: the module
 	  will be called pwm-tiecap.
-- 
2.19.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 0/2] pwm-tiecap: Add support for AM654 SoCs
  2018-10-16  6:04 [PATCH v2 0/2] pwm-tiecap: Add support for AM654 SoCs Vignesh R
  2018-10-16  6:04 ` [PATCH v2 1/2] dt-bindings: pwm: tiecap: Add TI AM654 SoC specific compatible Vignesh R
  2018-10-16  6:04 ` [PATCH v2 2/2] pwm: Kconfig: Enable TI ECAP driver for ARCH_K3 Vignesh R
@ 2018-10-16 11:15 ` Thierry Reding
  2018-10-31 13:32   ` Vignesh R
  2 siblings, 1 reply; 6+ messages in thread
From: Thierry Reding @ 2018-10-16 11:15 UTC (permalink / raw)
  To: Vignesh R
  Cc: Rob Herring, linux-pwm, devicetree, linux-kernel,
	Linux ARM Mailing List, Andrew Davis

[-- Attachment #1: Type: text/plain, Size: 515 bytes --]

On Tue, Oct 16, 2018 at 11:34:00AM +0530, Vignesh R wrote:
> Couple of patches to enable pwm-tiecap driver to be used with TI's new
> AM654 platforms.
> 
> Vignesh R (2):
>   dt-bindings: pwm: tiecap: Add TI AM654 SoC specific compatible
>   pwm: Kconfig: Enable TI ECAP driver for ARCH_K3
> 
>  Documentation/devicetree/bindings/pwm/pwm-tiecap.txt | 1 +
>  drivers/pwm/Kconfig                                  | 5 ++---
>  2 files changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 0/2] pwm-tiecap: Add support for AM654 SoCs
  2018-10-16 11:15 ` [PATCH v2 0/2] pwm-tiecap: Add support for AM654 SoCs Thierry Reding
@ 2018-10-31 13:32   ` Vignesh R
  2018-11-01  9:56     ` Thierry Reding
  0 siblings, 1 reply; 6+ messages in thread
From: Vignesh R @ 2018-10-31 13:32 UTC (permalink / raw)
  To: Thierry Reding
  Cc: Rob Herring, linux-pwm, devicetree, linux-kernel,
	Linux ARM Mailing List, Andrew Davis

Hi Thierry,

On 16/10/18 4:45 PM, Thierry Reding wrote:
> On Tue, Oct 16, 2018 at 11:34:00AM +0530, Vignesh R wrote:
>> Couple of patches to enable pwm-tiecap driver to be used with TI's new
>> AM654 platforms.
>>
>> Vignesh R (2):
>>   dt-bindings: pwm: tiecap: Add TI AM654 SoC specific compatible
>>   pwm: Kconfig: Enable TI ECAP driver for ARCH_K3
>>
>>  Documentation/devicetree/bindings/pwm/pwm-tiecap.txt | 1 +
>>  drivers/pwm/Kconfig                                  | 5 ++---
>>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> Applied, thanks.
> 

I could not see this patch series in pwm tree here:
https://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.git
Is this queued for v4.20?

-- 
Regards
Vignesh

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 0/2] pwm-tiecap: Add support for AM654 SoCs
  2018-10-31 13:32   ` Vignesh R
@ 2018-11-01  9:56     ` Thierry Reding
  0 siblings, 0 replies; 6+ messages in thread
From: Thierry Reding @ 2018-11-01  9:56 UTC (permalink / raw)
  To: Vignesh R
  Cc: Rob Herring, linux-pwm, devicetree, linux-kernel,
	Linux ARM Mailing List, Andrew Davis

[-- Attachment #1: Type: text/plain, Size: 1010 bytes --]

On Wed, Oct 31, 2018 at 07:02:23PM +0530, Vignesh R wrote:
> Hi Thierry,
> 
> On 16/10/18 4:45 PM, Thierry Reding wrote:
> > On Tue, Oct 16, 2018 at 11:34:00AM +0530, Vignesh R wrote:
> >> Couple of patches to enable pwm-tiecap driver to be used with TI's new
> >> AM654 platforms.
> >>
> >> Vignesh R (2):
> >>   dt-bindings: pwm: tiecap: Add TI AM654 SoC specific compatible
> >>   pwm: Kconfig: Enable TI ECAP driver for ARCH_K3
> >>
> >>  Documentation/devicetree/bindings/pwm/pwm-tiecap.txt | 1 +
> >>  drivers/pwm/Kconfig                                  | 5 ++---
> >>  2 files changed, 3 insertions(+), 3 deletions(-)
> > 
> > Applied, thanks.
> > 
> 
> I could not see this patch series in pwm tree here:
> https://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.git
> Is this queued for v4.20?

I forgot to push out those patches to for-next. Done that now. It's
quite late for those to go in, but since these don't touch any code
it looks okay.

Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-11-01  9:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-16  6:04 [PATCH v2 0/2] pwm-tiecap: Add support for AM654 SoCs Vignesh R
2018-10-16  6:04 ` [PATCH v2 1/2] dt-bindings: pwm: tiecap: Add TI AM654 SoC specific compatible Vignesh R
2018-10-16  6:04 ` [PATCH v2 2/2] pwm: Kconfig: Enable TI ECAP driver for ARCH_K3 Vignesh R
2018-10-16 11:15 ` [PATCH v2 0/2] pwm-tiecap: Add support for AM654 SoCs Thierry Reding
2018-10-31 13:32   ` Vignesh R
2018-11-01  9:56     ` Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).