Skip to contentSkip to conversation

dt-bindings: mtd: mxc-nand: Document fsl,imx31-nand

PATCH Applied Fabio Estevam 3 participants 3 messages Feb 20, 2025 – Mar 3, 2025

Subsystems (3)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 dt-bindings: mtd: mxc-nand: Document fsl,imx31-nand

From: Fabio Estevam <[email protected]>

imx31.dtsi uses the following NAND compatible:

compatible = "fsl,imx31-nand", "fsl,imx27-nand";

Document 'fsl,imx31-nand' to fix the following dt-schema warning:

compatible: ['fsl,imx31-nand', 'fsl,imx27-nand'] is too long

---
 Documentation/devicetree/bindings/mtd/mxc-nand.yaml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/mtd/mxc-nand.yaml +6 -2
index cf4198e43d7f..bd8f7b683953 100644
@@ -14,8 +14,12 @@ allOf:
 
 properties:
   compatible:
-    const: fsl,imx27-nand
-
+    oneOf:
+      - const: fsl,imx27-nand
+      - items:
+          - enum:
+              - fsl,imx31-nand
+          - const: fsl,imx27-nand
   reg:
     maxItems: 1
 
Signature · 1 line
2.34.1
maintainer Applied
#2 lore raw
In reply to Fabio Estevam
Quoted 9 lines · Fabio Estevam

imx31.dtsi uses the following NAND compatible:

compatible = "fsl,imx31-nand", "fsl,imx27-nand";

Document 'fsl,imx31-nand' to fix the following dt-schema warning:

compatible: ['fsl,imx31-nand', 'fsl,imx27-nand'] is too long

[...]

Applied to nand/next, thanks!

[1/1] dt-bindings: mtd: mxc-nand: Document fsl,imx31-nand

      commit: 423f79882c98b1e1eb9a710d9a2a6c874c094883

Patche(s) should be available on mtd/linux.git and will be part of the next PR (provided that no robot complains by then).

Kind regards,
Miquèl