]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: mtd: partitions: Drop partitions.yaml
authorRob Herring (Arm) <robh@kernel.org>
Wed, 21 Jan 2026 19:56:39 +0000 (13:56 -0600)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 22 Jan 2026 14:08:08 +0000 (15:08 +0100)
commit95af1e641b0f245d1d6820bb0c8696fa6a07f5f5
treefc75a80903f4852cfb72fa2a1c71746040a46c7d
parent002d2fe7992220fab57497d3d78de526982cf511
dt-bindings: mtd: partitions: Drop partitions.yaml

The partitions.yaml schema is an unusual structure in that it includes
all possible partition types, and it disables the normal matching by
compatible strings. As partitions.yaml has nothing to match on, it is
only applied when explicitly referenced. The use of "oneOf" also results
in misleading warnings which are difficult to understand. Drop
partitions.yaml and rely on the standard compatible matching instead.

The "mmc-card" case previously allowed any partition type, but now only
allows "fixed-partitions". There aren't any users and the original
intent appeared to be only for "fixed-partitions".

Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # For MMC
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>
Documentation/devicetree/bindings/mmc/mmc-card.yaml
Documentation/devicetree/bindings/mtd/mtd.yaml
Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.yaml
Documentation/devicetree/bindings/mtd/partitions/brcm,bcm4908-partitions.yaml
Documentation/devicetree/bindings/mtd/partitions/brcm,bcm947xx-cfe-partitions.yaml
Documentation/devicetree/bindings/mtd/partitions/linksys,ns-partitions.yaml
Documentation/devicetree/bindings/mtd/partitions/partitions.yaml [deleted file]
Documentation/devicetree/bindings/mtd/ti,davinci-nand.yaml