[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240830191144.1375849-1-Frank.Li@nxp.com>
Date: Fri, 30 Aug 2024 15:11:43 -0400
From: Frank Li <Frank.Li@....com>
To: Krzysztof Kozlowski <krzk@...nel.org>,
Rob Herring <robh@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Michael Walle <mwalle@...nel.org>,
Shawn Guo <shawnguo@...nel.org>,
linux-kernel@...r.kernel.org (open list:MEMORY CONTROLLER DRIVERS),
devicetree@...r.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS)
Cc: imx@...ts.linux.dev
Subject: [PATCH v3 1/1] dt-bindings: memory-controllers: fsl,ifc: add compatible string fsl,ifc-nand
ifc can connect nor, nand and fpag. Add child node "nand@" under fsl,ifc
and compatible string "fsl,ifc-nand" when ifc connect to nand flash.
Fix below warning:
arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dtb: /soc/memory-controller@...0000/nand@1,0:
failed to match any schema with compatible: ['fsl,ifc-nand']
Signed-off-by: Frank Li <Frank.Li@....com>
---
Change from v2 to v3
- add partition child node for nand
- Only partition property is used at ppc
Change from v1 to v2
- add address-cells and size-cells
---
.../memory-controllers/fsl/fsl,ifc.yaml | 26 +++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml b/Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml
index d1c3421bee107..5a11224da8914 100644
--- a/Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml
+++ b/Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml
@@ -58,6 +58,32 @@ properties:
access window as configured.
patternProperties:
+ "^nand@[a-f0-9]+(,[a-f0-9]+)+$":
+ type: object
+ properties:
+ compatible:
+ const: fsl,ifc-nand
+
+ reg:
+ maxItems: 1
+
+ "#address-cells":
+ const: 1
+
+ "#size-cells":
+ const: 1
+
+ patternProperties:
+ "^partition@[0-9a-f]+":
+ $ref: /schemas/mtd/partitions/partition.yaml#
+ deprecated: true
+
+ required:
+ - compatible
+ - reg
+
+ additionalProperties: false
+
"^.*@[a-f0-9]+(,[a-f0-9]+)+$":
type: object
description: |
--
2.34.1
Powered by blists - more mailing lists