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

* Re: [PATCH] dt-bindings: mtd: mxc-nand: Document fsl,imx31-nand
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2025-02-21 17:54 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: miquel.raynal, richard, robh, krzk+dt, conor+dt, linux-mtd,
	devicetree, Fabio Estevam


[-- Attachment #1.1: Type: text/plain, Size: 479 bytes --]

On Thu, Feb 20, 2025 at 09:58:12AM -0300, Fabio Estevam wrote:
> 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>

Acked-by: Conor Dooley <conor.dooley@microchip.com>

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

[-- Attachment #2: Type: text/plain, Size: 144 bytes --]

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

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

* Re: [PATCH] dt-bindings: mtd: mxc-nand: Document fsl,imx31-nand
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Miquel Raynal @ 2025-03-03 10:45 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: richard, robh, krzk+dt, conor+dt, linux-mtd, devicetree,
	Fabio Estevam

On Thu, 20 Feb 2025 09:58:12 -0300, Fabio Estevam wrote:
> 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


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

^ permalink raw reply	[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