Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2198212imu; Sat, 22 Dec 2018 15:05:02 -0800 (PST) X-Google-Smtp-Source: ALg8bN5mbqu+YolesGYxrHtncVzOcWG2EqeauNRL42IOltty9f+zInQBifgipRRIijkbhg0gJdsI X-Received: by 2002:a63:184a:: with SMTP id 10mr7466118pgy.81.1545519902722; Sat, 22 Dec 2018 15:05:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545519902; cv=none; d=google.com; s=arc-20160816; b=ncNL7vdXpoIQ0MlvUIYdYx5Fs8ZsbtRMmWqPTupeJbcJyr1qhdZOXyLWRESEAt4fre hheIs+wly48eNreOMninRoxH815yMbR2dWm5uSSkWeeAHX1rqkizTBW3Q7Vr+0JP4Rs1 Azln3zUko+1swbOERGarnq9elbGvzwi/bxYWimS4NnMb6FJfvBzM37TGHy59hrwkTNhy NRmN/84JeL0zKDYDJV4R+0BFnDA8HackUDK7gIpmwlgq4NHtiWOF3uRh/b1r3C/yITTQ ypBN7ix7DAtjprXyodcC10l/dRT57w1z2DR9vZAXKYygM+WH/Wrib+aEXmeEVWAgeQiD SOWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature:dkim-signature; bh=aYmCaR4hI8WdHVEMEhWNYNwBmRFDx12iAPm8aa+aefE=; b=pFbP9OYgQ9KH7hWbGOZ1TlqItWL7NbnznLaYTYRkW0qX1ZjVnBJU8KtGwYeV9TgFaL BOc7Qz2touesCkAzxACvAzEQNWTaiYxvUiaQDZAPTQCAqbbCchzwW3P5LXTW/ZmcSsTd uJBLIyzB6o138ecrHNH6o0aJbnlhb2A5lSdW4isZggACIKAyUkCa/6M2d5an8FUoC07+ 7TENEX0Pr799QDFk4OSRBzMs2RvvAZQtsDjtxzadjtmJoc2yKTP0mjGWCmyHzU5Cs4VB dqTzLToeeT1/alWDkDrxifebh5JqVziE04wT/Fl3zSp6isMIGj935gMpOrD7KC3Sx9fm bD6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=USjWzeir; dkim=pass header.i=@codeaurora.org header.s=default header.b=USjWzeir; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g11si23699866plt.4.2018.12.22.15.04.47; Sat, 22 Dec 2018 15:05:02 -0800 (PST) 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; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=USjWzeir; dkim=pass header.i=@codeaurora.org header.s=default header.b=USjWzeir; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391132AbeLUSOi (ORCPT + 99 others); Fri, 21 Dec 2018 13:14:38 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:49362 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725814AbeLUSOh (ORCPT ); Fri, 21 Dec 2018 13:14:37 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id AD0EC608FF; Fri, 21 Dec 2018 18:14:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1545416076; bh=eNcBOB0oC8jPEOuMuQlXtp6pKK6xhsf2vmaKb/Qq1xg=; h=From:To:Cc:Subject:Date:From; b=USjWzeirGsGJPVTSBE6UoP0ahQ0Ue2ymBC5Axe12OTwaVf18v45Lw89NLlLmZ0lYF p/Wr6THc1Z1cRziT+xgZ6vIBwKW2bFxXA49P6OVpQLLPaqi1VczsnRFhCnNq+TC5yE tjgCCO29lNPl15FnINxT3CAEUPmIUKkjFozdL0Us= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from tdas-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: tdas@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 2EF46608FB; Fri, 21 Dec 2018 18:14:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1545416076; bh=eNcBOB0oC8jPEOuMuQlXtp6pKK6xhsf2vmaKb/Qq1xg=; h=From:To:Cc:Subject:Date:From; b=USjWzeirGsGJPVTSBE6UoP0ahQ0Ue2ymBC5Axe12OTwaVf18v45Lw89NLlLmZ0lYF p/Wr6THc1Z1cRziT+xgZ6vIBwKW2bFxXA49P6OVpQLLPaqi1VczsnRFhCnNq+TC5yE tjgCCO29lNPl15FnINxT3CAEUPmIUKkjFozdL0Us= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 2EF46608FB Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=tdas@codeaurora.org From: Taniya Das To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Stephen Boyd , Douglas Anderson , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , david.brown@linaro.org, Mark Rutland , linux-soc@vger.kernel.org, amit.kucheria@linaro.org, Matthias Kaehlcke , Taniya Das Subject: [PATCH v2] arm64: dts: sdm845: Add cpufreq device node Date: Fri, 21 Dec 2018 23:44:23 +0530 Message-Id: <1545416063-22552-1-git-send-email-tdas@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This change adds the cpufreq node as per the bindings example for SDM845. Signed-off-by: Taniya Das Tested-by: Matthias Kaehlcke --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 23a253b..a69a21e 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -99,6 +99,7 @@ compatible = "qcom,kryo385"; reg = <0x0 0x0>; enable-method = "psci"; + qcom,freq-domain = <&cpufreq_hw 0>; next-level-cache = <&L2_0>; L2_0: l2-cache { compatible = "cache"; @@ -114,6 +115,7 @@ compatible = "qcom,kryo385"; reg = <0x0 0x100>; enable-method = "psci"; + qcom,freq-domain = <&cpufreq_hw 0>; next-level-cache = <&L2_100>; L2_100: l2-cache { compatible = "cache"; @@ -126,6 +128,7 @@ compatible = "qcom,kryo385"; reg = <0x0 0x200>; enable-method = "psci"; + qcom,freq-domain = <&cpufreq_hw 0>; next-level-cache = <&L2_200>; L2_200: l2-cache { compatible = "cache"; @@ -138,6 +141,7 @@ compatible = "qcom,kryo385"; reg = <0x0 0x300>; enable-method = "psci"; + qcom,freq-domain = <&cpufreq_hw 0>; next-level-cache = <&L2_300>; L2_300: l2-cache { compatible = "cache"; @@ -150,6 +154,7 @@ compatible = "qcom,kryo385"; reg = <0x0 0x400>; enable-method = "psci"; + qcom,freq-domain = <&cpufreq_hw 1>; next-level-cache = <&L2_400>; L2_400: l2-cache { compatible = "cache"; @@ -162,6 +167,7 @@ compatible = "qcom,kryo385"; reg = <0x0 0x500>; enable-method = "psci"; + qcom,freq-domain = <&cpufreq_hw 1>; next-level-cache = <&L2_500>; L2_500: l2-cache { compatible = "cache"; @@ -174,6 +180,7 @@ compatible = "qcom,kryo385"; reg = <0x0 0x600>; enable-method = "psci"; + qcom,freq-domain = <&cpufreq_hw 1>; next-level-cache = <&L2_600>; L2_600: l2-cache { compatible = "cache"; @@ -186,6 +193,7 @@ compatible = "qcom,kryo385"; reg = <0x0 0x700>; enable-method = "psci"; + qcom,freq-domain = <&cpufreq_hw 1>; next-level-cache = <&L2_700>; L2_700: l2-cache { compatible = "cache"; @@ -1686,6 +1694,17 @@ status = "disabled"; }; }; + + cpufreq_hw: cpufreq@17d43000 { + compatible = "qcom,cpufreq-hw"; + reg = <0x17d43000 0x1400>, <0x17d45800 0x1400>; + reg-names = "freq-domain0", "freq-domain1"; + + clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>; + clock-names = "xo", "alternate"; + + #freq-domain-cells = <1>; + }; }; thermal-zones { -- Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc.is a member of the Code Aurora Forum, hosted by the Linux Foundation.