Thread (4 messages) 4 messages, 2 authors, 2020-11-02

Re: [PATCH v2] dt-bindings: Convert graph bindings to json-schema

From: Sameer Pujar <hidden>
Date: 2020-11-02 11:00:39

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 <redacted>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
---
  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@nvidia.com 
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help