[PATCH 3/3] dt-bindings: mtd: mxc-nand: add missing compatible string and ref to nand-controller-legacy.yaml

Frank Li Frank.li at nxp.com
Fri Mar 6 13:55:03 PST 2026


On Fri, Mar 06, 2026 at 04:42:19PM -0500, Frank Li wrote:
> Add compatible string fsl,imx51-nand, fsl,imx53-nand and fsl,imx35-nand.
>
> Add missinge properties dmas and dma-names.
>
> Change reg's maxItems to 2 because i.MX53 have addition NAND flash internal
> buffer space.
>
> Change ref to nand-controller-legacy.yaml allow legacy DT layout.
>
> Signed-off-by: Frank Li <Frank.Li at nxp.com>
> ---
>  .../devicetree/bindings/mtd/mxc-nand.yaml      | 18 ++++++++++++++++--
>  1 file changed, 16 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/mtd/mxc-nand.yaml b/Documentation/devicetree/bindings/mtd/mxc-nand.yaml
> index 433ae5727ad85..ec5b15341eb07 100644
> --- a/Documentation/devicetree/bindings/mtd/mxc-nand.yaml
> +++ b/Documentation/devicetree/bindings/mtd/mxc-nand.yaml
> @@ -10,7 +10,7 @@ maintainers:
>    - Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
>
>  allOf:
> -  - $ref: nand-controller.yaml
> +  - $ref: nand-controller-legacy.yaml
>
>  properties:
>    compatible:
> @@ -18,12 +18,19 @@ properties:
>        - enum:
>            - fsl,imx25-nand
>            - fsl,imx27-nand
> +          - fsl,imx51-nand
> +          - fsl,imx53-nand
> +      - items:
> +          - enum:
> +              - fsl,imx35-nand
> +          - const: fsl,imx25-nand
>        - items:
>            - enum:
>                - fsl,imx31-nand
>            - const: fsl,imx27-nand
>    reg:
> -    maxItems: 1
> +    minItems: 1
> +    maxItems: 2

change to items's change missing to commit. will update at next version.

Frank

>
>    interrupts:
>      maxItems: 1
> @@ -31,6 +38,13 @@ properties:
>    clocks:
>      maxItems: 1
>
> +  dmas:
> +    maxItems: 1
> +
> +  dma-names:
> +    items:
> +      - const: rx-tx
> +
>  required:
>    - compatible
>    - reg
> --
> 2.43.0
>



More information about the linux-mtd mailing list