[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260109-bright-purring-oyster-8c9f0b@quoll>
Date: Fri, 9 Jan 2026 10:34:00 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: "Rob Herring (Arm)" <robh@...nel.org>
Cc: Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>, Vignesh Raghavendra <vigneshr@...com>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>,
Brian Norris <computersforpeace@...il.com>, Kamal Dasu <kdasu.kdev@...il.com>,
William Zhang <william.zhang@...adcom.com>, Nick Terrell <terrelln@...com>, David Sterba <dsterba@...e.com>,
Rafał Miłecki <rafal@...ecki.pl>, Simon Glass <sjg@...omium.org>,
Linus Walleij <linusw@...nel.org>, Ulf Hansson <ulf.hansson@...aro.org>,
Marcus Folkesson <marcus.folkesson@...il.com>, Tony Lindgren <tony@...mide.com>,
Roger Quadros <rogerq@...nel.org>, Hauke Mehrtens <hauke@...ke-m.de>, linux-mtd@...ts.infradead.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org, linux-mmc@...r.kernel.org
Subject: Re: [PATCH 06/10] dt-bindings: mtd: partitions: Drop partitions.yaml
On Thu, Jan 08, 2026 at 11:53:15AM -0600, Rob Herring (Arm) wrote:
> patternProperties:
> "^partitions(-boot[12]|-gp[14])?$":
> - $ref: /schemas/mtd/partitions/partitions.yaml
> + type: object
> + additionalProperties: true
>
> - patternProperties:
> - "^partition@[0-9a-f]+$":
> - $ref: /schemas/mtd/partitions/partition.yaml
> -
> - properties:
> - reg:
> - description: Must be multiple of 512 as it's converted
> - internally from bytes to SECTOR_SIZE (512 bytes)
> -
> - required:
> - - reg
> -
> - unevaluatedProperties: false
> + properties:
> + compatible:
> + contains:
> + const: fixed-partitions
>
> required:
> - compatible
> diff --git a/Documentation/devicetree/bindings/mtd/mtd.yaml b/Documentation/devicetree/bindings/mtd/mtd.yaml
> index bbb56216a4e2..e56dba83f00a 100644
> --- a/Documentation/devicetree/bindings/mtd/mtd.yaml
> +++ b/Documentation/devicetree/bindings/mtd/mtd.yaml
> @@ -30,7 +30,7 @@ properties:
> deprecated: true
>
> partitions:
> - $ref: /schemas/mtd/partitions/partitions.yaml
> + type: object
I think you need explicit, since we require it for incomplete nodes:
additionalProperties: true
>
> required:
> - compatible
...
> -unevaluatedProperties: false
> diff --git a/Documentation/devicetree/bindings/mtd/ti,davinci-nand.yaml b/Documentation/devicetree/bindings/mtd/ti,davinci-nand.yaml
> index ed24b0ea86e5..7619b19e7a04 100644
> --- a/Documentation/devicetree/bindings/mtd/ti,davinci-nand.yaml
> +++ b/Documentation/devicetree/bindings/mtd/ti,davinci-nand.yaml
> @@ -24,7 +24,9 @@ properties:
> - description: AEMIF control registers.
>
> partitions:
> - $ref: /schemas/mtd/partitions/partitions.yaml
> + type: object
> + required:
> + - compatible
Same here
Best regards,
Krzysztof
Powered by blists - more mailing lists