From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A2783C369A9 for ; Thu, 10 Apr 2025 17:15:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=zR4+XiWiYcCAIsEskE+Pa3uKadOj7H5b8EyZw08afF4=; b=w9+f1Ahl1hw6HJrf9doYpBIq2u hN74GqXdwGYzmnIEBag/Mty3lB8NNmK50YR2iRyBIlPd02ig9x4CuaH4tAxoYQzsSHfJwmZh9BhE/ QGhzj0LcwsHbqaMkKzzXAYKaQe6iKydCCFA0ShGFic/K7t0h8ss/rptf/601rBU8r2TGawrk2/IDE CtRPuI5h6O8Pu2mYyCJIZqPjIayJQ/+2sMHSlMLkSc9kxnQK92cxy/pWyqjmyEWvzmawdpGFDblHd BVGoyHkAqJVqQEI6Wq4r+jYEVr8cBoYJBPm9N/PIlMA3bn61f9ahlkPPiuQGdqp4BR+Mm6/Kspw/q 0VbW6EDg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1u2vUS-0000000BLEI-1w6R; Thu, 10 Apr 2025 17:15:00 +0000 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1u2uiP-0000000BBOR-1GtP for linux-mediatek@lists.infradead.org; Thu, 10 Apr 2025 16:25:23 +0000 Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 53AFh4BK008193 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-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 45twd07p56-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-f198.google.com with SMTP id af79cd13be357-7c555d4ad75so21278585a.0 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=i/mooTMy+uBzQ2PuswOwvv7T5r+hzdERah6xTHTuXwfoS2rpvtiabiOeWTQhPbr1vd 3auaUJybVTq55/a+/O+R3kU+6crnUE8CyYb5CuSl/Bk2R+ihcQgWgtYXV8gd8sTmANjO 6doQfBGvcpvt0aG4FfSy/q/+3qsHb87/jE9qBon/htwDdKSSuWGi1PwYQbX9Lwhzqhgi 2/wZ6b8jyTYlrgeIhqyUhJUeHzjyN5LCwQqysve6TMRtPjzDkxnWAbLj/teCKCiDk1GJ 9lS3AnI+c5htMSd/J0vkff0yp4dbsA+fKINaW5an7PQb1/SN9kISVsLRiPysuc5PyG0Y VPRw== X-Forwarded-Encrypted: i=1; AJvYcCUNtxpNkXmkPl2K6dPAkCjqHoDXuJLCCUZ0N+7qmBFMvMKGXZhZ/yXzvodz3ht8AV9c6NZJ7E0sAU+o25q28A==@lists.infradead.org X-Gm-Message-State: AOJu0YxmYZIuuemANtrihEj/4QOez/M+G5WKAOiUdwTWkM03ojVPRoHZ 2nVHs69lDjwYyGkHQ7sl+uTZOdLFMJGn3Aite5howW2cbIPRDK7Q+UFm+NH9MpP3EIXqYeOOw6R tQIVjrWXvTKMqRZ79q4L8c7tHwXu4tQT0CWFZF+lMDpoSpl51tqDYcaHDkZN1siW/bPnCcLI= X-Gm-Gg: ASbGncvBZDVaS/+14xjajbZ35pQX1zHmgS1kK45f1tev18rLBMVuMqmsJjP885JJ8fX NNAahoR1KdDEWsaxSUh/ws9uNIRFftJveOyklr5yFnmAU1jVtQ4aalMiXZvyzTPaeEdpTjqkMV1 oO0kViVQDdcys/2ILGgilmklwE/4shQNWlykkuo9NCjKbI4HxGt5UwMhmso2SwttvqCPy8/s523 FW9AnWYWtKyVHCz6U8iBGJ4ICNVmtmzSdTSZYtXHK8/WmQ/VmwG0PQv7fw/OLCILIjM4Qao5Z6q 4UdG60SihYOCnbxwyvzE/Om3FJkj7f6hGzqMKqp18Y9sp+SHkEmpvft9EQIE6PoQOQ== X-Received: by 2002:a05:620a:f11:b0:7c5:8f37:1eb2 with SMTP id af79cd13be357-7c79cbed7e5mr390017685a.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 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: nPdtzoXQ1kD3x8CQvfpMqRMDN8KUkeSQ X-Authority-Analysis: v=2.4 cv=Q4vS452a c=1 sm=1 tr=0 ts=67f7f0f0 cx=c_pps a=qKBjSQ1v91RyAK45QCPf5w==: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=NFOGd7dJGGMPyQGDc5-O:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-GUID: nPdtzoXQ1kD3x8CQvfpMqRMDN8KUkeSQ 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 priorityscore=1501 impostorscore=0 lowpriorityscore=0 spamscore=0 clxscore=1015 phishscore=0 bulkscore=0 adultscore=0 malwarescore=0 mlxscore=0 suspectscore=0 mlxlogscore=999 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2502280000 definitions=main-2504100119 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250410_092521_489635_50413FDB X-CRM114-Status: GOOD ( 22.37 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org 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