mbox series

[v2,0/4] dt-bindings: pwm: pwm-tiehrpwm: Convert to json schema

Message ID 20210528045817.16618-1-lokeshvutla@ti.com
Headers show
Series dt-bindings: pwm: pwm-tiehrpwm: Convert to json schema | expand

Message

Lokesh Vutla May 28, 2021, 4:58 a.m. UTC
This series:
- drops a redundant compatible
- converts tiehrpwn to DT schema format using json-schema
- Add new compatible for AM64 SoC.

Changes since v1:
- Updated the am64 compatible to ti,am64-epwm as High resolution is not
  supported.

Lokesh Vutla (4):
  arm: dts: ti: drop usage of redundant compatible
  dt-bindings: pwm: tiehrpwm: Make clock and clock-names as required
    properties
  dt-bindings: pwm: pwm-tiehrpwm: Convert to json schema
  dt-bindings: pwm: pwm-tiehrpwm: Add compatible string for AM64 SoC

 .../devicetree/bindings/pwm/pwm-tiehrpwm.txt  | 50 --------------
 .../devicetree/bindings/pwm/pwm-tiehrpwm.yaml | 65 +++++++++++++++++++
 arch/arm/boot/dts/am33xx-l4.dtsi              |  9 +--
 arch/arm/boot/dts/am437x-l4.dtsi              | 18 ++---
 arch/arm/boot/dts/da850.dtsi                  |  6 +-
 5 files changed, 76 insertions(+), 72 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt
 create mode 100644 Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.yaml

Comments

Rob Herring June 4, 2021, 8:57 p.m. UTC | #1
On Fri, 28 May 2021 10:28:14 +0530, Lokesh Vutla wrote:
> Commit 229110c1aa691 ("ARM: dts: am437x/am33xx/da850: Add new ECAP and
> EPWM bindings") added ti,am3352-ehrpwm compatible which is similar to
> ti,am33xx-ehrpwm but without out t,hwmod properties. But with commit
> 58bfbea5b1c68 ("ARM: dts: am437x/am33xx: Remove hwmod entries for ECAP
> and EPWM nodes") dropped support for all ti,hwmod for ehrpwm, but
> missed deprecating ti,am33xx-ehrpwm compatible. So drop ti,am33xx-ehrpwm
> from DT as it is no longer needed.
> 
> ti-ehrpwn driver still support ti,am33xx-ehrpwm in order to maintain
> backward compatibility.
> 
> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
> ---
>  .../devicetree/bindings/pwm/pwm-tiehrpwm.txt   | 13 ++++++-------
>  arch/arm/boot/dts/am33xx-l4.dtsi               |  9 +++------
>  arch/arm/boot/dts/am437x-l4.dtsi               | 18 ++++++------------
>  arch/arm/boot/dts/da850.dtsi                   |  6 ++----
>  4 files changed, 17 insertions(+), 29 deletions(-)
> 

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