dt-bindings: mtd: partitions: Change qcom,smem-part partition type
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 14 Nov 2022 09:03:10 +0000 (10:03 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 17 Nov 2022 20:59:24 +0000 (21:59 +0100)
As described in dd638202dfb6 ("dt-bindings: mtd: partitions: add additional
example for qcom,smem-part"), the aim of documenting the subnodes was to be
able to declare nvmem cells. Hence, the partition property does not
really apply directly here, let's instead reference nvmem-cells.yaml
first.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/linux-mtd/20221114090315.848208-13-miquel.raynal@bootlin.com
Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml

index 805eabece7c86e9c0e981af57269feb8b5d978a1..681a51f5257ccd4a90fd0b00f06785e065d2e7de 100644 (file)
@@ -23,7 +23,7 @@ properties:
 
 patternProperties:
   "^partition-[0-9a-z]+$":
-    $ref: partition.yaml#
+    $ref: nvmem-cells.yaml
 
 required:
   - compatible