Message ID | 20200921235237.7980-3-vadym.kochan@plvision.eu |
---|---|
State | Changes Requested, archived |
Headers | show |
Series | Add ONIE NVMEM provider | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | warning | total: 0 errors, 1 warnings, 11 lines checked |
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 --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>; + };
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