Hi Rob,
Convert device tree bindings of graph to YAML format. Currently graph.txt
doc is referenced in multiple files and all of these need to use schema
references. For now graph.txt is updated to refer to graph.yaml.
Signed-off-by: Sameer Pujar <spujar@xxxxxxxxxx>
Cc: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/graph.txt | 129 +-----------------
Documentation/devicetree/bindings/graph.yaml | 188 +++++++++++++++++++++++++++
2 files changed, 189 insertions(+), 128 deletions(-)
create mode 100644 Documentation/devicetree/bindings/graph.yaml
As per report from
http://patchwork.ozlabs.org/project/devicetree-bindings/patch/1604075956-17010-2-git-send-email-spujar@xxxxxxxxxx
there are some warnings. I will fix yamllint warnings in v3.
However I don't see below errors when I run 'make dt_binding_check' locally.
dtschema/dtc warnings/errors:
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/graph.yaml:
'additionalProperties' is a required property
schemas/graph.yaml: ignoring, error in schema:
./Documentation/devicetree/bindings/graph.yaml: Unresolvable JSON
pointer: 'properties/port'
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/graph.yaml:
ignoring, error in schema:
warning: no schema found in file:
./Documentation/devicetree/bindings/graph.yaml
Am I missing anything?
Thanks,
Sameer.