From patchwork Thu Oct 3 14:52:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 2983071 Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B38EBBFF0B for ; Thu, 3 Oct 2013 14:56:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 24CD920154 for ; Thu, 3 Oct 2013 14:56:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C3E0120150 for ; Thu, 3 Oct 2013 14:56:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754227Ab3JCO4T (ORCPT ); Thu, 3 Oct 2013 10:56:19 -0400 Received: from ns.mm-sol.com ([212.124.72.66]:42476 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753713Ab3JCO4S (ORCPT ); Thu, 3 Oct 2013 10:56:18 -0400 Received: from intsrv.int.mm-sol.com (unknown [172.18.0.3]) by extserv.mm-sol.com (Postfix) with ESMTP id CDFC2C6CE; Thu, 3 Oct 2013 17:56:17 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by intsrv.int.mm-sol.com (Postfix) with ESMTP id 8D818FC200F; Thu, 3 Oct 2013 17:56:17 +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 Ed7fqyalYXZ1; Thu, 3 Oct 2013 17:56:14 +0300 (EEST) Received: from localhost (mms734.int.mm-sol.com [172.20.2.166]) by intsrv.int.mm-sol.com (Postfix) with ESMTP id 953BEFC2007; Thu, 3 Oct 2013 17:56:14 +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 1/2] ARM: DT: msm: Add Qualcomm's PRNG driver binding document Date: Thu, 3 Oct 2013 17:52:34 +0300 Message-Id: <1380811955-18085-2-git-send-email-svarbanov@mm-sol.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1380811955-18085-1-git-send-email-svarbanov@mm-sol.com> References: <1380811955-18085-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=-4.2 required=5.0 tests=BAYES_00,KHOP_BIG_TO_CC, 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"; + };