public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: mtd: mxc-nand: Document fsl,imx31-nand
@ 2025-02-20 12:58 Fabio Estevam
  2025-02-21 17:54 ` Conor Dooley
  2025-03-03 10:45 ` Miquel Raynal
  0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2025-02-20 12:58 UTC (permalink / raw)
  To: miquel.raynal
  Cc: richard, robh, krzk+dt, conor+dt, linux-mtd, devicetree,
	Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

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

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 Documentation/devicetree/bindings/mtd/mxc-nand.yaml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/mtd/mxc-nand.yaml b/Documentation/devicetree/bindings/mtd/mxc-nand.yaml
index cf4198e43d7f..bd8f7b683953 100644
--- a/Documentation/devicetree/bindings/mtd/mxc-nand.yaml
+++ b/Documentation/devicetree/bindings/mtd/mxc-nand.yaml
@@ -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
 
-- 
2.34.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-03-03 10:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-20 12:58 [PATCH] dt-bindings: mtd: mxc-nand: Document fsl,imx31-nand Fabio Estevam
2025-02-21 17:54 ` Conor Dooley
2025-03-03 10:45 ` Miquel Raynal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox