dt-binding: memory-controllers: fsl,ifc: add compatible string fsl,ifc-nand
Frank Li
maintainerPATCH v2 1/1 dt-binding: 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@1530000/nand@1,0:
failed to match any schema with compatible: ['fsl,ifc-nand']
---
Change from v1 to v2
- add address-cells and size-cells
--- .../memory-controllers/fsl/fsl,ifc.yaml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+)
Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml +21 -0
@@ -58,6 +58,27 @@ 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 + + required: + - compatible + - reg + + additionalProperties: false + "^.*@[a-f0-9]+(,[a-f0-9]+)+$": type: object description: |
Signature · 1 line
2.34.1
Rob Herring
maintainerQuoted 27 lines · Frank Li
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@1530000/nand@1,0:
failed to match any schema with compatible: ['fsl,ifc-nand']Signed-off-by Frank Li <[email protected]>---
Change from v1 to v2
- add address-cells and size-cells--- .../memory-controllers/fsl/fsl,ifc.yaml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+)Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml +4
-0@@ -58,6 +58,27 @@ properties: access window as configured. patternProperties: + "^nand@[a-f0-9]+(,[a-f0-9]+)+$": + type: object + properties: + compatible:
Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml properties: · line 74
Quoted 10 lines
Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml +10
-0+ const: fsl,ifc-nand + + reg: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 1
These only apply to child nodes, but you've disabled any child nodes.
Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml properties: · line 80
Quoted 6 lines
Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml +6
-0+ + required: + - compatible + - reg + + additionalProperties: false
You could minimally make this 'type: object' instead of false.
Or does this follow the nand controller and chip bindings? May not being older binding.
Quoted 7 lines
Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml +1
-0+ "^.*@[a-f0-9]+(,[a-f0-9]+)+$": type: object description: |Signature · 1 line
2.34.1
Frank Li
maintainerQuoted 32 lines · Rob Herring
Quoted 31 lines · Frank Li
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@1530000/nand@1,0:
failed to match any schema with compatible: ['fsl,ifc-nand']Signed-off-by Frank Li <[email protected]>---
Change from v1 to v2
- add address-cells and size-cells--- .../memory-controllers/fsl/fsl,ifc.yaml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+)Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml +8
-0@@ -58,6 +58,27 @@ properties: access window as configured. patternProperties: + "^nand@[a-f0-9]+(,[a-f0-9]+)+$": + type: object + properties: + compatible: + const: fsl,ifc-nand + + reg: + maxItems: 1
Quoted 8 lines
Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml properties: · line 74
Quoted 6 lines
Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml +6
-0+ + "#address-cells": + const: 1 + + "#size-cells": + const: 1These only apply to child nodes, but you've disabled any child nodes.
I will add mtd partition for it.
Quoted 9 lines
Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml properties: · line 80
Quoted 7 lines
Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml +6
-0+ + required: + - compatible + - reg + + additionalProperties: falseYou could minimally make this 'type: object' instead of false.
Sorry, I have not understood your means. I already set nand@*** as object.
nand@[a-f0-9]+(,[a-f0-9]+)+$":
type: object
Quoted 3 lines
Or does this follow the nand controller and chip bindings? May not being older binding.
I check if-nand driver, which have not parse other nand controller's property yet.
Frank
Quoted 8 lines
Quoted 8 lines
Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml +1
-1+ "^.*@[a-f0-9]+(,[a-f0-9]+)+$": type: object description: | --2.34.1
Krzysztof Kozlowski
maintainerQuoted 11 lines · Frank Li
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@1530000/nand@1,0:
failed to match any schema with compatible: ['fsl,ifc-nand']Signed-off-by Frank Li <[email protected]>---
Change from v1 to v2
- add address-cells and size-cells
... and since you are resending, subject prefix is dt-bindings.
Best regards,
Krzysztof