Thread (25 messages) 25 messages, 2 authors, 2021-11-12

Re: [PATCH 12/15] dt-bindings: firmware: tegra: Convert to json-schema

From: Rob Herring <robh@kernel.org>
Date: 2021-11-12 15:02:08
Also in: linux-tegra

On Fri, 12 Nov 2021 13:05:15 +0100, Thierry Reding wrote:
From: Thierry Reding <redacted>

Convert the NVIDIA Tegra186 (and later) BPMP bindings from the free-form
text format to json-schema.

Signed-off-by: Thierry Reding <redacted>
---
 .../firmware/nvidia,tegra186-bpmp.txt         | 107 ------------
 .../firmware/nvidia,tegra186-bpmp.yaml        | 161 ++++++++++++++++++
 2 files changed, 161 insertions(+), 107 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/firmware/nvidia,tegra186-bpmp.txt
 create mode 100644 Documentation/devicetree/bindings/firmware/nvidia,tegra186-bpmp.yaml
My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
on your patch (DT_CHECKER_FLAGS is new in v5.13):

yamllint warnings/errors:

dtschema/dtc warnings/errors:
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/firmware/nvidia,tegra186-bpmp.yaml: 'additionalProperties' is a required property
	hint: A schema without a "$ref" to another schema must define all properties and use "additionalProperties"
	from schema $id: http://devicetree.org/meta-schemas/base.yaml#
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/firmware/nvidia,tegra186-bpmp.yaml: ignoring, error in schema: 
warning: no schema found in file: ./Documentation/devicetree/bindings/firmware/nvidia,tegra186-bpmp.yaml
Documentation/devicetree/bindings/firmware/nvidia,tegra186-bpmp.example.dt.yaml:0:0: /example-0/hsp@3c00000: failed to match any schema with compatible: ['nvidia,tegra186-hsp']
Documentation/devicetree/bindings/firmware/nvidia,tegra186-bpmp.example.dt.yaml:0:0: /example-0/sram@30000000: failed to match any schema with compatible: ['nvidia,tegra186-sysram', 'mmio-sram']
Documentation/devicetree/bindings/firmware/nvidia,tegra186-bpmp.example.dt.yaml:0:0: /example-0/bpmp: failed to match any schema with compatible: ['nvidia,tegra186-bpmp']
Documentation/devicetree/bindings/firmware/nvidia,tegra186-bpmp.example.dt.yaml:0:0: /example-0/bpmp/i2c: failed to match any schema with compatible: ['nvidia,tegra186-bpmp-i2c']
Documentation/devicetree/bindings/firmware/nvidia,tegra186-bpmp.example.dt.yaml:0:0: /example-0/bpmp/thermal: failed to match any schema with compatible: ['nvidia,tegra186-bpmp-thermal']

doc reference errors (make refcheckdocs):

See https://patchwork.ozlabs.org/patch/1554316

This check can fail if there are any dependencies. The base for a patch
series is generally the most recent rc1.

If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:

pip3 install dtschema --upgrade

Please check and re-submit.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help