From patchwork Thu Sep 17 13:45:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 53817 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 CCDA222A0D for ; Thu, 17 Sep 2015 13:46:43 +0000 (UTC) Received: by lbot4 with SMTP id t4sf6533954lbo.0 for ; Thu, 17 Sep 2015 06:46: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:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=0OtkrOsMTIKo8HJ1OoZVOgAgfocy7sIW3qxo+A3MWRU=; b=Yym6HwuoS0RyDXWT+vERV8UOUkFeXT+pdxBVP8WhSUjstYoB+OT/QVUqFg4GWVvtnI yhuLcH9KRB4LSXPrdIB2Q5UmNuvolKUVl95VihZbzxgj817ytnRm5WSfG2K7KYSj7mWi wC4x24RFUkqD4QidyqOB4r0dvKWkTlKC8vguqAkrh5IEOzfiWrgfTahgenLphnXeV9Jd PCgxhuRnh9NjYbhAwqTVCNoiD4tryO2IylLnY9KnrbdUkyy5BQh/m4PMuGt0hmJupfwV h9g20Ut109Hjmeuhd5X36NHDsN+zgc5DAPuqPUpiIhajYA1nSivOAy5+UeNs9NaGY2jy Lt1g== X-Gm-Message-State: ALoCoQkrvtHtYqBlr6qxn7ywFwQ7upR4MthHUMAL5hoUVR2sMpv8IlX0vus1UANtir+DbiJOicLP X-Received: by 10.195.18.100 with SMTP id gl4mr3341870wjd.4.1442497602813; Thu, 17 Sep 2015 06:46:42 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.29.42 with SMTP id g10ls93756lah.91.gmail; Thu, 17 Sep 2015 06:46:42 -0700 (PDT) X-Received: by 10.152.23.199 with SMTP id o7mr34023601laf.76.1442497602388; Thu, 17 Sep 2015 06:46:42 -0700 (PDT) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id qc10si2222739lbb.17.2015.09.17.06.46.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Sep 2015 06:46:42 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by lagj9 with SMTP id j9so11628684lag.2 for ; Thu, 17 Sep 2015 06:46:42 -0700 (PDT) X-Received: by 10.152.43.137 with SMTP id w9mr37286751lal.56.1442497602039; Thu, 17 Sep 2015 06:46:42 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp3081239lbq; Thu, 17 Sep 2015 06:46:40 -0700 (PDT) X-Received: by 10.50.43.134 with SMTP id w6mr25326942igl.74.1442497600671; Thu, 17 Sep 2015 06:46:40 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y10si2531029igl.57.2015.09.17.06.46.40; Thu, 17 Sep 2015 06:46:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752098AbbIQNqU (ORCPT + 7 others); Thu, 17 Sep 2015 09:46:20 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:36758 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751923AbbIQNqL (ORCPT ); Thu, 17 Sep 2015 09:46:11 -0400 Received: by wicgb1 with SMTP id gb1so118744216wic.1 for ; Thu, 17 Sep 2015 06:46:10 -0700 (PDT) X-Received: by 10.180.85.164 with SMTP id i4mr8305701wiz.54.1442497570581; Thu, 17 Sep 2015 06:46:10 -0700 (PDT) Received: from x1.o2wifi.co.uk ([46.233.116.143]) by smtp.gmail.com with ESMTPSA id hk5sm3547895wjb.6.2015.09.17.06.46.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 17 Sep 2015 06:46:09 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org, peter@korsgaard.com, festevam@gmail.com, kieranbingham@gmail.com Cc: kernel@stlinux.com, Lee Jones Subject: [PATCH v2 4/7] hwrng: st: Provide DT bindings for ST's Random Number Generator Date: Thu, 17 Sep 2015 14:45:54 +0100 Message-Id: <1442497557-9271-5-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1442497557-9271-1-git-send-email-lee.jones@linaro.org> References: <1442497557-9271-1-git-send-email-lee.jones@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@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.51 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Signed-off-by: Lee Jones --- Documentation/devicetree/bindings/rng/st,rng.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/rng/st,rng.txt diff --git a/Documentation/devicetree/bindings/rng/st,rng.txt b/Documentation/devicetree/bindings/rng/st,rng.txt new file mode 100644 index 0000000..dbc64e6 --- /dev/null +++ b/Documentation/devicetree/bindings/rng/st,rng.txt @@ -0,0 +1,15 @@ +STMicroelectronics HW Random Number Generator +---------------------------------------------- + +Required parameters: +compatible : Should be "st,rng" +reg : Base address and size of IP's register map. +clocks : Phandle to device's clock (See: ../clocks/clock-bindings.txt) + +Example: + +rng@0xfee80000 { + compatible = "st,rng"; + reg = <0xfee80000 0x1000>; + clocks = <&clk_sysin>; +}