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: 54479 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by patches.linaro.org (Postfix) with ESMTPS id E37B2218EF for ; Sat, 3 Oct 2015 20:35:41 +0000 (UTC) Received: by lbcao8 with SMTP id ao8sf25642485lbc.1 for ; Sat, 03 Oct 2015 13:35:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=qvTO096dLaBEgsWheCalQrA32KFmpr+D8u/5XVepHZ8=; b=eWQzPSh11ij45y/jGyXAXbvjhLKbAGEr4WqQW6wgEn4ApiRQ4fZu0YxOnc61rhHryC lBPEkB3v5uhJuYVz+pGJdp1S4NPV9JRJJ+4fCBfohO0pPmp2O2Huo8llTi0qbJYJAwAm b5aCkeguGLGm0+CVaTKzW/TKTr6IEGaG4iYCMA7fPYxLnLiK1TA09vFH/+wjdJ+J8EvH SB7lPuXXIxqEp4vtTfxLvUzh1NJgobi3JHfjZjARcJ6xDlNXnN4X20TqJIATODKvU7F9 v9WiIqm4hsi4h/riLwer7eg7lB6dyp1HuPxxX/VKbf1hjeVnmUJz0v9eH4PICyG9iHqq BYPQ== X-Gm-Message-State: ALoCoQkZwLZaXnsrVPvZ9if9T6IVVDIbwzf0ofwiviQrkut/qi6yL0l+tC6NfJmdL+q49wXHBtrO X-Received: by 10.112.54.197 with SMTP id l5mr3767295lbp.21.1443904540801; Sat, 03 Oct 2015 13:35:40 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.85.81 with SMTP id j78ls345980lfb.81.gmail; Sat, 03 Oct 2015 13:35:40 -0700 (PDT) X-Received: by 10.112.135.9 with SMTP id po9mr8444933lbb.56.1443904540667; Sat, 03 Oct 2015 13:35:40 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id pf6si10842059lbc.166.2015.10.03.13.35.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 03 Oct 2015 13:35:40 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by lafb9 with SMTP id b9so19582451laf.0 for ; Sat, 03 Oct 2015 13:35:40 -0700 (PDT) X-Received: by 10.25.82.10 with SMTP id g10mr5545815lfb.56.1443904540548; Sat, 03 Oct 2015 13:35:40 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.59.35 with SMTP id w3csp443603lbq; Sat, 3 Oct 2015 13:35:39 -0700 (PDT) X-Received: by 10.180.79.34 with SMTP id g2mr4069535wix.28.1443904539938; Sat, 03 Oct 2015 13:35:39 -0700 (PDT) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com. [209.85.212.174]) by mx.google.com with ESMTPS id vu2si21192592wjc.90.2015.10.03.13.35.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 03 Oct 2015 13:35:39 -0700 (PDT) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 209.85.212.174 as permitted sender) client-ip=209.85.212.174; Received: by wicfx3 with SMTP id fx3so72825680wic.1 for ; Sat, 03 Oct 2015 13:35:39 -0700 (PDT) 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 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: 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-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.thompson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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>; + };