lkml.org 
[lkml]   [2021]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4/5] dt-bindings: mtd: spi-nor: add otp property
    Date
    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>
    ---
    Changes since RFC:
    - new patch

    Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml | 6 ++++++
    1 file changed, 6 insertions(+)

    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:
    --
    2.20.1
    \
     
     \ /
      Last update: 2021-04-16 13:51    [W:4.109 / U:0.308 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site