From patchwork Fri Sep 18 12:31:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 7215711 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8650EBEEC1 for ; Fri, 18 Sep 2015 12:33:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B2A94208D2 for ; Fri, 18 Sep 2015 12:33:27 +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 D8635208D0 for ; Fri, 18 Sep 2015 12:33:26 +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 1ZcupN-0007Ts-Mg; Fri, 18 Sep 2015 12:31:45 +0000 Received: from mail-wi0-f174.google.com ([209.85.212.174]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZcupE-00076L-Ls for linux-arm-kernel@lists.infradead.org; Fri, 18 Sep 2015 12:31:38 +0000 Received: by wiclk2 with SMTP id lk2so62462391wic.0 for ; Fri, 18 Sep 2015 05:31:14 -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=bSTSdHXI+NJKd3acWHyJTRs+faGYPRcc2TpJJpguixU=; b=Wq9YH21t30BnXSAr9WCUCbb8nb0If2FwQ3CFoU9qznnHGk/oy7yy4kLK19vpM7Ws6S wqnOf1poB/xdpbknJ+RAy/kAZupbyHs5OmBanEabcQWHKd82z9WIwCyUDdkg3UKNIdBo gh/uehb14RMpCDwC0yqREXOFK7D7BWJo9wcict4zKEFd9EWCHLhA++uxl8aXJN1XfrAr V9I93UWkLdLLGBgpOmP/FSq1r19oJJ/2lm/edzraMK66zXVLaTKY6Lwdr9e/JIjUPYFn H9LjydNq4+B4zkZRCvJyRqwLJPK+T+QMvwJxH9hIWmykHI+jl0bXcG9iAv9LVy5SgnoR /3Tg== X-Gm-Message-State: ALoCoQlLmOr8bA4umpIDOAkMFFrmM3whI0qZPbKTZF3enNxFkULn5CpEkkUfZJtkuG5U5IsF8V1I X-Received: by 10.180.90.198 with SMTP id by6mr16809086wib.82.1442579474875; Fri, 18 Sep 2015 05:31:14 -0700 (PDT) Received: from localhost.localdomain (host-92-13-246-184.as43234.net. [92.13.246.184]) by smtp.gmail.com with ESMTPSA id d1sm15377397wiz.0.2015.09.18.05.31.13 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 18 Sep 2015 05:31:14 -0700 (PDT) From: Srinivas Kandagatla To: agross@codeaurora.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 04/14] devicetree: Add hardware rng entry to qcom-apq8064.dtsi Date: Fri, 18 Sep 2015 13:31:12 +0100 Message-Id: <1442579472-20102-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1442579371-19822-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1442579371-19822-1-git-send-email-srinivas.kandagatla@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150918_053137_034162_047A8BBB X-CRM114-Status: GOOD ( 13.29 ) 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, Russell King , Pawel Moll , Ian Campbell , Stephen Boyd , linux-kernel@vger.kernel.org, Rob Herring , srinivas.kandagatla@linaro.org, Kumar Gala , John Stultz , 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 From: John Stultz Add devicetree data to add support for hw_rng support to the apq8064 dts. Tested on the Nexus7 (2013). Cc: Kumar Gala Cc: Stephen Boyd Cc: Srinivas Kandagatla Cc: devicetree@vger.kernel.org Reviewed-by: Stephen Boyd Signed-off-by: John Stultz Reviewed-by: Bjorn Andersson --- arch/arm/boot/dts/qcom-apq8064.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index 53d5311..d973832 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -315,6 +315,13 @@ }; }; + rng@1a500000 { + compatible = "qcom,prng"; + reg = <0x1a500000 0x200>; + clocks = <&gcc PRNG_CLK>; + clock-names = "core"; + }; + qcom,ssbi@500000 { compatible = "qcom,ssbi"; reg = <0x00500000 0x1000>;