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

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
...@@ -9,6 +9,9 @@ title: SPI NOR flash ST M25Pxx (and similar) serial flash chips ...@@ -9,6 +9,9 @@ title: SPI NOR flash ST M25Pxx (and similar) serial flash chips
maintainers: maintainers:
- Rob Herring <robh@kernel.org> - Rob Herring <robh@kernel.org>
allOf:
- $ref: "mtd.yaml#"
properties: properties:
compatible: compatible:
oneOf: oneOf:
...@@ -82,6 +85,9 @@ patternProperties: ...@@ -82,6 +85,9 @@ patternProperties:
'^partition@': '^partition@':
type: object type: object
"^otp(-[0-9]+)?$":
type: object
additionalProperties: false additionalProperties: false
examples: examples:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment