Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: mtd: fixed-partitions: Restrict undefined properties

The fixed-partitions schema allowed undefined properties in order to
avoid warnings when there are nested fixed-partitions.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>

authored by

Rob Herring (Arm) and committed by
Miquel Raynal
6ecd7715 1eb9fabd

+6 -3
+5 -2
Documentation/devicetree/bindings/mtd/partitions/fixed-partitions.yaml
··· 39 39 - "#address-cells" 40 40 - "#size-cells" 41 41 42 - additionalProperties: true 42 + # fixed-partitions can be nested 43 + allOf: 44 + - $ref: partition.yaml# 45 + 46 + unevaluatedProperties: false 43 47 44 48 examples: 45 49 - | ··· 119 115 compatible = "fixed-partitions"; 120 116 label = "calibration"; 121 117 reg = <0xf00000 0x100000>; 122 - ranges = <0 0xf00000 0x100000>; 123 118 #address-cells = <1>; 124 119 #size-cells = <1>; 125 120
+1 -1
Documentation/devicetree/bindings/mtd/partitions/partition.yaml
··· 144 144 then: 145 145 properties: 146 146 $nodename: 147 - pattern: '^partition-.*$' 147 + pattern: '^partitions?(-.+)?$' 148 148 149 149 # This is a generic file other binding inherit from and extend 150 150 additionalProperties: true