Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1203933

Re: [PATCH v7 4/4] nvmem: Add DT binding documentation for Vybrid OCOTP driver

From maitysanchayan@gmail.com
Newsgroups linux.kernel
Subject Re: [PATCH v7 4/4] nvmem: Add DT binding documentation for Vybrid OCOTP driver
Date 2015-08-10 11:30 +0200
Message-ID <pVRz6-1TS-41@gated-at.bofh.it> (permalink)
References <pUvqV-4KP-5@gated-at.bofh.it> <pUvqX-4KP-49@gated-at.bofh.it> <pVRpo-1Iy-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello,

On 15-08-10 10:18:01, Srinivas Kandagatla wrote:
> 
> 
> On 06/08/15 16:27, Sanchayan Maity wrote:
> > Add the devicetree bindings for the Freescale Vybrid On-Chip
> > OTP driver.
> >
> > Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
> > ---
> >   .../devicetree/bindings/nvmem/vf610-ocotp.txt        | 20 ++++++++++++++++++++
> >   1 file changed, 20 insertions(+)
> >   create mode 100644 Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt
> >
> > diff --git a/Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt b/Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt
> > new file mode 100644
> > index 0000000..5556810
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt
> > @@ -0,0 +1,20 @@
> > +On-Chip OTP Memory for Freescale Vybrid
> > +
> > +Required Properties:
> > +  compatible:
> > +  - "fsl,vf610-ocotp" for VF5xx/VF6xx
> > +  #address-cells : Should be 1
> > +  #size-cells : Should be 1
> > +  reg : Address and length of OTP controller registers
> 
> Is there a reason to not add clocks property in to the bindings?

An error on my part. Will fix with the next revision.

- Sanchayan.

> 
> > +
> > +Example for Vybrid VF5xx/VF6xx:
> > +
> > +	ocotp: ocotp@400a5000 {
> > +		compatible = "fsl,vf610-ocotp";
> > +		#address-cells = <1>;
> > +		#size-cells = <1>;
> > +		reg = <0x400a5000 0xD00>;
> > +		clocks = <&clks VF610_CLK_OCOTP>;
> > +		clock-names = "ocotp";
> > +	};
> > +
> >
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v7 0/4] Implement OCOTP driver for Vybrid using NVMEM Sanchayan Maity <maitysanchayan@gmail.com> - 2015-08-06 17:40 +0200
  [PATCH v7 4/4] nvmem: Add DT binding documentation for Vybrid OCOTP driver Sanchayan Maity <maitysanchayan@gmail.com> - 2015-08-06 17:40 +0200
    Re: [PATCH v7 4/4] nvmem: Add DT binding documentation for Vybrid  OCOTP driver Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-08-10 11:20 +0200
      Re: [PATCH v7 4/4] nvmem: Add DT binding documentation for Vybrid  OCOTP driver maitysanchayan@gmail.com - 2015-08-10 11:30 +0200

csiph-web