pwm-tiecap: Add support for AM654 SoCs
Subsystems (2)
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 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.19.0
PATCH 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.
--- Documentation/devicetree/bindings/pwm/pwm-tiecap.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/pwm/pwm-tiecap.txt +1 -0
@@ -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.0
Re: [PATCH 1/2] dt-bindings: pwm: tiecap: Add TI AM654 SoC specific compatible
Quoted 9 lines · Vignesh R
Add a new compatible string "ti,am654-ecap" to support PWM ECAP IP of TI AM654 SoC.
Signed-off-by Vignesh R <[email protected]>Signed-off-by Sekhar Nori <[email protected]>--- Documentation/devicetree/bindings/pwm/pwm-tiecap.txt | 1 + 1 file changed, 1 insertion(+)
PATCH 2/2 pwm: Kconfig: Enable TI ECAP driver for ARCH_K3
In reply to Vignesh RK3 devices have the same ECAP IP as OMAP SoC. Enable driver to be built for K3 devices.
--- drivers/pwm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pwm/Kconfig +1 -1
@@ -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
Signature · 1 line
2.19.0
Re: [PATCH 2/2] pwm: Kconfig: Enable TI ECAP driver for ARCH_K3
Quoted 15 lines · Vignesh R
K3 devices have the same ECAP IP as OMAP SoC. Enable driver to be built for K3 devices.
Signed-off-by Vignesh R <[email protected]>Signed-off-by Sekhar Nori <[email protected]>--- drivers/pwm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/pwm/Kconfig +0
-0
drivers/pwm/Kconfig config PWM_TEGRA · line 453
Quoted 8 lines
drivers/pwm/Kconfig +1
-1@@ -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