Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1988782lqz; Tue, 2 Apr 2024 04:10:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWed7ZcJ9QAIMFqysx15uPTc9E4bAAaVP7uhL9iydlve3c1rzgKKV+qnMGh3gM0i5WR1iNkjORw+71tRyJ1AL8vYn1lSf3Mwa2Ba2tJ7Q== X-Google-Smtp-Source: AGHT+IGogz7jrJyYnMCRJiTJmJaVg8bBApGOs/CQtfvilpgl/lGElFItELbS/8OyMPWb5IDnASgv X-Received: by 2002:a17:906:f8d8:b0:a4e:6b0c:9d3b with SMTP id lh24-20020a170906f8d800b00a4e6b0c9d3bmr3543350ejb.63.1712056213976; Tue, 02 Apr 2024 04:10:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712056213; cv=pass; d=google.com; s=arc-20160816; b=Nqr4GVqRzSwTa2Uz/cmgtrQQhZW2kVgfhO7TBrCq8zSaCgwBBAuX6jJrKkaMx+Pjv4 cznObHdkSasE2pDFz8pgq3ryuO9rPZkDL4zDKISD1mKkypaM1nLBLt2GclvLeUh3Uh+7 nF9gKQ9XWkPVf0Fozog1d1mz3C3DIb2xXIA1nCexnYhBg6GTIAvImudsBif/1FBslmMH rhM/zC0GBgUI9YcYcjNJlCa2Rn35u+ehOL5BJ0J0ypPxc5OxobQIc1v7oiofk8aqr+8l 0puppgpinH5SBJhJqbPkDSrTe3WvM285PeHfw6mRS/MzALQlbY7TqBDClRyjIWxvfbFG Oneg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=l5ub86j/ctchzzwQOkM4ih7SdH4PVRQviV/6xfouE/M=; fh=DmOFtprxy7QVtzp7CjRshUDzSNfTL6Pt26bOLBofeg0=; b=Z+m88TLf2yfH73nE0grKDVDzeV5Nt7HwL8NTtMpv94ZZupEk1VkmvFjjeLuatF14EY +OcG/6jky3oCxql32clgPw2VGCkd/8MEn3AftfxMbyqp/OYqUMWurvdCqB5ilMk5KdY9 4XzwOZvGj7CqqsUjjFPt540CDdJrF6jkM0czaWf/zmTiFUhIbKYzLvvwtLUF7t76nHsD LCG1Pbr9EQ3BHjns1CCxw6l2z01u69VSYubszubZcYVjQvKwoCWbljVuOoGohBsg0t95 FWdu/PyJxOj/Jq23mlMQiONsxEkW5fOqkEAqfmIZdTOGk5xoO14R196INxX9X/8AQ8d+ Rh1A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-127825-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127825-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a22-20020a170906191600b00a4c76b7d6c5si5566444eje.272.2024.04.02.04.10.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 04:10:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127825-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-127825-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127825-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A6D141F2420F for ; Tue, 2 Apr 2024 11:10:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 806B5626CB; Tue, 2 Apr 2024 11:10:06 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 55BEE59176; Tue, 2 Apr 2024 11:10:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712056205; cv=none; b=fCytmf6ZaBnEECZg4HLBXymatwC9bEI5V/oIVFcWNEtE2GhTiTeUl4+/or6p2c2nzHaoE6aGW9G6odYsmTpwk8HSmaKcaA9fli4cXSy6ZE06vXcnGX8ObpWY4MOilhe/xTvaEtxvRfGic4XggusnsdImliyTKL/MeuQO86/zrM8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712056205; c=relaxed/simple; bh=4ZBPmkQjIatLE1GDGNdFvrhnCif2h0CoGIHWile2u0w=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jvam0uO6pkKaJbbBSX70zozxR5Xrbli8vKpe6UCRSBiKMtQhtZ4zzuyCLzYcAz6XxpOGAlLzsljH7pYPdFxJmxWIZf9JlN1w/YvmisFw4U+iaxNDWulOhOOMmNTjD1SPcTCSE51a5XHSY0mGVoymsprpo6rw8l2U5V27MoTw5hs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7E066FEC; Tue, 2 Apr 2024 04:10:35 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8F7B43F766; Tue, 2 Apr 2024 04:10:01 -0700 (PDT) Date: Tue, 2 Apr 2024 12:09:59 +0100 From: Sudeep Holla To: Sibi Sankar Cc: , , , , , , , , , , , , , , Ulf Hansson , Subject: Re: [PATCH 5/5] arm64: dts: qcom: x1e80100: Enable cpufreq Message-ID: References: <20240328095044.2926125-1-quic_sibis@quicinc.com> <20240328095044.2926125-6-quic_sibis@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240328095044.2926125-6-quic_sibis@quicinc.com> On Thu, Mar 28, 2024 at 03:20:44PM +0530, Sibi Sankar wrote: > Enable cpufreq on X1E80100 SoCs through the SCMI perf protocol node. > > Signed-off-by: Sibi Sankar > --- > arch/arm64/boot/dts/qcom/x1e80100.dtsi | 27 ++++++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi > index 4e0ec859ed61..d1d232cd1f25 100644 > --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi > +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi > @@ -68,6 +68,7 @@ CPU0: cpu@0 { > compatible = "qcom,oryon"; > reg = <0x0 0x0>; > enable-method = "psci"; > + clocks = <&scmi_dvfs 0>; > next-level-cache = <&L2_0>; > power-domains = <&CPU_PD0>; > power-domain-names = "psci"; Any reason why you wouldn't want to use the new genpd based perf controls. IIRC it was added based on mainly Qcom platform requirements. - clocks = <&scmi_dvfs 0>; next-level-cache = <&L2_0>; - power-domains = <&CPU_PD0>; - power-domain-names = "psci"; + power-domains = <&CPU_PD0>, <&scmi_dvfs 0>; + power-domain-names = "psci", "perf"; And the associated changes in the scmi dvfs node for cells property. This change is OK but just wanted to check the reasoning for the choice. -- Regards, Sudeep