mbox series

[v3,0/3] dt-bindings: Convert graph bindings to json-schema

Message ID 20201102203656.220187-1-robh@kernel.org
Headers show
Series dt-bindings: Convert graph bindings to json-schema | expand

Message

Rob Herring (Arm) Nov. 2, 2020, 8:36 p.m. UTC
Sameer, I wanted to experiment with what the interface for graph users
looks like, so I've tweaked your patch a bit and converted 2 users.

This series converts the DT graph binding to a schema. Users of the graph
binding should reference the schema from 'ports' or 'port' node. Users
will still need to define what each port node is and any additional
properties that appear in port or endpoint nodes.

I'm still considering whether to apply graph.yaml to the dtschema repo
instead. Then I can sync adding it with a meta-schema update to check
for a reference.

Rob

Rob Herring (2):
  dt-bindings: usb-connector: Add reference to graph schema
  dt-bindings: panel: common: Add reference to graph schema

Sameer Pujar (1):
  dt-bindings: Convert graph bindings to json-schema

 .../bindings/connector/usb-connector.yaml     |  10 +-
 .../bindings/display/panel/panel-common.yaml  |   7 +-
 Documentation/devicetree/bindings/graph.txt   | 129 +-----------
 Documentation/devicetree/bindings/graph.yaml  | 199 ++++++++++++++++++
 4 files changed, 209 insertions(+), 136 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/graph.yaml

--
2.25.1

Comments

Sameer Pujar Nov. 3, 2020, 6:05 a.m. UTC | #1
Hi Rob,

> Sameer, I wanted to experiment with what the interface for graph users

> looks like, so I've tweaked your patch a bit and converted 2 users.


Thanks for the update and help.