[PATCH v2 1/1] dt-bindings: mtd: convert lpc32xx-slc.txt to yaml format

Frank Li Frank.li at nxp.com
Wed Jul 2 07:14:29 PDT 2025


On Wed, Jul 02, 2025 at 08:28:28AM -0500, Rob Herring (Arm) wrote:
>
> On Tue, 01 Jul 2025 17:24:54 -0400, Frank Li wrote:
> > Convert lpc32xx-slc.txt to yaml format.
> > - add clocks and partitions to match existed dts.
> > - allow nand-on-flash-bbt.
> >
> > Signed-off-by: Frank Li <Frank.Li at nxp.com>
> > ---
> > change in v2
> > - fix miss 's' at partition.yaml
> > - remove ref nand-controller.yaml because existed dts have not nand child
> > nodes.
> > ---
> >  .../devicetree/bindings/mtd/lpc32xx-slc.txt   | 52 ----------
> >  .../bindings/mtd/nxp,lpc3220-slc.yaml         | 96 +++++++++++++++++++
> >  2 files changed, 96 insertions(+), 52 deletions(-)
> >  delete mode 100644 Documentation/devicetree/bindings/mtd/lpc32xx-slc.txt
> >  create mode 100644 Documentation/devicetree/bindings/mtd/nxp,lpc3220-slc.yaml
> >
>
> My bot found errors running 'make dt_binding_check' on your patch:
>
> yamllint warnings/errors:
>
> dtschema/dtc warnings/errors:
> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mtd/nxp,lpc3220-slc.example.dtb: nand-controller at 20020000 (nxp,lpc3220-slc): '#address-cells' is a required property
> 	from schema $id: http://devicetree.org/schemas/mtd/nand-controller.yaml#
> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mtd/nxp,lpc3220-slc.example.dtb: nand-controller at 20020000 (nxp,lpc3220-slc): '#size-cells' is a required property
> 	from schema $id: http://devicetree.org/schemas/mtd/nand-controller.yaml#

Rob:
 	I remove ref to nand-controller.yaml at nxp,lpc3220-slc.yaml. does
it match by node name?

Frank

>
> doc reference errors (make refcheckdocs):
>
> See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20250701212455.3106629-1-Frank.Li@nxp.com
>
> The base for the series is generally the latest rc1. A different dependency
> should be noted in *this* patch.
>
> 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 after running the above command yourself. Note
> that DT_SCHEMA_FILES can be set to your schema file to speed up checking
> your schema. However, it must be unset to test all examples with your schema.
>



More information about the linux-arm-kernel mailing list