Skip to content

dt-bindings: Convert graph bindings to json-schema

Rob Herring dri-devel linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest3 patches 13 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: Convert graph bindings to json-schemaDocumentation/devicetree/bindings/graph.txt Documentation/devicetree/bindings/graph.yaml+200 -1289 replies
2/3dt-bindings: usb-connector: Add reference to graph schemaDocumentation/devicetree/bindings/connector/usb-connector.yaml+6 -41 reply
3/3dt-bindings: panel: common: Add reference to graph schemaDocumentation/devicetree/bindings/display/panel/panel-common.yaml+3 -42 replies

Reviews trailers per patch

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

PatchPhilipp ZabelSam RavnborgLaurent Pinchart
1/3A-b R-b R-b
2/3R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

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

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