Thread (2 messages) 2 messages, 2 authors, 2021-07-25

Re: [PATCH 2/2] dt-bindings: net: can: c_can: convert to json-schema

From: Rob Herring <robh@kernel.org>
Date: 2021-07-25 22:25:47
Also in: linux-devicetree, lkml, netdev

On Sun, 25 Jul 2021 18:03:18 +0200, Dario Binacchi wrote:
Convert the Bosch C_CAN/D_CAN controller device tree binding
documentation to json-schema.

Document missing properties.
Remove "ti,hwmods" as it is no longer used in TI dts.
Make "clocks" required as it is used in all dts.
Correct nodename in the example.

Signed-off-by: Dario Binacchi <redacted>
---

 .../bindings/net/can/bosch,c_can.yaml         | 85 +++++++++++++++++++
 .../devicetree/bindings/net/can/c_can.txt     | 65 --------------
 2 files changed, 85 insertions(+), 65 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/can/bosch,c_can.yaml
 delete mode 100644 Documentation/devicetree/bindings/net/can/c_can.txt
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:

\ndoc reference errors (make refcheckdocs):
Documentation/devicetree/bindings/net/can/bosch,c_can.yaml: Documentation/devicetree/bindings/soc/ti/sci-pm-domain.txt
Documentation/devicetree/bindings/net/can/bosch,c_can.yaml: Documentation/devicetree/bindings/clock/ti,sci-clk.txt

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

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