Linux-Devicetree Archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: nvmem: add common definition of nvmem-cell-cells
@ 2024-01-09 21:37 Krzysztof Kozlowski
  2024-01-16 16:39 ` Rob Herring
  2024-01-27 11:51 ` Srinivas Kandagatla
  0 siblings, 2 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2024-01-09 21:37 UTC (permalink / raw
  To: Srinivas Kandagatla, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski, Rob Herring, Michael Walle,
	Rafał Miłecki

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 <robh@kernel.org>
Reported-by: Michael Walle <michael@walle.cc>
Closes: https://github.com/devicetree-org/dt-schema/pull/89
Reported-by: Rafał Miłecki <zajec5@gmail.com>
Closes: https://lore.kernel.org/linux-arm-kernel/20221121105830.7411-1-zajec5@gmail.com/#r
Closes: https://lore.kernel.org/all/bdf7751b-0421-485d-8382-26c084f09d7d@gmail.com/
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../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 <srinivas.kandagatla@linaro.org>
+
+select: true
+
+properties:
+  '#nvmem-cell-cells':
+    enum: [0, 1]
+
+additionalProperties: true
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: nvmem: add common definition of nvmem-cell-cells
  2024-01-09 21:37 [PATCH] dt-bindings: nvmem: add common definition of nvmem-cell-cells Krzysztof Kozlowski
@ 2024-01-16 16:39 ` Rob Herring
  2024-01-27 11:51 ` Srinivas Kandagatla
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2024-01-16 16:39 UTC (permalink / raw
  To: Krzysztof Kozlowski
  Cc: devicetree, Conor Dooley, linux-kernel, Srinivas Kandagatla,
	Rob Herring, Rafał Miłecki, Michael Walle,
	Krzysztof Kozlowski


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 <robh@kernel.org>
> Reported-by: Michael Walle <michael@walle.cc>
> Closes: https://github.com/devicetree-org/dt-schema/pull/89
> Reported-by: Rafał Miłecki <zajec5@gmail.com>
> Closes: https://lore.kernel.org/linux-arm-kernel/20221121105830.7411-1-zajec5@gmail.com/#r
> Closes: https://lore.kernel.org/all/bdf7751b-0421-485d-8382-26c084f09d7d@gmail.com/
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../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 <robh@kernel.org>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: nvmem: add common definition of nvmem-cell-cells
  2024-01-09 21:37 [PATCH] dt-bindings: nvmem: add common definition of nvmem-cell-cells Krzysztof Kozlowski
  2024-01-16 16:39 ` Rob Herring
@ 2024-01-27 11:51 ` Srinivas Kandagatla
  1 sibling, 0 replies; 3+ messages in thread
From: Srinivas Kandagatla @ 2024-01-27 11:51 UTC (permalink / raw
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, devicetree,
	linux-kernel, Krzysztof Kozlowski
  Cc: Rob Herring, Michael Walle, Rafał Miłecki


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 <srinivas.kandagatla@linaro.org>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-27 11:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-09 21:37 [PATCH] dt-bindings: nvmem: add common definition of nvmem-cell-cells Krzysztof Kozlowski
2024-01-16 16:39 ` Rob Herring
2024-01-27 11:51 ` Srinivas Kandagatla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).