From patchwork Wed Oct 14 15:55:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 7396481 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Original-To: patchwork-linux-crypto@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B4EBD9F302 for ; Wed, 14 Oct 2015 15:56:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E50C12069D for ; Wed, 14 Oct 2015 15:56:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0882220957 for ; Wed, 14 Oct 2015 15:56:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932640AbbJNPzr (ORCPT ); Wed, 14 Oct 2015 11:55:47 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:34906 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932645AbbJNPzo (ORCPT ); Wed, 14 Oct 2015 11:55:44 -0400 Received: by wicll6 with SMTP id ll6so3738832wic.0 for ; Wed, 14 Oct 2015 08:55:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=3r97/LeSKRkZoK44HVUqsl5o3ne4k7rRbO1wF/APEYg=; b=TkVX/ckJbP59+QTeVH1zncEUH8Y9AuWKnnjdK4wG74EEAfL+NHcZWUJDXnjjHbOIng mgEHN5GbOAx/u7+mJoF4ImxdbwXDya3NTm1qfTJ/ndi4LQxXdi2FRyvitGnQ5rS+/tov v+Y59JS9SNApKkmz48RpX6CcCkQRKkfdMbFWpsDtnilSONODTZQYlVZ746mZ1tBjgvZe HEvhGz8WBmCPPqAHNyGqi/QokPEh7IWY7XEnuDyNqqG29EJufKF9DK7z2oQUpMhjX6Yt 6rnnldz0otA1x6hEY18pdULoPOpcBhmqon0QLo0YFYawID3qbXOfUNpKbB/LQqvIbw7T ZNXg== X-Gm-Message-State: ALoCoQkicg369Q27sZQL8qWR3Sd/8FMkIovrEcdrjrz/cCtzKPrmdPhwjS58i2O/yBfoL3sAQ6mE X-Received: by 10.180.88.227 with SMTP id bj3mr5994114wib.80.1444838142445; Wed, 14 Oct 2015 08:55:42 -0700 (PDT) Received: from wychelm.lan (cpc4-aztw19-0-0-cust71.18-1.cable.virginm.net. [82.33.25.72]) by smtp.gmail.com with ESMTPSA id ka10sm10835442wjc.30.2015.10.14.08.55.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Oct 2015 08:55:41 -0700 (PDT) From: Daniel Thompson To: Matt Mackall , Herbert Xu Cc: Daniel Thompson , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, patches@linaro.org, linaro-kernel@lists.linaro.org, Maxime Coquelin , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Linus Walleij Subject: [PATCH v3 1/3] dt-bindings: Document the STM32 HW RNG bindings Date: Wed, 14 Oct 2015 16:55:23 +0100 Message-Id: <1444838125-3422-2-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1444838125-3422-1-git-send-email-daniel.thompson@linaro.org> References: <1443904519-24012-1-git-send-email-daniel.thompson@linaro.org> <1444838125-3422-1-git-send-email-daniel.thompson@linaro.org> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This adds documentation of device tree bindings for the STM32 hardware random number generator. Signed-off-by: Daniel Thompson Acked-by: Maxime Coquelin Acked-by: Rob Herring --- .../devicetree/bindings/rng/st,stm32-rng.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/rng/st,stm32-rng.txt diff --git a/Documentation/devicetree/bindings/rng/st,stm32-rng.txt b/Documentation/devicetree/bindings/rng/st,stm32-rng.txt new file mode 100644 index 000000000000..47f04176f93b --- /dev/null +++ b/Documentation/devicetree/bindings/rng/st,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>; + };