diff mbox series

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

Message ID 20200921235237.7980-3-vadym.kochan@plvision.eu
State Changes Requested, archived
Headers show
Series Add ONIE NVMEM provider | expand

Checks

Context Check Description
robh/checkpatch warning total: 0 errors, 1 warnings, 11 lines checked

Commit Message

Vadym Kochan Sept. 21, 2020, 11:52 p.m. UTC
Add device-tree binding description for the ONIE nvmem provider.

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

Comments

Rob Herring (Arm) Sept. 29, 2020, 5:56 p.m. UTC | #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 <vadym.kochan@plvision.eu>
> ---
>  .../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
>
diff mbox series

Patch

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>;
+	};