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

From: Rob Herring
Date: Fri Jun 18 2021 - 16:59:12 EST


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@xxxxxxxxxxx>
> ---
> 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