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: 7396601 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CEDA9BEEA4 for ; Wed, 14 Oct 2015 15:58:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 11DBA209BD for ; Wed, 14 Oct 2015 15:58:10 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 26799209BE for ; Wed, 14 Oct 2015 15:58:09 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZmOQ2-0005Td-W3; Wed, 14 Oct 2015 15:56:47 +0000 Received: from mail-wi0-f174.google.com ([209.85.212.174]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZmOPS-0004ba-IJ for linux-arm-kernel@lists.infradead.org; Wed, 14 Oct 2015 15:56:12 +0000 Received: by wijq8 with SMTP id q8so87956596wij.0 for ; Wed, 14 Oct 2015 08:55:48 -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=MGlJAZBvqXC4iqJAKdvl/I7RTwED1ZtZpL27eSoX624FM0EYNBi3VLs51ztDkPuJ/Z /WYw/qBxQm6EWbrpi0ojDyyf4mSqP2z3ynXXpbravMqqOZfMeRhEWdo5cOWZ7Uuq1rgY BksWsQ+qNqWxJ8sS42HhMM38hR8MsY60+tVnsvc27ZPsAaOoDaCboCwtt54YY4iV9JEY xAXIu9mLg6p0RIPh5SwjQ3xMextGct00lTKdnYfQJmhfxb2t73fCMUtOp2fuErfd1DoM C2/8YNiB/c3WzJ38cBBdtbYym70XFs7/ScnhtIV3wVX8C35mjdJvp2JCo1IMfXw2Wojs kwfg== X-Gm-Message-State: ALoCoQnWncvbBJcyJBdynEL0hl51zpnRldTNmddCrzFkE7zFA05XKqk8jnO7V40R44gMcCFGI6CD 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151014_085611_036605_083E39AA X-CRM114-Status: GOOD ( 14.23 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Daniel Thompson , linaro-kernel@lists.linaro.org, Pawel Moll , patches@linaro.org, Linus Walleij , Ian Campbell , linux-kernel@vger.kernel.org, Rob Herring , linux-crypto@vger.kernel.org, Maxime Coquelin , Kumar Gala , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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>; + };