From patchwork Sat Oct 3 20:35:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 7322531 Return-Path: X-Original-To: patchwork-linux-arm@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 8B6AD9F444 for ; Sat, 3 Oct 2015 20:38:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B793820769 for ; Sat, 3 Oct 2015 20:38:41 +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 CE6EA20792 for ; Sat, 3 Oct 2015 20:38:40 +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 1ZiTXO-0005Pi-Lk; Sat, 03 Oct 2015 20:36:10 +0000 Received: from mail-wi0-f169.google.com ([209.85.212.169]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZiTXF-0005Jd-4k for linux-arm-kernel@lists.infradead.org; Sat, 03 Oct 2015 20:36:02 +0000 Received: by wiclk2 with SMTP id lk2so73222600wic.0 for ; Sat, 03 Oct 2015 13:35:39 -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=qvTO096dLaBEgsWheCalQrA32KFmpr+D8u/5XVepHZ8=; b=DTAIJN0ns+amB2EegZPfWqOlmfAyS6kH7S8HG+SyU4x2hisKNaU8/WaR6gRsoZ0cZn oRp/57yEYyWMutZb0UpAyIxoTfxODoqILEQtzNal0VzW2cNbBbk5+xWAlxOwsEHJlh8U +DBKB1HFADanklca/PmjWXrWXctoPDOVGeoqTxGcCOavaNVls43Q5CeL0bFGpyJOxXOV gIEl4WLtn0zbF8BXwBVZi1Rt/cv8XLjhG85txhdRHNPwps+YDRGR3ImJESEIeEXdDFKT RwePPjACeV/EXnTML/RJh53c5eh1GiW5xQ7tekshsUKMLP5QxUArQNQlLswjQtVrJFmp Nv+g== X-Gm-Message-State: ALoCoQlu1H/YS8GoFiPmfbrY9WllCMT7NFSJ5kizUEG+4oIJCuO0uu4YHzH81+U0uPSIf6lPf9E4 X-Received: by 10.181.29.74 with SMTP id ju10mr4098044wid.5.1443904539596; Sat, 03 Oct 2015 13:35:39 -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 cc8sm4642418wjc.46.2015.10.03.13.35.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 03 Oct 2015 13:35:38 -0700 (PDT) From: Daniel Thompson To: Matt Mackall , Herbert Xu Subject: [PATCH 1/3] dt-bindings: Document the STM32 HW RNG bindings Date: Sat, 3 Oct 2015 21:35:17 +0100 Message-Id: <1443904519-24012-2-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1443904519-24012-1-git-send-email-daniel.thompson@linaro.org> References: <1443904519-24012-1-git-send-email-daniel.thompson@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151003_133601_337936_D129B527 X-CRM114-Status: GOOD ( 13.97 ) 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, 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 documenttaion of device tree binds for the STM32 hardware random number generator. Signed-off-by: Daniel Thompson Acked-by: Maxime Coquelin Acked-by: Rob Herring --- .../devicetree/bindings/hwrng/stm32-rng.txt | 21 +++++++++++++++++++++ 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>; + };