* [PATCH 0/2] pwm-tiecap: Add support for AM654 SoCs
@ 2018-10-03 17:06 Vignesh R
2018-10-03 17:06 ` [PATCH 1/2] dt-bindings: pwm: tiecap: Add TI AM654 SoC specific compatible Vignesh R
2018-10-03 17:06 ` [PATCH 2/2] pwm: Kconfig: Enable TI ECAP driver for ARCH_K3 Vignesh R
0 siblings, 2 replies; 5+ messages in thread
From: Vignesh R @ 2018-10-03 17:06 UTC (permalink / raw)
To: Thierry Reding, Rob Herring, Mark Rutland
Cc: linux-pwm, devicetree, linux-kernel, Vignesh R, Linux ARM Mailing List
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 | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
--
2.19.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] dt-bindings: pwm: tiecap: Add TI AM654 SoC specific compatible
2018-10-03 17:06 [PATCH 0/2] pwm-tiecap: Add support for AM654 SoCs Vignesh R
@ 2018-10-03 17:06 ` Vignesh R
2018-10-15 19:12 ` Rob Herring
2018-10-03 17:06 ` [PATCH 2/2] pwm: Kconfig: Enable TI ECAP driver for ARCH_K3 Vignesh R
1 sibling, 1 reply; 5+ messages in thread
From: Vignesh R @ 2018-10-03 17:06 UTC (permalink / raw)
To: Thierry Reding, Rob Herring, Mark Rutland
Cc: linux-pwm, devicetree, linux-kernel, Vignesh R, Linux ARM Mailing List
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>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
---
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.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] pwm: Kconfig: Enable TI ECAP driver for ARCH_K3
2018-10-03 17:06 [PATCH 0/2] pwm-tiecap: Add support for AM654 SoCs Vignesh R
2018-10-03 17:06 ` [PATCH 1/2] dt-bindings: pwm: tiecap: Add TI AM654 SoC specific compatible Vignesh R
@ 2018-10-03 17:06 ` Vignesh R
2018-10-05 15:51 ` Andrew F. Davis
1 sibling, 1 reply; 5+ messages in thread
From: Vignesh R @ 2018-10-03 17:06 UTC (permalink / raw)
To: Thierry Reding, Rob Herring, Mark Rutland
Cc: linux-pwm, devicetree, linux-kernel, Vignesh R, Linux ARM Mailing List
K3 devices have the same ECAP IP as OMAP SoC. Enable driver to be built
for K3 devices.
Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
---
drivers/pwm/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 504d252716f2..0c7bc6f554cf 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -447,7 +447,7 @@ 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
--
2.19.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] pwm: Kconfig: Enable TI ECAP driver for ARCH_K3
2018-10-03 17:06 ` [PATCH 2/2] pwm: Kconfig: Enable TI ECAP driver for ARCH_K3 Vignesh R
@ 2018-10-05 15:51 ` Andrew F. Davis
0 siblings, 0 replies; 5+ messages in thread
From: Andrew F. Davis @ 2018-10-05 15:51 UTC (permalink / raw)
To: Vignesh R, Thierry Reding, Rob Herring, Mark Rutland
Cc: linux-pwm, devicetree, linux-kernel, Linux ARM Mailing List
On 10/03/2018 12:06 PM, Vignesh R wrote:
> K3 devices have the same ECAP IP as OMAP SoC. Enable driver to be built
> for K3 devices.
>
> Signed-off-by: Vignesh R <vigneshr@ti.com>
> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
> ---
> drivers/pwm/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
> index 504d252716f2..0c7bc6f554cf 100644
> --- a/drivers/pwm/Kconfig
> +++ b/drivers/pwm/Kconfig
> @@ -447,7 +447,7 @@ 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
>
Minor, perhaps calling out AM33XX specifically in the help text is no
longer needed and a bit confusing.
Andrew
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] dt-bindings: pwm: tiecap: Add TI AM654 SoC specific compatible
2018-10-03 17:06 ` [PATCH 1/2] dt-bindings: pwm: tiecap: Add TI AM654 SoC specific compatible Vignesh R
@ 2018-10-15 19:12 ` Rob Herring
0 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2018-10-15 19:12 UTC (permalink / raw)
To: Vignesh R
Cc: Thierry Reding, Rob Herring, Mark Rutland, linux-pwm, devicetree,
linux-kernel, Vignesh R, Linux ARM Mailing List
On Wed, 3 Oct 2018 22:36:57 +0530, Vignesh R wrote:
> 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>
> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
> ---
> Documentation/devicetree/bindings/pwm/pwm-tiecap.txt | 1 +
> 1 file changed, 1 insertion(+)
>
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-10-15 19:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-03 17:06 [PATCH 0/2] pwm-tiecap: Add support for AM654 SoCs Vignesh R
2018-10-03 17:06 ` [PATCH 1/2] dt-bindings: pwm: tiecap: Add TI AM654 SoC specific compatible Vignesh R
2018-10-15 19:12 ` Rob Herring
2018-10-03 17:06 ` [PATCH 2/2] pwm: Kconfig: Enable TI ECAP driver for ARCH_K3 Vignesh R
2018-10-05 15:51 ` Andrew F. Davis
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).