Add device-tree binding description for the ONIE nvmem provider.
Signed-off-by: Vadym Kochan <[email protected]>
---
.../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
On Tue, Sep 22, 2020 at 02:52:37AM +0300, Vadym Kochan wrote:
> Add device-tree binding description for the ONIE nvmem provider.
What's ONIE?
>
> Signed-off-by: Vadym Kochan <[email protected]>
> ---
> .../devicetree/bindings/nvmem/onie-nvmem.txt | 11 +++++++++++
Bindings are in schema format now.
> 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
Not a standard property.
I don't understand what you are trying to do.
> +
> +Example:
> + onie_cells {
> + compatible = "onie-nvmem"
> + nvmem = <&at24>;
> + };
> --
> 2.17.1
>