From patchwork Fri Oct 11 15:16:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 3024941 Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 42F479F3EF for ; Fri, 11 Oct 2013 15:19:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 06BB620319 for ; Fri, 11 Oct 2013 15:19:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E0099202C0 for ; Fri, 11 Oct 2013 15:19:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758218Ab3JKPTK (ORCPT ); Fri, 11 Oct 2013 11:19:10 -0400 Received: from ns.mm-sol.com ([212.124.72.66]:44209 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758144Ab3JKPTH (ORCPT ); Fri, 11 Oct 2013 11:19:07 -0400 Received: from intsrv.int.mm-sol.com (unknown [172.18.0.3]) by extserv.mm-sol.com (Postfix) with ESMTP id 1E38BC57A; Fri, 11 Oct 2013 18:19:06 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by intsrv.int.mm-sol.com (Postfix) with ESMTP id DB433D2E002; Fri, 11 Oct 2013 18:19:05 +0300 (EEST) X-Virus-Scanned: by amavisd-new-2.7.1 (20120429) Received: from intsrv.int.mm-sol.com ([127.0.0.1]) by localhost (mail.mm-sol.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YdiEM6WlHpJR; Fri, 11 Oct 2013 18:19:02 +0300 (EEST) Received: from localhost (mms734.int.mm-sol.com [172.20.2.166]) by intsrv.int.mm-sol.com (Postfix) with ESMTP id 1E579FC2CDC; Fri, 11 Oct 2013 18:19:02 +0300 (EEST) From: Stanimir Varbanov To: Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Matt Mackall , Herbert Xu Cc: linux-kernel@vger.kernel.org, Rob Landley , devicetree@vger.kernel.org, linux-doc@vger.kernel.org, Greg Kroah-Hartman , linux-arm-msm@vger.kernel.org, Stanimir Varbanov Subject: [PATCH v2 1/2] ARM: DT: msm: Add Qualcomm's PRNG driver binding document Date: Fri, 11 Oct 2013 18:16:40 +0300 Message-Id: <1381504601-23773-2-git-send-email-svarbanov@mm-sol.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1381504601-23773-1-git-send-email-svarbanov@mm-sol.com> References: <1381504601-23773-1-git-send-email-svarbanov@mm-sol.com> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 Qualcomm PRNG driver device tree binding documentation to use as an example in dts trees. Signed-off-by: Stanimir Varbanov --- Documentation/devicetree/bindings/rng/qcom,prng.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/rng/qcom,prng.txt diff --git a/Documentation/devicetree/bindings/rng/qcom,prng.txt b/Documentation/devicetree/bindings/rng/qcom,prng.txt new file mode 100644 index 000000000000..92be00085ab1 --- /dev/null +++ b/Documentation/devicetree/bindings/rng/qcom,prng.txt @@ -0,0 +1,17 @@ +Qualcomm MSM pseudo random number generator. + +Required properties: + +- compatible : should be "qcom,prng" +- reg : specifies base physical address and size of the registers map +- clocks : phandle to clock-controller plus clock-specifier pair +- clock-names : "prng" clocks all registers, FIFO and circuits in PRNG IP block + +Example: + + rng { + compatible = "qcom,prng"; + reg = <0xf9bff000 0x200>; + clocks = <&clock GCC_PRNG_AHB_CLK>; + clock-names = "prng"; + };