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

Rob Herring robh at kernel.org
Mon Nov 2 20:36:53 UTC 2020


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


More information about the dri-devel mailing list