[PATCH 2/2] dt-bindings: nvmem: add description for ONIE provider

From: Vadym Kochan
Date: Mon Sep 21 2020 - 19:53:06 EST


Add device-tree binding description for the ONIE nvmem provider.

Signed-off-by: Vadym Kochan <vadym.kochan@xxxxxxxxxxx>
---
.../devicetree/bindings/nvmem/onie-nvmem.txt | 11 +++++++++++
1 file changed, 11 insertions(+)
create mode 100644 Documentation/devicetree/bindings/nvmem/onie-nvmem.txt

diff --git a/Documentation/devicetree/bindings/nvmem/onie-nvmem.txt b/Documentation/devicetree/bindings/nvmem/onie-nvmem.txt
new file mode 100644
index 000000000000..16fb903118d0
--- /dev/null
+++ b/Documentation/devicetree/bindings/nvmem/onie-nvmem.txt
@@ -0,0 +1,11 @@
+= Device tree bindings for ONIE NVMEM provider =
+
+Required properties:
+- compatible: should be "onie-nvmem"
+- nvmem: phandle to nvmem device node
+
+Example:
+ onie_cells {
+ compatible = "onie-nvmem"
+ nvmem = <&at24>;
+ };
--
2.17.1