2024-01-09 21:37:53

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH] dt-bindings: nvmem: add common definition of nvmem-cell-cells

Linux kernel NVMEM consumer bindings define phandle to NVMEM cells
("nvmem-cells"), thus we also want the common definition of property
defining number of cells encoding that specifier, so the

Suggested-by: Rob Herring <[email protected]>
Reported-by: Michael Walle <[email protected]>
Closes: https://github.com/devicetree-org/dt-schema/pull/89
Reported-by: Rafał Miłecki <[email protected]>
Closes: https://lore.kernel.org/linux-arm-kernel/[email protected]/#r
Closes: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
.../bindings/nvmem/nvmem-provider.yaml | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 Documentation/devicetree/bindings/nvmem/nvmem-provider.yaml

diff --git a/Documentation/devicetree/bindings/nvmem/nvmem-provider.yaml b/Documentation/devicetree/bindings/nvmem/nvmem-provider.yaml
new file mode 100644
index 000000000000..4009a9a03841
--- /dev/null
+++ b/Documentation/devicetree/bindings/nvmem/nvmem-provider.yaml
@@ -0,0 +1,18 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/nvmem/nvmem-provider.yaml#
+$schema: http://devicetree.org/meta-schemas/base.yaml#
+
+title: NVMEM (Non Volatile Memory) Provider
+
+maintainers:
+ - Srinivas Kandagatla <[email protected]>
+
+select: true
+
+properties:
+ '#nvmem-cell-cells':
+ enum: [0, 1]
+
+additionalProperties: true
--
2.34.1



2024-01-16 16:40:53

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: nvmem: add common definition of nvmem-cell-cells


On Tue, 09 Jan 2024 22:37:39 +0100, Krzysztof Kozlowski wrote:
> Linux kernel NVMEM consumer bindings define phandle to NVMEM cells
> ("nvmem-cells"), thus we also want the common definition of property
> defining number of cells encoding that specifier, so the
>
> Suggested-by: Rob Herring <[email protected]>
> Reported-by: Michael Walle <[email protected]>
> Closes: https://github.com/devicetree-org/dt-schema/pull/89
> Reported-by: Rafał Miłecki <[email protected]>
> Closes: https://lore.kernel.org/linux-arm-kernel/[email protected]/#r
> Closes: https://lore.kernel.org/all/[email protected]/
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> ---
> .../bindings/nvmem/nvmem-provider.yaml | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/nvmem/nvmem-provider.yaml
>

Reviewed-by: Rob Herring <[email protected]>


2024-01-27 11:51:57

by Srinivas Kandagatla

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: nvmem: add common definition of nvmem-cell-cells


On Tue, 09 Jan 2024 22:37:39 +0100, Krzysztof Kozlowski wrote:
> Linux kernel NVMEM consumer bindings define phandle to NVMEM cells
> ("nvmem-cells"), thus we also want the common definition of property
> defining number of cells encoding that specifier, so the
>
>

Applied, thanks!

[1/1] dt-bindings: nvmem: add common definition of nvmem-cell-cells
commit: c0e855d525b771e6fef67c7b75657380c9e02c31

Best regards,
--
Srinivas Kandagatla <[email protected]>