dt-bindings: mtd: ti, gpmc-nand: support partitions node
Subsystems (2)
PATCH 1/1 dt-bindings: mtd: ti, gpmc-nand: support partitions node
Allow fixed-partitions to be specified through a partitions node.
Fixes the below dtbs_check warning:
arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtb: nand@0,0: Unevaluated properties are not allowed ('partitions' was unexpected)
--- Documentation/devicetree/bindings/mtd/ti,gpmc-nand.yaml | 5 +++++ 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/mtd/ti,gpmc-nand.yaml +5 -0
@@ -61,6 +61,11 @@ properties: GPIO connection to R/B signal from NAND chip maxItems: 1 + partitions: + type: object + description: + Node containing description of fixed partitions. + patternProperties: "@[0-9a-f]+$": $ref: /schemas/mtd/partitions/partition.yaml
---
base-commit: 5be63fc19fcaa4c236b307420483578a56986a37
change-id: 20240830-gpmc-dtb-de2ce28acfb6
Best regards,
Signature · 1 line
Roger Quadros <[email protected]>
Rob Herring
maintainerQuoted 18 lines · Roger Quadros
Allow fixed-partitions to be specified through a partitions node.
Fixes the below
dtbs_checkwarning:
arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtb: nand@0,0: Unevaluated properties are not allowed ('partitions' was unexpected)Signed-off-by Roger Quadros <[email protected]>--- Documentation/devicetree/bindings/mtd/ti,gpmc-nand.yaml | 5 +++++ 1 file changed, 5 insertions(+)Documentation/devicetree/bindings/mtd/ti,gpmc-nand.yaml +0
-0@@ -61,6 +61,11 @@ properties: GPIO connection to R/B signal from NAND chip
Documentation/devicetree/bindings/mtd/ti,gpmc-nand.yaml properties: · line 71
Quoted 10 lines
Documentation/devicetree/bindings/mtd/ti,gpmc-nand.yaml +5
-0maxItems: 1 + partitions: + type: object + description: + Node containing description of fixed partitions. + patternProperties: "@[0-9a-f]+$": $ref: /schemas/mtd/partitions/partition.yaml
This and the addition should be replaced with a mtd.yaml reference.
Rob
Miquel Raynal
maintainerHi,
Quoted 10 lines
Documentation/devicetree/bindings/mtd/ti,gpmc-nand.yaml properties: · line 71
Quoted 8 lines
Documentation/devicetree/bindings/mtd/ti,gpmc-nand.yaml +5
-0+ partitions: + type: object + description: + Node containing description of fixed partitions. + patternProperties: "@[0-9a-f]+$": $ref: /schemas/mtd/partitions/partition.yamlThis and the addition should be replaced with a
mtd.yamlreference.
Yes, indeed.
Thanks,
Miquèl
Quoted 11 lines · Miquel Raynal
Hi,
Quoted 9 lines
Quoted 8 lines
Documentation/devicetree/bindings/mtd/ti,gpmc-nand.yaml +5
-0+ partitions: + type: object + description: + Node containing description of fixed partitions. + patternProperties: "@[0-9a-f]+$": $ref: /schemas/mtd/partitions/partition.yaml
Quoted 3 lines
Quoted 1 line
This and the addition should be replaced with a
mtd.yamlreference.Yes, indeed.
Thanks. Will revise and send v2.
Signature · 2 lines
cheers, -roger