From patchwork Mon Oct 12 08:21:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 7373251 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 2EF349F1D5 for ; Mon, 12 Oct 2015 08:24:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 54AC7206E1 for ; Mon, 12 Oct 2015 08:24:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CBF96206A4 for ; Mon, 12 Oct 2015 08:24:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751329AbbJLIXR (ORCPT ); Mon, 12 Oct 2015 04:23:17 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:36991 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751782AbbJLIWG (ORCPT ); Mon, 12 Oct 2015 04:22:06 -0400 Received: by wijq8 with SMTP id q8so45896620wij.0 for ; Mon, 12 Oct 2015 01:22:04 -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=Qaee14BUOB1X57x8FHD1IONFyFcjJd9a48mbrKlxoLkoUxXeR9iaJg5sFV27d0PK4C p8Am86F1JjkZPUY/KlatJBElblnjkF6jB6hMHhcnhmZhwXzv848YiBs2UyvJmq5xw00H DlrpnyDQBJmpfAldh8zjffmhJyf0eZNnJbHFT5qRFDVl3O7DLXM8bs8W/9152P3jyPMC JR0a+cTGIVh4y5e69YmPIInDQpB9O5gXonHQzMWMJwe/ZT/pNH/pBfw9ALZpwtP3wHoI h9NmRFiMg+ZPHd9DWoj+LKd3NCyEv3TPJcJ00aF6umAgVDT+yJLGpBKF3u2fupmMvqZW eD2g== X-Gm-Message-State: ALoCoQksC5TEgRzpVthsFtJp6V8QIRRB7cn9YuHL+AcRi0+lHlsJC6HRA3ei8ytresAq4ZDJBvFD X-Received: by 10.180.96.166 with SMTP id dt6mr13658477wib.38.1444638124884; Mon, 12 Oct 2015 01:22:04 -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 jt3sm18356370wjc.12.2015.10.12.01.22.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Oct 2015 01:22:03 -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 Subject: [PATCH 1/3] dt-bindings: Document the STM32 HW RNG bindings Date: Mon, 12 Oct 2015 09:21:28 +0100 Message-Id: <1444638090-22886-2-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1444638090-22886-1-git-send-email-daniel.thompson@linaro.org> References: <1443904519-24012-1-git-send-email-daniel.thompson@linaro.org> <1444638090-22886-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>; + };