linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] dt-bindings: clock: ti: convert to yaml
@ 2024-10-18  8:53 Andreas Kemnade
  2024-10-18  8:53 ` [PATCH v3 1/2] dt-bindings: clock: ti: Convert interface.txt to json-schema Andreas Kemnade
  2024-10-18  8:53 ` [PATCH v3 2/2] dt-bindings: clock: ti: Convert divider.txt " Andreas Kemnade
  0 siblings, 2 replies; 6+ messages in thread
From: Andreas Kemnade @ 2024-10-18  8:53 UTC (permalink / raw)
  To: devicetree, linux-kernel, Roger Quadros, linux-omap,
	Tony Lindgren, Krzysztof Kozlowski, Aaro Koskinen, Stephen Boyd,
	Tero Kristo, Kevin Hilman, Michael Turquette, Conor Dooley,
	Rob Herring, linux-clk, Andreas Kemnade

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/20240213105730.5287-1-tony@atomide.com/
- clean up of examples
- improvement of documentation

v1 is at https://lore.kernel.org/linux-omap/20231127202359.145778-1-andreas@kemnade.info/

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

-- 
2.39.5


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-10-19  5:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-18  8:53 [PATCH v3 0/2] dt-bindings: clock: ti: convert to yaml Andreas Kemnade
2024-10-18  8:53 ` [PATCH v3 1/2] dt-bindings: clock: ti: Convert interface.txt to json-schema Andreas Kemnade
2024-10-19  5:46   ` Stephen Boyd
2024-10-18  8:53 ` [PATCH v3 2/2] dt-bindings: clock: ti: Convert divider.txt " Andreas Kemnade
2024-10-18 13:41   ` Rob Herring (Arm)
2024-10-19  5:46   ` Stephen Boyd

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).