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: partitions: Define "#{address,size}-cells" in specific schemas

Whether "#address-cells" and "#size-cells" are used or not depends on
the specific partition type, so drop them from partitions.yaml and
define them in the specific partition schemas as needed.

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
002d2fe7 9f30ba0a

+4 -12
+4 -2
Documentation/devicetree/bindings/mtd/partitions/fixed-partitions.yaml
··· 25 25 - const: sercomm,sc-partitions 26 26 - const: fixed-partitions 27 27 28 - "#address-cells": true 28 + "#address-cells": 29 + enum: [ 1, 2 ] 29 30 30 - "#size-cells": true 31 + "#size-cells": 32 + enum: [ 1, 2 ] 31 33 32 34 patternProperties: 33 35 "@[0-9a-f]+$":
-6
Documentation/devicetree/bindings/mtd/partitions/partitions.yaml
··· 26 26 properties: 27 27 compatible: true 28 28 29 - '#address-cells': 30 - enum: [1, 2] 31 - 32 - '#size-cells': 33 - enum: [1, 2] 34 - 35 29 patternProperties: 36 30 "^partition(-.+|@[0-9a-f]+)$": 37 31 $ref: partition.yaml
-4
Documentation/devicetree/bindings/mtd/partitions/redboot-fis.yaml
··· 28 28 device. On a flash memory with 32KB eraseblocks, 0 means the first 29 29 eraseblock at 0x00000000, 1 means the second eraseblock at 0x00008000 and so on. 30 30 31 - '#address-cells': false 32 - 33 - '#size-cells': false 34 - 35 31 required: 36 32 - compatible 37 33 - fis-index-block