From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753564AbaI3RWG (ORCPT ); Tue, 30 Sep 2014 13:22:06 -0400 Received: from top.free-electrons.com ([176.31.233.9]:57435 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752075AbaI3RWD (ORCPT ); Tue, 30 Sep 2014 13:22:03 -0400 Date: Tue, 30 Sep 2014 19:21:49 +0200 From: Boris Brezillon To: Peter Korsgaard Cc: Nicolas Ferre , Jean-Christophe Plagniol-Villard , Alexandre Belloni , Andrew Victor , Peter Korsgaard , Matt Mackall , Herbert Xu , linux-arm-kernel@lists.infradead.org, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/6] hwrng: atmel: Add TRNG DT binding doc Message-ID: <20140930192149.464ac50f@bbrezillon> In-Reply-To: <87bnpxoww9.fsf@dell.be.48ers.dk> References: <1412093987-30241-1-git-send-email-boris.brezillon@free-electrons.com> <1412093987-30241-5-git-send-email-boris.brezillon@free-electrons.com> <87bnpxoww9.fsf@dell.be.48ers.dk> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter, On Tue, 30 Sep 2014 19:12:22 +0200 Peter Korsgaard wrote: > >>>>> "Boris" == Boris Brezillon writes: > > > Document DT bindings of Atmel's TRNG (True Random Number Generator) IP. > > Signed-off-by: Boris Brezillon > > --- > > Documentation/devicetree/bindings/hwrng/atmel-trng.txt | 16 ++++++++++++++++ > > 1 file changed, 16 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/hwrng/atmel-trng.txt > > > diff --git a/Documentation/devicetree/bindings/hwrng/atmel-trng.txt b/Documentation/devicetree/bindings/hwrng/atmel-trng.txt > > new file mode 100644 > > index 0000000..4ac5aaa > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/hwrng/atmel-trng.txt > > @@ -0,0 +1,16 @@ > > +Atmel TRNG (True Random Number Generator) block > > + > > +Required properties: > > +- compatible : Should be "atmel,at91sam9g45-trng" > > +- reg : Offset and length of the register set of this block > > +- interrupts : the interrupt number for the TRNG block > > The interrupt isn't strictly speaking required as it isn't used by the > driver, but as 9G45 has the signal wired up I guess it makes sense. This irq might be used in a near future (in order to wait for data as requested by hwrng code when the wait argument is true). Thus I prefer to keep it as required. Best Regards, Boris -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com