[v3,2/2] dt-bindings: pwm: pwm-tiehrpwm: Add compatible string for AM64 SoC

Message ID 20210601054402.2223-3-lokeshvutla@ti.com
State New
Headers show
Series
  • dt-bindings: pwm: pwm-tiehrpwm: Convert to json schema
Related show

Commit Message

Lokesh Vutla June 1, 2021, 5:44 a.m.
Add compatible string for AM64 SoC in device tree binding.
EPWM IP in AM64 does not support High resolution, so named epwm instead
of ehrpwm in compatible. However IP is till compatible with features
supported by driver with ti,am3352-ehrpwm compatible.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
---
 Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.yaml | 1 +
 1 file changed, 1 insertion(+)

Comments

Rob Herring June 2, 2021, 7:35 p.m. | #1
On Tue, 01 Jun 2021 11:14:02 +0530, Lokesh Vutla wrote:
> Add compatible string for AM64 SoC in device tree binding.
> EPWM IP in AM64 does not support High resolution, so named epwm instead
> of ehrpwm in compatible. However IP is till compatible with features
> supported by driver with ti,am3352-ehrpwm compatible.
> 
> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
> ---
>  Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

Patch

diff --git a/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.yaml b/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.yaml
index 84a8d6d38cee..ee312cb210e6 100644
--- a/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.yaml
+++ b/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.yaml
@@ -22,6 +22,7 @@  properties:
               - ti,am4372-ehrpwm
               - ti,dra746-ehrpwm
               - ti,am654-ehrpwm
+              - ti,am64-epwm
           - const: ti,am3352-ehrpwm
 
   reg: