Re: [PATCH v2 2/5] dt-bindings: mtd: add YAML schema for the generic MTD bindings

From: Michael Walle
Date: Mon May 17 2021 - 13:21:50 EST


Am 2021-05-17 17:12, schrieb Rob Herring:
On Mon, May 10, 2021 at 5:44 AM Miquel Raynal <miquel.raynal@xxxxxxxxxxx> wrote:

On Sat, 2021-04-24 at 11:06:05 UTC, Michael Walle wrote:
> Convert MTD's common.txt to mtd.yaml.
>
> Signed-off-by: Michael Walle <michael@xxxxxxxx>
> Reviewed-by: Rob Herring <robh@xxxxxxxxxx>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

This is causing a warning in linux-next:

/builds/robherring/linux-dt/Documentation/devicetree/bindings/spi/spi-mux.example.dt.yaml:
spi-flash@0: $nodename:0: 'spi-flash@0' does not match '^flash(@.*)?$'
From schema:
/builds/robherring/linux-dt/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml

For reference, the patch which fixes this:
https://lore.kernel.org/linux-devicetree/20210517153946.9502-1-michael@xxxxxxxx/

-michael