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: 53864 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by patches.linaro.org (Postfix) with ESMTPS id EA972218E3 for ; Fri, 18 Sep 2015 12:31:32 +0000 (UTC) Received: by lbcao8 with SMTP id ao8sf16449255lbc.1 for ; Fri, 18 Sep 2015 05:31:31 -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=2pAnPocomY2SOoWLQZ5/GKfiMuCK3U07Ayqg5GTE1oY=; b=YB7MrNtlHqRvfdyF+tE62mRjDoUR7JBlfINkc9fNpNJlsbjYkCCYR+vrhZSm3i9QZk k47YKX5+ZyxIlJwZrAzGdvEPHS6qc4MutPkeyQ4RMRHNADGWnNhDLwIXUhePi/KJ1gXL tgBJX5nHsh/hIAKfcrt80MYgOXc6WfY5uSeFJuOufHbSK4KGSkZH18ai5mYGIkx4hYAF 6SWUxJo3T/r0q2dt2IxTUdW4Ky6RNvI/6wZe7PiqaXDCKoVl5guEeL04/UC7df3Rb+Iy /WeV6M7FKO+3UkTOP/yvjOKTTkVjOHuj8Q+IX4xWqcgHGVlOWd77dao7AoFqyFXKo0Lh 07YA== X-Gm-Message-State: ALoCoQmA1mKJhmMmXDcrIH2CDbdESWi6WpCdTCfi5Wns065ROQqcjY8U34HwcHDpJ76ykdr95fn9 X-Received: by 10.195.18.100 with SMTP id gl4mr857968wjd.4.1442579491676; Fri, 18 Sep 2015 05:31:31 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.199 with SMTP id x7ls224732lae.33.gmail; Fri, 18 Sep 2015 05:31:31 -0700 (PDT) X-Received: by 10.112.198.198 with SMTP id je6mr3018905lbc.31.1442579491368; Fri, 18 Sep 2015 05:31:31 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id z7si5017029lal.94.2015.09.18.05.31.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Sep 2015 05:31:31 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by lamp12 with SMTP id p12so29012170lam.0 for ; Fri, 18 Sep 2015 05:31:31 -0700 (PDT) X-Received: by 10.152.28.9 with SMTP id x9mr2984944lag.73.1442579491243; Fri, 18 Sep 2015 05:31:31 -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 w3csp263541lbq; Fri, 18 Sep 2015 05:31:29 -0700 (PDT) X-Received: by 10.68.220.226 with SMTP id pz2mr7173796pbc.115.1442579489646; Fri, 18 Sep 2015 05:31:29 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id tr10si13207570pac.236.2015.09.18.05.31.28; Fri, 18 Sep 2015 05:31:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 S1753852AbbIRMbT (ORCPT + 30 others); Fri, 18 Sep 2015 08:31:19 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:38744 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753821AbbIRMbP (ORCPT ); Fri, 18 Sep 2015 08:31:15 -0400 Received: by wiclk2 with SMTP id lk2so29013254wic.1 for ; Fri, 18 Sep 2015 05:31:14 -0700 (PDT) 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 Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Russell King , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, srinivas.kandagatla@linaro.org, John Stultz , Kumar Gala , Stephen Boyd 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: srinivas.kandagatla@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.54 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: , 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 --- 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>;