lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAL_Jsq+0NRHx5JVvcZZC1PX0UByFq7PmvZbH6QoNn3kBZgrbPg@mail.gmail.com>
Date: Mon, 12 Jan 2026 16:57:54 -0600
From: Rob Herring <robh@...nel.org>
To: Krzysztof Kozlowski <krzk@...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 Fri, Jan 9, 2026 at 3:34 AM Krzysztof Kozlowski <krzk@...nel.org> wrote:
>
> 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

I put what the tools required me to put. :) We only require it when
properties get defined because that's the case we don't know if the
schema is *all* properties or not.

Rob

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ