From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CCB121EE033 for ; Thu, 10 Apr 2025 16:25:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744302329; cv=none; b=fg3aNLufqXkAYdwbLxrd11TDIMtpOcH/IGPL2X1DWCGA491/jjqONsEqFkbL0h2tbR0zjE60xU4DGOjIq2N8Aa+0AaDB+SI688vBsx7q63Kj0QFGl231RhvJGzFBnLgnUhI7nAjRU103dJQtNxWYDqQNwHkbQgf+qOeGdNaM/Ac= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744302329; c=relaxed/simple; bh=vIUbdxOYqvSTKo9IQatuZE5t3HopXP85AqmNwZ7+JzA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=KcGZ0SsyYR5sJiHgEP+HCTlO1djrQwfPA+xhYnIR8DEzCoPdFUFnDYMCCsuqpuVu7qfeqPcGJqIdIu5zznFLv91ASrEA4mJyyOympUn/tfTb4iImQ5sCYzw4vPHFmlP/ast8G68i9XtGCelauQ1akh5Q/BYo2ybZ9w+qafUrafc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=DRKNXxAb; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="DRKNXxAb" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 53AFu4wO019694 for ; Thu, 10 Apr 2025 16:25:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= zR4+XiWiYcCAIsEskE+Pa3uKadOj7H5b8EyZw08afF4=; b=DRKNXxAb/WCjQgrY hz9jTbcUmyc+6kpdmMafLPwR+le4Cq1jMeyTjCxsCejceOyQfmi7oALTlTQNZWmt HZ6ObdJEu2UlNJkxKLh981hjfDcheQK0YO0wpLYTB3oAE0bD7z6wPJkf39uMqmv3 CuXvn7AHdYvhyvsQsOt9vExk3T9+laF7gO/oW+l2c7/SeICL+lhWMeaeZjtfRw2b SiKNTFqzXURqsJ0+m/R/jLELMHOJ18HrzMql88kcjtfnQ+hgcZkTDD8CVSedDpi7 E+HHxl/0WDpxjk88guiiXC047QSHSRPQvoSO7HNYuo0vrP/LcMl7CKsMAUYEQ12n hZULkA== Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 45twcrqq1n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 10 Apr 2025 16:25:19 +0000 (GMT) Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-7c54788bdf7so23731985a.2 for ; Thu, 10 Apr 2025 09:25:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744302319; x=1744907119; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=zR4+XiWiYcCAIsEskE+Pa3uKadOj7H5b8EyZw08afF4=; b=udPlkuMqiIPJo0tGZOxgJRtOTN7vtHySRWG3CL708ybyyZ3tYbYxydT/2Qn7k6ivWK sM5n80mWRC3aUyTkU/idEbr/E1HIu6h/Uo2WVDQrPbN+rMcSDwoOjPUHpgppD4d4HJY7 SVbpVbdp+HGH4KcJ+M6DwlsTqkAeZRD+mvt3axNldmc+xl2OypcINzbipB6jUplGBGt1 v9ZFozGIC542FBPTrvAyMUm70h8rIQPbs15NAeW0MTyP39g51D2tPK4F3/ZViEhc4D/e qYdGaV7NWdYT7KXQ5DUKmeL05EHOnfiXUSbdiWf3DFOyAwh3jHyUflfGaczQDD/fDaYF AU7A== X-Forwarded-Encrypted: i=1; AJvYcCXgjC7FbN7/RZ3rMGUpvfSM7T8izX2l8Q/HcxAzqvxlx9areIYH22RVxQyhh2dx3TgdqRI0gKshyA==@vger.kernel.org X-Gm-Message-State: AOJu0YwTfe+8o9LEwBZ5HRcuBwytRNx2Q3sPlrjVXCtrfofw4lpYpX99 pr/59wntWHbCs7MCFzCwPHVKnW/0+1BgW0xhy89J/qaZVL9sloj2L79SgUvs/tyjimzo2XbYruC eXWozPzo6A9aGX9ImKa8HSX2mwxFseFh9Yg4LH+Zg0n5QPV1sHY3uKartWA== X-Gm-Gg: ASbGncuISteN8wYTaKYUg7kzFJmazVmtDMJsaxBak1XamXCArO+DJyzIRXiORy6Ake/ FJx+6/uPBnSLhJu6l5F2Xbgkvwau6pYOOd1bEtE5eqlLDWDlBZT206M+BmVkS9E5uv5V6EMUn9K oeD6xLRavW6DVLYfGKFhfMOh07mV2w8cwlTReH4KRgmtAjnjPpdFeMPyhK7/SRp+Tz0mGXglhTh ltkrEGZ1stMQFK+q3jK3VZ0AfqkuxWdkpP57Dhr4bWAf8ftn880pnlZrvM6jVtbHg3uGI+ZkSAB oyEMS9xdyo1G9WWWLI+KixQA0nxkVjyLTQudfcJU4BeZYiOMi7Og3e7g9pzfz8ibJA== X-Received: by 2002:a05:620a:f11:b0:7c5:8f37:1eb2 with SMTP id af79cd13be357-7c79cbed7e5mr390017885a.9.1744302319225; Thu, 10 Apr 2025 09:25:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFGh0TA+XXGeyGhF/XKIz0cXHA6zoUdAUUcHCD76IoGVEG3eLbl5iKlo88Yqsik48pUsXmHeg== X-Received: by 2002:a05:620a:f11:b0:7c5:8f37:1eb2 with SMTP id af79cd13be357-7c79cbed7e5mr390015185a.9.1744302318810; Thu, 10 Apr 2025 09:25:18 -0700 (PDT) Received: from [192.168.65.90] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-acaa1ce818bsm297826166b.182.2025.04.10.09.25.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Apr 2025 09:25:18 -0700 (PDT) Message-ID: <898bebc3-e2b1-4819-9869-05b783509146@oss.qualcomm.com> Date: Thu, 10 Apr 2025 18:25:11 +0200 Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 09/19] arm: dts: qcom: sdx55/sdx65: Fix CPU power-domain-names To: Stephan Gerhold , Konrad Dybcio Cc: Ulf Hansson , "Rob Herring (Arm)" , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , "Rafael J. Wysocki" , Viresh Kumar , Matthias Brugger , AngeloGioacchino Del Regno , Vincenzo Frascino , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Bjorn Andersson , Konrad Dybcio , Thomas Bogendoerfer , Viresh Kumar , Nishanth Menon , Stephen Boyd , zhouyanjie@wanyeetech.com, Conor Dooley , Nicolas Ferre , Claudiu Beznea , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Heiko Stuebner , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Geert Uytterhoeven , Magnus Damm , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-mips@vger.kernel.org, imx@lists.linux.dev, linux-rockchip@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-renesas-soc@vger.kernel.org, Manivannan Sadhasivam References: <20250403-dt-cpu-schema-v1-0-076be7171a85@kernel.org> <20250403-dt-cpu-schema-v1-9-076be7171a85@kernel.org> <03011a33-174b-4027-bdd2-043aa685380b@oss.qualcomm.com> <66f8d957-f7a5-4aec-b8e7-5bcc7ff7f569@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: DRjUPJA7Of11z5VUmB2a-OWj3w9AQyBx X-Authority-Analysis: v=2.4 cv=QuVe3Uyd c=1 sm=1 tr=0 ts=67f7f0ef cx=c_pps a=hnmNkyzTK/kJ09Xio7VxxA==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=XR8D0OoHHMoA:10 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=KKAkSRfTAAAA:8 a=LizfDJ_PtI4Zq51CQE4A:9 a=QEXdDO2ut3YA:10 a=PEH46H7Ffwr30OY-TuGO:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-GUID: DRjUPJA7Of11z5VUmB2a-OWj3w9AQyBx X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1095,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-04-10_04,2025-04-10_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 adultscore=0 spamscore=0 malwarescore=0 mlxlogscore=999 bulkscore=0 priorityscore=1501 clxscore=1015 phishscore=0 impostorscore=0 suspectscore=0 lowpriorityscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2502280000 definitions=main-2504100119 On 4/10/25 9:10 AM, Stephan Gerhold wrote: > On Wed, Apr 09, 2025 at 08:35:29PM +0200, Konrad Dybcio wrote: >> On 4/7/25 6:27 PM, Ulf Hansson wrote: >>> On Fri, 4 Apr 2025 at 22:41, Konrad Dybcio >>> wrote: >>>> >>>> On 4/4/25 4:59 AM, Rob Herring (Arm) wrote: >>>>> "rpmhpd" is not documented nor used anywhere. As the enable-method is >>>>> "psci" use "psci" for the power-domain name. >>>>> >>>>> Signed-off-by: Rob Herring (Arm) >>>>> --- >>>> >>>> "psci" is what we want here, but these platforms require some more >>>> massaging.. >>> >>> So this isn't for CPU performance scaling? >> >> Nope! >> > > Huh, this is definitely "perf" (= cpufreq) and not "psci" (= cpuidle). > If you run blame on this line you get to: > > commit 0ec7bde7b590f8efa5823df3b52b32dd373060ff > Author: Manivannan Sadhasivam > Date: Thu Apr 8 22:34:45 2021 +0530 > > ARM: dts: qcom: sdx55: Add CPUFreq support > > Add CPUFreq support to SDX55 platform using the cpufreq-dt driver. > There is no dedicated hardware block available on this platform to > carry on the CPUFreq duties. Hence, it is accomplished using the CPU > clock and regulators tied together by the operating points table. > > https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0ec7bde7b590f8efa5823df3b52b32dd373060ff > > The OPP table looks like it's supposed to set SDX55_CX performance > states according to the chosen CPU frequency. MSM8909 has a similar > setup where the CPU is supplied directly by VDDCX and we describe that > with "perf" too [1]. Ohh right I was under the impression that qcom,cpufreq-hw is used on those too, but apparently not.. Konrad