lkml.org 
[lkml]   [2023]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/2] dt-bindings: nvmem: add "data-size" property
    Date
    From: Rafał Miłecki <rafal@milecki.pl>

    Allow specifying NVMEM device content size in case it differs from
    device total size.

    Cc: Christian Marangi <ansuelsmth@gmail.com>
    Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
    ---
    Documentation/devicetree/bindings/nvmem/nvmem.yaml | 7 +++++++
    1 file changed, 7 insertions(+)

    diff --git a/Documentation/devicetree/bindings/nvmem/nvmem.yaml b/Documentation/devicetree/bindings/nvmem/nvmem.yaml
    index 4fd015d402ce..095aed4250de 100644
    --- a/Documentation/devicetree/bindings/nvmem/nvmem.yaml
    +++ b/Documentation/devicetree/bindings/nvmem/nvmem.yaml
    @@ -26,6 +26,13 @@ properties:
    "#size-cells":
    const: 1

    + data-size:
    + $ref: /schemas/types.yaml#/definitions/uint32
    + description:
    + NVMEM device actual data (content) size. It may be need to be specified
    + if it differs by design from the total NVMEM device size and it's
    + impossible to determine it on runtime.
    +
    read-only:
    $ref: /schemas/types.yaml#/definitions/flag
    description:
    --
    2.35.3
    \
     
     \ /
      Last update: 2023-12-13 16:47    [W:3.098 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site