From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752445AbbJEPfA (ORCPT ); Mon, 5 Oct 2015 11:35:00 -0400 Received: from mail-yk0-f170.google.com ([209.85.160.170]:33348 "EHLO mail-yk0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751391AbbJEPe6 (ORCPT ); Mon, 5 Oct 2015 11:34:58 -0400 MIME-Version: 1.0 In-Reply-To: <1443904519-24012-2-git-send-email-daniel.thompson@linaro.org> References: <1443904519-24012-1-git-send-email-daniel.thompson@linaro.org> <1443904519-24012-2-git-send-email-daniel.thompson@linaro.org> From: Rob Herring Date: Mon, 5 Oct 2015 10:34:38 -0500 Message-ID: Subject: Re: [PATCH 1/3] dt-bindings: Document the STM32 HW RNG bindings To: Daniel Thompson Cc: Matt Mackall , Herbert Xu , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , linux-crypto@vger.kernel.org, "linux-kernel@vger.kernel.org" , Linaro Patches , "linaro-kernel@lists.linaro.org" , Maxime Coquelin , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 3, 2015 at 3:35 PM, Daniel Thompson wrote: > This adds documenttaion of device tree binds for the STM32 hardware > random number generator. > > Signed-off-by: Daniel Thompson > --- > .../devicetree/bindings/hwrng/stm32-rng.txt | 21 +++++++++++++++++++++ Please use bindings/rng/... as I'm consolidating bindings there. Otherwise, Acked-by: Rob Herring > 1 file changed, 21 insertions(+) > create mode 100644 Documentation/devicetree/bindings/hwrng/stm32-rng.txt > > diff --git a/Documentation/devicetree/bindings/hwrng/stm32-rng.txt b/Documentation/devicetree/bindings/hwrng/stm32-rng.txt > new file mode 100644 > index 000000000000..47f04176f93b > --- /dev/null > +++ b/Documentation/devicetree/bindings/hwrng/stm32-rng.txt > @@ -0,0 +1,21 @@ > +STMicroelectronics STM32 HW RNG > +=============================== > + > +The STM32 hardware random number generator is a simple fixed purpose IP and > +is fully separated from other crypto functions. > + > +Required properties: > + > +- compatible : Should be "st,stm32-rng" > +- reg : Should be register base and length as documented in the datasheet > +- interrupts : The designated IRQ line for the RNG > +- clocks : The clock needed to enable the RNG > + > +Example: > + > + rng: rng@50060800 { > + compatible = "st,stm32-rng"; > + reg = <0x50060800 0x400>; > + interrupts = <80>; > + clocks = <&rcc 0 38>; > + }; > -- > 2.4.3 >