[PATCH v2 06/10] dt-bindings: mtd: partitions: Drop partitions.yaml
Krzysztof Kozlowski
krzk at kernel.org
Mon Jan 19 23:55:37 PST 2026
On Mon, Jan 19, 2026 at 07:48:27PM -0600, Rob Herring (Arm) wrote:
> 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".
>
> Signed-off-by: Rob Herring (Arm) <robh at kernel.org>
> ---
> .../devicetree/bindings/mmc/mmc-card.yaml | 20 ++++--------
> Documentation/devicetree/bindings/mtd/mtd.yaml | 2 +-
> .../mtd/partitions/arm,arm-firmware-suite.yaml | 2 --
> .../mtd/partitions/brcm,bcm4908-partitions.yaml | 2 --
> .../partitions/brcm,bcm947xx-cfe-partitions.yaml | 2 --
> .../mtd/partitions/linksys,ns-partitions.yaml | 2 --
> .../bindings/mtd/partitions/partitions.yaml | 36 ----------------------
> .../devicetree/bindings/mtd/ti,davinci-nand.yaml | 4 ++-
> 8 files changed, 10 insertions(+), 60 deletions(-)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at oss.qualcomm.com>
Best regards,
Krzysztof
More information about the linux-mtd
mailing list