Skip to contentSkip to conversation

dt-bindings: mtd: ti, gpmc-nand: support partitions node

PATCH Applied Roger Quadros 3 participants 3 messages Sep 3, 2024 – Sep 6, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 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)

---
Changes in v2:
- reference mtd.yaml for standard mtd properties like partition as suggested by Rob Herring.
- Link to v1: https://lore.kernel.org/r/[email protected]

---
 Documentation/devicetree/bindings/mtd/ti,gpmc-nand.yaml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
Documentation/devicetree/bindings/mtd/ti,gpmc-nand.yaml +1 -4
index 115682fa81b7..00540302bcae 100644
@@ -61,12 +61,9 @@ properties:
       GPIO connection to R/B signal from NAND chip
     maxItems: 1
 
-patternProperties:
-  "@[0-9a-f]+$":
-    $ref: /schemas/mtd/partitions/partition.yaml
-
 allOf:
   - $ref: /schemas/memory-controllers/ti,gpmc-child.yaml
+  - $ref: mtd.yaml#
 
 required:
   - compatible

---
base-commit: 5be63fc19fcaa4c236b307420483578a56986a37
change-id: 20240830-gpmc-dtb-de2ce28acfb6

Best regards,

Signature · 1 line
Roger Quadros <[email protected]>
maintainer Reviewed-by on v2 1/1
#1 lore raw
Quoted 8 lines · Roger Quadros

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)

Quoted 9 lines

---
Changes in v2:
- reference mtd.yaml for standard mtd properties like partition as suggested by Rob Herring.
- Link to v1: https://lore.kernel.org/r/[email protected]

---
 Documentation/devicetree/bindings/mtd/ti,gpmc-nand.yaml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
maintainer Applied
#2 lore raw
In reply to Roger Quadros
Quoted 9 lines · Roger Quadros

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)

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel