Re: [PATCH] dt-bindings: nvmem: add nvmem-cell-cells property

From: Rob Herring
Date: Fri May 05 2023 - 12:11:23 EST


On Fri, May 05, 2023 at 05:19:06PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@xxxxxxx>
>
> The driver has been using this property, so add it.
>
> Signed-off-by: Peng Fan <peng.fan@xxxxxxx>
> ---
> Documentation/devicetree/bindings/nvmem/nvmem.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/nvmem/nvmem.yaml b/Documentation/devicetree/bindings/nvmem/nvmem.yaml
> index 75bb93dda9df..3fc3982da102 100644
> --- a/Documentation/devicetree/bindings/nvmem/nvmem.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/nvmem.yaml
> @@ -67,6 +67,9 @@ patternProperties:
> description:
> Size in bit within the address range specified by reg.
>
> + "#nvmem-cell-cells":
> + const: 1

I don't think we can globally set this to 1. You should have a specific
nvmem layout that uses and defines it.

Rob