Skip to content

dt-bindings: clock: ti: convert to yaml

Andreas Kemnade linux-clk linux-devicetree linux-omap lkml 3 versions – Applied

Status from this message: Applied to clk-next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 3 repliesApplied
  2. v2 RFC2 patches 4 repliesSuperseded
  3. v11 patch 15 repliesSuperseded

Changes in v3 from the cover letter

- adding more constraints and types
- strip labels from example
- fix references to divider.txt

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2dt-bindings: clock: ti: Convert interface.txt to json-schemaDocumentation/devicetree/bindings/clock/ti/interface.txt Documentation/devicetree/bindings/clock/ti/ti,interface-clock.yaml+71 -551 reply
2/2dt-bindings: clock: ti: Convert divider.txt to json-schemaDocumentation/devicetree/bindings/clock/ti/composite.txt Documentation/devicetree/bindings/clock/ti/divider.txt Documentation/devicetree/bindings/clock/ti/ti,divider-clock.yaml+194 -1162 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRob Herring (Arm)
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] dt-bindings: clock: ti: convert to yaml

Convert some clock schemas to yaml. These are one of the most used non-yaml compatibles.

All can appear under a ti,clksel or without a ti,clksel.

I plan to convert the clock things from time to time. So enforcing certain compatibles below ti,clksel is not there yet.

Open question: I set license to GPL-2 only because the .txt bindings the yaml binding was derived from were
GPL-2. I personally have no problem with dual-licensing the binding. No idea about the legal side wether that is possible or who must agree.

Changes in v3:
- adding more constraints and types
- strip labels from example
- fix references to divider.txt

Changes in v2:
- added conversion of divider
- require reg now, makes sense after
https://lore.kernel.org/linux-omap/[email protected]/
- clean up of examples
- improvement of documentation

v1 is at https://lore.kernel.org/linux-omap/[email protected]/

Andreas Kemnade (2):
dt-bindings: clock: ti: Convert interface.txt to json-schema
dt-bindings: clock: ti: Convert divider.txt to json-schema

 .../bindings/clock/ti/composite.txt           |   2 +-
 .../devicetree/bindings/clock/ti/divider.txt  | 115 -----------
 .../bindings/clock/ti/interface.txt           |  55 -----
 .../bindings/clock/ti/ti,divider-clock.yaml   | 193 ++++++++++++++++++
 .../bindings/clock/ti/ti,interface-clock.yaml |  71 +++++++
 5 files changed, 265 insertions(+), 171 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/clock/ti/divider.txt
 delete mode 100644 Documentation/devicetree/bindings/clock/ti/interface.txt
 create mode 100644 Documentation/devicetree/bindings/clock/ti/ti,divider-clock.yaml
 create mode 100644 Documentation/devicetree/bindings/clock/ti/ti,interface-clock.yaml
Signature · 1 line
2.39.5