diff options
author | Michael Walle <michael@walle.cc> | 2021-04-24 13:06:07 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2021-05-10 12:42:53 +0200 |
commit | 96d3af22f87c81f21bd4c79b257e205240157ae0 (patch) | |
tree | 2e2c9150fb41581d6382478c4b3540d80c37ef15 /Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml | |
parent | 74ae3663b110d8d3e5d41dd4b05f4fa6bd79d49d (diff) | |
download | lwn-96d3af22f87c81f21bd4c79b257e205240157ae0.tar.gz lwn-96d3af22f87c81f21bd4c79b257e205240157ae0.zip |
dt-bindings: mtd: spi-nor: add otp property
SPI-NOR flashes may have OTP regions and have a nvmem binding. This
binding is described in mtd.yaml.
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210424110608.15748-5-michael@walle.cc
Diffstat (limited to 'Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml index 5e7e5349f9a1..ed590d7c6e37 100644 --- a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml +++ b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml @@ -9,6 +9,9 @@ title: SPI NOR flash ST M25Pxx (and similar) serial flash chips maintainers: - Rob Herring <robh@kernel.org> +allOf: + - $ref: "mtd.yaml#" + properties: compatible: oneOf: @@ -82,6 +85,9 @@ patternProperties: '^partition@': type: object + "^otp(-[0-9]+)?$": + type: object + additionalProperties: false examples: |