Commit 96d3af22 authored by Michael Walle's avatar Michael Walle Committed by Miquel Raynal
Browse files

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: default avatarMichael Walle <michael@walle.cc>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210424110608.15748-5-michael@walle.cc
parent 74ae3663
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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: