Skip to contentSkip to conversation

pwm-tiecap: Add support for AM654 SoCs

PATCH Applied Vignesh R 2 participants 6 messages Oct 16, 2018 – Nov 1, 2018

Subsystems (2)
lore
Share & tools
lore

Vignesh R

author
#0 lore raw

v2 cover pwm-tiecap: Add support for AM654 SoCs

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(-)
Signature · 1 line
2.19.1
author
#1 lore raw

PATCH v2 1/2 dt-bindings: pwm: tiecap: Add TI AM654 SoC specific compatible

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

---

v2: Add Reviewed-by

 Documentation/devicetree/bindings/pwm/pwm-tiecap.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/pwm/pwm-tiecap.txt +1 -0
index 06a363d9ccef..b9a1d7402128 100644
@@ -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.
Signature · 1 line
2.19.1
author
#2 lore raw

PATCH v2 2/2 pwm: Kconfig: Enable TI ECAP driver for ARCH_K3

In reply to Vignesh R

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.

---
v2: Update help text to drop AM33xx as suggested by Andrew

 drivers/pwm/Kconfig | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/pwm/Kconfig +2 -3
index 504d252716f2..27e5dd47a01f 100644
@@ -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.
Signature · 1 line
2.19.1
#3 lore raw
In reply to Vignesh R
Quoted 10 lines · Vignesh R

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20181016/40478ac7/attachment.sig>

author
#4 lore raw

Hi Thierry,

Quoted 8 lines · Thierry Reding
Quoted 7 lines · Vignesh R

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

Quoted 6 lines
Quoted 3 lines
 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?

Signature · 2 lines
Regards
Vignesh
#5 lore raw
Quoted 15 lines · Vignesh R

Hi Thierry,

Quoted 12 lines · Thierry Reding
Quoted 10 lines · Vignesh R

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(-)
Quoted 6 lines
Quoted 2 lines

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20181101/8625f6a5/attachment.sig>