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 CCA3E1EE00B 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 (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 53AG7rGF016309 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 45twc1qd3m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 10 Apr 2025 16:25:20 +0000 (GMT) Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-7c54788bdf7so23732785a.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=KsPFrdAWMEzgREtmlvdhJpbWnUVJfPGxUMXU0Kdy447PuYhjtj+HxsHznlNYbNh6Gb sgo7kpM83pRRqUqxNiiAdPa9n2V0VGHmczVL8cBNPvsk8YMhXSxHqIgGF+R6tmy5MTrm LYu9YwPKTZ/BeNVIcb5Qp2BDiBvl3z3/C+V3GkaorFB2wUzUtpMxDW4jPgxw7I29rcgT tSmxh2qqLK5REnZ9wqvIQrkdrH8omSbHI5RGXK1CO/Q1xyM/O5Ptkkm/wd53utj8pcY9 fFPQEcinJ0Q8SbEGC04k00oMlbSzDhT4NFYrkNJB3vgywvqROPPhDwuS7csjmrbQdWfY w4Ug== X-Forwarded-Encrypted: i=1; AJvYcCVcASg7FxM2StTArsZrkcwgj75Le7tGcb24LSVTf0ap2DCBGf4zdCeaR10YTb4nLKr7W0nLq2x61X6JHxhC@vger.kernel.org X-Gm-Message-State: AOJu0Yw4lOElmVy/R9FpdHLo6pxmcLNY/IJaZHkJniLySQsSYZXhx5cy Sn9bmLTe9BCpSwY77FclaBcdAd2YyzNJPTEO2Agepvg08ByiG/UcNBejXvCYh/nZ9x4UYcskhUL rTBn10mlCDku2Gl+7YyyRX7avk4Hjsj8quyqK+qdzB5C2yqNc4bbY6nCKvGkdAzdh X-Gm-Gg: ASbGncsCBpgO7Q2NsXdqGFWVlz7cHgHx/FHMhoY8Zky0Fgp5yIlZZaINz3AuvTEGJR3 JQAQ+zp7p/zNIbAauDEzYF0cAnwmzFxkWNl5MsGK+nJ9KVyK5fTAdc1idiWMyhQeeLlVM/W8xnH l4Ryf34WHbnQ/iU7zg0PtfhGAEFb5FNrH5PdaiNN/ahwL7wCTkaP29zj67XnT+qwJwD0lZsdmGY pB6InExu9oOEuynsz8UXy+mR7qrbW0zBO261F5xUwAWrzckoqIOJQwqty5L9HYiftIewY2YZRIo DXKTTwfujkfMnzq4A2WYGnQPGFX+7vST4C0d8KdLUqJf+14uj6aCxSoPcgFDGcDTRQ== X-Received: by 2002:a05:620a:f11:b0:7c5:8f37:1eb2 with SMTP id af79cd13be357-7c79cbed7e5mr390020785a.9.1744302319242; 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-arm-msm@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: pLXQx_CuDfNcltNvmCeWgIpzdWXvM5BY X-Authority-Analysis: v=2.4 cv=KtdN2XWN c=1 sm=1 tr=0 ts=67f7f0f0 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: pLXQx_CuDfNcltNvmCeWgIpzdWXvM5BY 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 clxscore=1015 adultscore=0 priorityscore=1501 phishscore=0 bulkscore=0 suspectscore=0 spamscore=0 malwarescore=0 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=970 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