]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: mtd: ti, gpmc-nand: support partitions node
authorRoger Quadros <rogerq@kernel.org>
Tue, 3 Sep 2024 16:29:57 +0000 (19:29 +0300)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 9 Sep 2024 09:52:05 +0000 (11:52 +0200)
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)

Signed-off-by: Roger Quadros <rogerq@kernel.org>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20240903-gpmc-dtb-v2-1-8046c1915b96@kernel.org
Documentation/devicetree/bindings/mtd/ti,gpmc-nand.yaml

index 115682fa81b7b9eb520162037b0de63dfa33c833..00540302bcae6a269118116fde348d1de24f45ee 100644 (file)
@@ -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