diff mbox series

[v2,2/3] dt-bindings: nvmem: document nvmem-cells-parser-name property

Message ID 20210608190327.22071-3-vadym.kochan@plvision.eu
State New
Headers show
Series nvmem: add ONIE NVMEM cells parser | expand

Commit Message

Vadym Kochan June 8, 2021, 7:03 p.m. UTC
Describe new "nvmem-cells-parser-name" which is used to bind registered
parser with nvmem device.

Signed-off-by: Vadym Kochan <vadym.kochan@plvision.eu>
---
 Documentation/devicetree/bindings/nvmem/nvmem.yaml | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Rob Herring June 18, 2021, 8:59 p.m. UTC | #1
On Tue, Jun 08, 2021 at 10:03:26PM +0300, Vadym Kochan wrote:
> Describe new "nvmem-cells-parser-name" which is used to bind registered

> parser with nvmem device.

> 

> Signed-off-by: Vadym Kochan <vadym.kochan@plvision.eu>

> ---

>  Documentation/devicetree/bindings/nvmem/nvmem.yaml | 5 +++++

>  1 file changed, 5 insertions(+)

> 

> diff --git a/Documentation/devicetree/bindings/nvmem/nvmem.yaml b/Documentation/devicetree/bindings/nvmem/nvmem.yaml

> index b8dc3d2b6e92..36c6361d0605 100644

> --- a/Documentation/devicetree/bindings/nvmem/nvmem.yaml

> +++ b/Documentation/devicetree/bindings/nvmem/nvmem.yaml

> @@ -39,6 +39,11 @@ properties:

>        when it's driven low (logical '0') to allow writing.

>      maxItems: 1

>  

> +  nvmem-cells-parser-name:

> +    description:

> +      Name of the registered parser to parse and register the cells.

> +    maxItems: 1


I think this should be a 'compatible' string. We already have something 
along that line with:

Documentation/devicetree/bindings/mtd/partitions/nvmem-cells.yaml

Rob
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/nvmem/nvmem.yaml b/Documentation/devicetree/bindings/nvmem/nvmem.yaml
index b8dc3d2b6e92..36c6361d0605 100644
--- a/Documentation/devicetree/bindings/nvmem/nvmem.yaml
+++ b/Documentation/devicetree/bindings/nvmem/nvmem.yaml
@@ -39,6 +39,11 @@  properties:
       when it's driven low (logical '0') to allow writing.
     maxItems: 1
 
+  nvmem-cells-parser-name:
+    description:
+      Name of the registered parser to parse and register the cells.
+    maxItems: 1
+
 patternProperties:
   "^.*@[0-9a-f]+$":
     type: object