[PATCH v2 1/1] dt-bindings: mtd: convert lpc32xx-mlc.txt to yaml format
Rob Herring (Arm)
robh at kernel.org
Wed Jul 2 06:28:29 PDT 2025
On Tue, 01 Jul 2025 17:25:24 -0400, Frank Li wrote:
> Convert lpc32xx-mlc.txt to yaml format.
>
> Additional changes:
> - replace _ with - in property names.
> - add missed clocks to align lpc32xx.dtsi.
> - allow partitions subnode.
>
> Signed-off-by: Frank Li <Frank.Li at nxp.com>
> ---
> change in v2
> - remove nand-controller.yaml.
> - add clocks
> - update examples to align lpc32xx.dtsi
> - add partitions although no mlc users under upstream tree. It should be
> similar with slc case.
> ---
> .../devicetree/bindings/mtd/lpc32xx-mlc.txt | 50 -----------
> .../bindings/mtd/nxp,lpc3220-mlc.yaml | 88 +++++++++++++++++++
> 2 files changed, 88 insertions(+), 50 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/mtd/lpc32xx-mlc.txt
> create mode 100644 Documentation/devicetree/bindings/mtd/nxp,lpc3220-mlc.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-mlc.example.dtb: nand-controller at 200a8000 (nxp,lpc3220-mlc): '#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-mlc.example.dtb: nand-controller at 200a8000 (nxp,lpc3220-mlc): '#size-cells' is a required property
from schema $id: http://devicetree.org/schemas/mtd/nand-controller.yaml#
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20250701212525.3106709-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-mtd
mailing list