Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3339564imu; Mon, 14 Jan 2019 00:57:29 -0800 (PST) X-Google-Smtp-Source: ALg8bN5ZSEloAwVFBWgy2gFgN62J9VEabXSnzO8lkD+sdflvv76ygdaLd2hRd0XuMjOmFSjdz/Mn X-Received: by 2002:a63:2d46:: with SMTP id t67mr22375788pgt.140.1547456249920; Mon, 14 Jan 2019 00:57:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547456249; cv=none; d=google.com; s=arc-20160816; b=L7QMkbAv4TErd4q4PjX1dBNzSvm9qRaIF/3zRJjKFLVPHPOdaQ4O1P2i783bHXaWJE YrLmWRGBx3U52bNUZdA+fYNNr6wRFYMOStSO9YSnjhmJs9YmaZGPd67vNXVM1/yyCq4e yyubC1zi2uAJyRklCNLvnp3E66ztD0bhVsi0OpDsZOutTv7lGqt3uJUva7Mq1Uuk90OZ 6TFbOSBV9wqDRnII5r29Ce5QvL/HUr5WqFVOdLSD56X6DZq0YFFxjPxNZ9y7/rS8gs32 yHIV8EpeDWumm+ySvUH0am1+pitac9ic/WeJ2GaDY4KIJT5ekSMrtFSPj+2H8u7vqY2v lD7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=oIrGXrTeDTD2KD6/rilurSb9J53p/6aGfT6xPid1YYU=; b=Ov0i6ijjmvpOptitV1KwHJQD3xX7/q2UJn6HSInWaP/4qDxdCBs1poa264mNFXU2YY pdVR1Bpz0q7srGUZCFyBePm522RLX5tPaqrrj6IufiDJEL0SQ7ckfju+tEnqkD+Et3ZI FQo/bAlguf32SukCHIAqhvgpsOv5zkOdoJXiodqWvto2zAIMXY+eM6sTof4Nc7oRjkO0 Pb85eZzpdPJlJ1K980ORKZSnA5knJbn8PWpe/5KbKbYijs0xbFPZ4DUIKgkdmaoqFwbf RKLvOctElPiFTvMuqUWOzMqGaT6Vmb6NJ32IqZdJbXZXJ4UD2UUc9r1vXof/K/0HUj/I hK/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QEtS3F6F; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a12si38738166pll.112.2019.01.14.00.57.14; Mon, 14 Jan 2019 00:57:29 -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=@linaro.org header.s=google header.b=QEtS3F6F; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726545AbfANIzw (ORCPT + 99 others); Mon, 14 Jan 2019 03:55:52 -0500 Received: from mail-vs1-f66.google.com ([209.85.217.66]:45897 "EHLO mail-vs1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726064AbfANIzw (ORCPT ); Mon, 14 Jan 2019 03:55:52 -0500 Received: by mail-vs1-f66.google.com with SMTP id x28so13115442vsh.12 for ; Mon, 14 Jan 2019 00:55:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oIrGXrTeDTD2KD6/rilurSb9J53p/6aGfT6xPid1YYU=; b=QEtS3F6F8iJSrbJIhNPMukByfeYXsgwgLbJfVpCrmWBAXFwUAV5tQK63rylHg2WAIP plzXafdet4WODpT4ujemBbzVxIFhK6oYuWY7x3vVt2QN6IesaidDIazBE6fi17Ge6ou6 K+osVajLPcWfC2OIcMV2uJB1Swyasg0Iw7lCk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oIrGXrTeDTD2KD6/rilurSb9J53p/6aGfT6xPid1YYU=; b=R9vYm9HF70YzdrvrX56V6YxGXGwXtg1uPixoLDnAi8QSzlE1KlZZTDUJ6dQWJJc7mm fxoskQSTqmUGsO4F9MOtq2413XrTOxFkijaS7dOpvcSgc3aRqMa5dNh3quk5imBDywBC LYNDhKNKXscVtjuSgQNFhmZnK5NbZVwqi+3aBo6ypqePo5cKGRZEV2wkZc0OBPXdIuHY 3kHIN8WhfCCMYHjW5HQ+13E2CSTrgi1xGpSxuyk8MupsxgX0ji46C/PdO1DZ0kCCUYv9 o0f+Y9ZrGdpCi9TrwRDuCg0i546nF5THHj7aJ6ZkJs4Bz+VIu1qNFBj5R4dWMf+E8yxb QXBQ== X-Gm-Message-State: AJcUukcP/4Hj7Kl/eLH3kHWhbuytfHNEdtbaJEKcmhvtquhyUn5aq6V/ rLHa5DTAl8Ezl6WKx8PtP+f7vw4Fc57u2v9YOntP7A== X-Received: by 2002:a67:7ed8:: with SMTP id z207mr9157387vsc.159.1547456150406; Mon, 14 Jan 2019 00:55:50 -0800 (PST) MIME-Version: 1.0 References: <1545416063-22552-1-git-send-email-tdas@codeaurora.org> In-Reply-To: <1545416063-22552-1-git-send-email-tdas@codeaurora.org> From: Amit Kucheria Date: Mon, 14 Jan 2019 14:25:39 +0530 Message-ID: Subject: Re: [PATCH v2] arm64: dts: sdm845: Add cpufreq device node To: Taniya Das Cc: Andy Gross , linux-arm-msm , Stephen Boyd , Douglas Anderson , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML , Rob Herring , David Brown , Mark Rutland , "open list:ARM/QUALCOMM SUPPORT" , Matthias Kaehlcke Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 21, 2018 at 11:44 PM Taniya Das wrote: > > This change adds the cpufreq node as per the bindings example for SDM845. > > Signed-off-by: Taniya Das > Tested-by: Matthias Kaehlcke Reviewed-by: Amit Kucheria Tested-by: Amit Kucheria > --- > 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. >