Re: [PATCH 1/5] dt-bindings: memory: fsl: convert ifc binding to yaml schema
From: Rob Herring <robh@kernel.org>
Date: 2021-10-01 16:35:21
Also in:
linux-devicetree, linuxppc-dev, lkml
On Fri, Oct 1, 2021 at 11:29 AM Li Yang [off-list ref] wrote:
On Fri, Oct 1, 2021 at 8:18 AM Rob Herring [off-list ref] wrote:quoted
On Thu, 30 Sep 2021 19:09:20 -0500, Li Yang wrote:quoted
Convert the txt binding to yaml format and add description. Drop the "simple-bus" compatible string from the example and not allowed by the binding any more. This will help to enforce the correct probe order between parent device and child devices, but will require the ifc driver to probe the child devices to work properly. Signed-off-by: Li Yang <redacted> --- updates from previous submission: - Drop "simple-bus" from binding and only "fsl,ifc" as compatible - Fix one identiation problem of "reg" - Add type restriction to "little-endian" property .../bindings/memory-controllers/fsl/ifc.txt | 82 ----------- .../bindings/memory-controllers/fsl/ifc.yaml | 137 ++++++++++++++++++ 2 files changed, 137 insertions(+), 82 deletions(-) delete mode 100644 Documentation/devicetree/bindings/memory-controllers/fsl/ifc.txt create mode 100644 Documentation/devicetree/bindings/memory-controllers/fsl/ifc.yamlMy 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: Documentation/devicetree/bindings/memory-controllers/fsl/ifc.example.dt.yaml:0:0: /example-0/soc/ifc@ffe1e000/flash@1,0: failed to match any schema with compatible: ['fsl,ifc-nand'] Documentation/devicetree/bindings/memory-controllers/fsl/ifc.example.dt.yaml:0:0: /example-0/soc/ifc@ffe1e000/cpld@3,0: failed to match any schema with compatible: ['fsl,p1010rdb-cpld']These are defined in other bindings, but unfortunately they are not converted to yaml format yet.
Yes, I know. I'm trying to turn on this check by default and adding more cases here doesn't help. And often, when those other bindings get converted, it's the example here that has errors and has to get fixed. So either convert those bindings too or drop them from the example. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel