Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754620AbbHJJUk (ORCPT ); Mon, 10 Aug 2015 05:20:40 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:34651 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753754AbbHJJUh (ORCPT ); Mon, 10 Aug 2015 05:20:37 -0400 Date: Mon, 10 Aug 2015 14:47:25 +0530 From: maitysanchayan@gmail.com To: Srinivas Kandagatla Cc: linux-arm-kernel@lists.infradead.org, maxime.ripard@free-electrons.com, stefan@agner.ch, shawn.guo@kernel.org, kernel@pengutronix.de, stefan.wahren@i2se.com, linux-kernel@vger.kernel.org, p.zabel@pengutronix.de Subject: Re: [PATCH v7 4/4] nvmem: Add DT binding documentation for Vybrid OCOTP driver Message-ID: <20150810091725.GB2273@Sanchayan-Arch.toradex.int> References: <3713643bb44c39c2126edca2916e1c1aa43eabf8.1438874125.git.maitysanchayan@gmail.com> <55C86C49.6080708@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <55C86C49.6080708@linaro.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1711 Lines: 55 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 > > --- > > .../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/