From nobody Sat Jul 25 02:47:25 2026 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 2CCD83ECBC8 for ; Mon, 20 Jul 2026 10:55:19 +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=1784544920; cv=none; b=S9a8Jnu7/2BdU0uIaVCaqtzeOCs8ysClbA0mVRcUCcqb4Hs+SPtpAlDtxiS66FjXtqfna2dytZMTFBNpA5zhoLC+Xc+GA0V0GGqaryG1YCois54A3ttaQMnpHKIRPTCnYu/sqPuhGBkxnItqd9T2ymo02k82qv+xA0cwAbLnvLY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784544920; c=relaxed/simple; bh=VLVtBrficZ53U+t7h3TLEukTjKWLwiagVpjB+rG9eno=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lawVLaE2xSDvApEamhtEP2YtLPJgyesyCMZ6WJNvb/QYrWbEEFmDlFfLFkTuI0t8kvk7tzI8AJ1WJfbuzl/CafPh24dmHrBeRa1iwgjrvkqVgbGUqDfN1Hxu6ec9rPDxRsjtl3TTb7M0Q2u1/rEEIY3vIki20B0+lyYcR+qon+M= 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=cedHPh+y; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=BDiXCRrw; 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="cedHPh+y"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="BDiXCRrw" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66K9vc8W2320726 for ; Mon, 20 Jul 2026 10:55:18 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= Q/QrLkJaxirI/poj4XlPdykCvQeAh1xu+XE/9olTUyc=; b=cedHPh+yngEzVAaT hVyNzIB/8JR3Lxz1r8ROr2I7XNNLKD3n/lE6ClUkWmnulyvsA4p8NTsceICCltLP WLXM4g3PTVn+AUsJ6FtzrEUB+fPPKGvYZDm5OnRK9oLhP8Gaautqf1qKlOXlra9p 7PnMlBWSOijzxGhbOMJVG+FP/Jd5xTbrb6DTE7yEKJfyZ8V4wm/YGEVwiF4Wz8eA Wy2MeyLg8xu//+0cTUZLHqWfjFDCYTgnSzMqWS0GiTLtdX1DMXdhqwyyDIc+U/Q2 dlazH0WQcDo/oJz4ZYNetjgVO6rA3Xsha1QWzxAglpifqibt9uuQ3pPYWZFkficA E8ewWg== Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fhf0krym4-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 20 Jul 2026 10:55:17 +0000 (GMT) Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-38dc085b0a7so15128121a91.2 for ; Mon, 20 Jul 2026 03:55:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1784544917; x=1785149717; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Q/QrLkJaxirI/poj4XlPdykCvQeAh1xu+XE/9olTUyc=; b=BDiXCRrw8pVuDou0uQxly7dTUBktDSjYIRmYZlVFG9xOIihqb24IT6oh3m9sBJ56gt PTd543RW5j/NOykdzHt6glNihkQwU7qQZejE7TC9BcuOV+8kUGFKlJAyeGMrZqHh7kE7 Kf2iPDyMfHQMa5Lme0s+AfwNjxcVuCYqjgcNm9NeeOoVB9+4bQ0o/a8wfQHGmo3Jmo7Q LiJJD9qWI5Z27kqLtpmzdQYh+OskX1om1cVt5MFROm8ApKyrpKYYyp7npCEk6NqKZXm1 HXUPghN79jRPPdWtj8EYAf8+zfT0edGjcVVIaCGIgCIqvXNHeViJudTxcewIzr/nz+Tn eJxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784544917; x=1785149717; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Q/QrLkJaxirI/poj4XlPdykCvQeAh1xu+XE/9olTUyc=; b=FlnN879INffzZ7iz9cvYnOhDWwBbvqAIhzG/++jU9JRhbIorOJcswJ5cse9MhGcVDz 6pH9Db6G74nOGg6Cyl59IE2Do+pzAvzIanuXUN8cR8AR2RHKjf3F0fAWiRfZsTzUzmie bWjDiAfeOgdEyqkX7yKZgN/p+BmhAXhjJsQ7mfSvOxXKfkpphbp20aIt0kllGOoooCh9 lkGKVTVIDBewkgFCZRfW5yJVwfMerk8Am2eAGcFuasCQLMHaBoVgrb2JrSztX+nLhVl4 aPEQPH08kysaddh++Vh3tjRrBddsUIQLR1JTKeXjcv8Fz9mYAgzION/jr57kZsNwiu6W CPLw== X-Forwarded-Encrypted: i=1; AHgh+RrS9UIrJ+D2CJ9a4voY3F2vP2sXi0KBKE+mOvF9k1bI9Tpnqx8uknss39n4v+4YzqB7GtnOqKYtgnlAi8I=@vger.kernel.org X-Gm-Message-State: AOJu0YxgbJui60XzkiIRPQNqjTc1UrPauoOEIG0UWO4nXOI108YJiY7y 4MlNCnTzQiEsDZ7M8PFxWNwbOi4vTCFxOaPDPTdgm5bN6+QhcWdpnTfck41PgIPwMDiQkmcVcZI P8w8JPF+XTofFR3R8to720FqFDAu/1ow+KWD4K/1ByzkVGTaTRTSCZao5RAe6/MU/kA== X-Gm-Gg: AR+sD116PGsCn/v5xgsgTv4FF4AErVs/TzTIDP0V1LhmKMsN+FE3PriOMd5UFt5IFkj 4aBtGCIccVdNJdGfD3JrZBA/UZ2zk+4uSgZVXjFzHe62dtk1LqCASJr5Aq3KiVs8997GKRxHGEy HT6QrFnPIRCb43El8XcZpGauhNqXV7Nu16DFCsFIK8xBZss8tFz5/nPCFiDG8HE4dD16sdYGWT1 EnERqFcDLt7GrLPaJLAueULBiKKd66IyWa/XYMTguPKvp5SMcfQw7Vts7wTt3DREn4VtfKBJYJ7 L33rp6vBNiu1WbRE3l78j5sdNY1kszCbtX18vprwxdY2xl/oxl12zrf/ea4Uhh2RYyRxLFPJln6 +pVwmrAmBsUCsp56etCxbJzNlJ01KlA== X-Received: by 2002:a17:90b:51:b0:384:8a11:33eb with SMTP id 98e67ed59e1d1-38e4b53460cmr14747218a91.24.1784544916733; Mon, 20 Jul 2026 03:55:16 -0700 (PDT) X-Received: by 2002:a17:90b:51:b0:384:8a11:33eb with SMTP id 98e67ed59e1d1-38e4b53460cmr14747192a91.24.1784544916207; Mon, 20 Jul 2026 03:55:16 -0700 (PDT) Received: from hu-kotarake-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-38e4b20df7esm5661431a91.13.2026.07.20.03.55.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2026 03:55:15 -0700 (PDT) From: Rakesh Kota Date: Mon, 20 Jul 2026 16:25:04 +0530 Subject: [PATCH v2 1/3] regulator: qcom_smd-regulator: fix PM2250 supply parent mappings 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="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260720-pm2250-fix-supply-parent-v2-1-60ca47031b50@oss.qualcomm.com> References: <20260720-pm2250-fix-supply-parent-v2-0-60ca47031b50@oss.qualcomm.com> In-Reply-To: <20260720-pm2250-fix-supply-parent-v2-0-60ca47031b50@oss.qualcomm.com> To: Liam Girdwood , Mark Brown , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Kamal Wadhwa , jishnu.prakash@oss.qualcomm.com, Rakesh Kota X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1784544905; l=5456; i=rakesh.kota@oss.qualcomm.com; s=20250919; h=from:subject:message-id; bh=VLVtBrficZ53U+t7h3TLEukTjKWLwiagVpjB+rG9eno=; b=bZKuq1aE+//SsP/3zA7yOa45uMSh5l6+D9CAjbaIN3/vjoORjJOEsE2HtncGUfMZzdNWIDk2L YDx/vtw18QbBjtA1ewLBltbMO4zQTQcbNfPYj6mFvai1GzNOQlfulQs X-Developer-Key: i=rakesh.kota@oss.qualcomm.com; a=ed25519; pk=dFhv9yPC8egZglsSLDMls08cOvZKZkG6QQn1a/ofwNU= X-Proofpoint-ORIG-GUID: Oq2CWdp6RcxiCeswElfDJQjW9pUNHpzv X-Proofpoint-Spam-Info: AW1haW4tMjYwNzIwMDEyMSBTYWx0ZWRfX+GTMAVB3SqBR Mf/kkJdCQcYsWcvFMzsX5E8VQRj1bK3AopsynT+YOu1y1qmg37UFj1m/jjYkIpldZ9yHr8bB5vV fqqGDAd/TAR9UzIxwWMmmbK9sw64dXM= X-Authority-Analysis: v=2.4 cv=G58s1dk5 c=1 sm=1 tr=0 ts=6a5dfe95 cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_glEPmIy2e8OvE2BGh3C:22 a=EUspDBNiAAAA:8 a=2ye8FTLVYv3UXimjSTIA:9 a=QEXdDO2ut3YA:10 a=uKXjsCUrEbL0IQVhDsJ9:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzIwMDEyMSBTYWx0ZWRfX85XIoGyz+zbQ KvNZFrsJkPYxcbVw0rCrMvsZFKXM3Klle29XFLMEuu39IsaVspVKvTX6An0hDkK5XnIdx7Ri9RT 6M49Pq1UcMBZqom/ZJE2jI5hVUPv0GpvV3tMOdJwyDWT1KeTZ3AebANcQcExe8TGTl3yo6RtII0 iHInEytwIIZ40jlkGlg577eG0z+51hF1NRcma8PQ10xXcSebKWkqjck8c2mvKH/gw94HSoDzw/V WI1y+jT9GGtPqCuwX8jokvbcZVX78FU59fgk//wzOCVczbf/9gIAUCw1A7euTdv/+lyKd6qO0mL /mbHG62izh1+WhFl1a6y+3v4SthsLyjSi0F1nzK0WbVnjHtMdK4ovfeKty6T2gxlUHxnU8/OjJg grU8L6XOGjvM13iwClax4BWQK89xZ9m6T1T8IScGlGfsN3UsNjDl9w7Aw8GhIEIsD8uufurnQnN yvs1xanDN0TRjFmKhIg== X-Proofpoint-GUID: Oq2CWdp6RcxiCeswElfDJQjW9pUNHpzv X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-20_02,2026-07-17_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 clxscore=1015 spamscore=0 lowpriorityscore=0 malwarescore=0 adultscore=0 phishscore=0 bulkscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607200121 The rpm_pm2250_regulators table hardcodes supply parent name strings in the regulator descriptor, causing the Linux regulator framework to look up and vote on parent supplies from APPS. This is both unnecessary and incorrect for RPM-managed regulators. On RPM-based platforms, the parent-child supply relationships are managed entirely by the RPM firmware. The RPM ensures that parent rails are maintained at the correct voltage with appropriate headroom, based on all active child rail votes across all subsystems. No explicit parent supply vote from APPS is required. Furthermore, the supply rail connections to PMIC pins are fixed in hardware. The previously hardcoded supply name strings were inaccurate and did not reflect the actual physical pin connections on PM2250-based platforms. The correct supply relationships are to be described in the Device Tree, not hardcoded in the driver. To avoid unnecessary APPS-side parent supply access while still allowing correct hardware topology to be described in DT, set the supply name field to NULL in the regulator descriptor. Signed-off-by: Rakesh Kota --- drivers/regulator/qcom_smd-regulator.c | 52 +++++++++++++++++-------------= ---- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/drivers/regulator/qcom_smd-regulator.c b/drivers/regulator/qco= m_smd-regulator.c index 23ed594b574e..aed01f18af4a 100644 --- a/drivers/regulator/qcom_smd-regulator.c +++ b/drivers/regulator/qcom_smd-regulator.c @@ -800,32 +800,32 @@ static const struct rpm_regulator_data rpm_mp5496_reg= ulators[] =3D { }; =20 static const struct rpm_regulator_data rpm_pm2250_regulators[] =3D { - { "s1", QCOM_SMD_RPM_SMPA, 1, &pm2250_lvftsmps, "vdd_s1" }, - { "s2", QCOM_SMD_RPM_SMPA, 2, &pm2250_lvftsmps, "vdd_s2" }, - { "s3", QCOM_SMD_RPM_SMPA, 3, &pm2250_lvftsmps, "vdd_s3" }, - { "s4", QCOM_SMD_RPM_SMPA, 4, &pm2250_ftsmps, "vdd_s4" }, - { "l1", QCOM_SMD_RPM_LDOA, 1, &pm660_nldo660, "vdd_l1_l2_l3_l5_l6_l7_l8_l= 9_l10_l11_l12" }, - { "l2", QCOM_SMD_RPM_LDOA, 2, &pm660_nldo660, "vdd_l1_l2_l3_l5_l6_l7_l8_l= 9_l10_l11_l12" }, - { "l3", QCOM_SMD_RPM_LDOA, 3, &pm660_nldo660, "vdd_l1_l2_l3_l5_l6_l7_l8_l= 9_l10_l11_l12" }, - { "l4", QCOM_SMD_RPM_LDOA, 4, &pm660_pldo660, "vdd_l4_l17_l18_l19_l20_l21= _l22" }, - { "l5", QCOM_SMD_RPM_LDOA, 5, &pm660_nldo660, "vdd_l1_l2_l3_l5_l6_l7_l8_l= 9_l10_l11_l12" }, - { "l6", QCOM_SMD_RPM_LDOA, 6, &pm660_nldo660, "vdd_l1_l2_l3_l5_l6_l7_l8_l= 9_l10_l11_l12" }, - { "l7", QCOM_SMD_RPM_LDOA, 7, &pm660_nldo660, "vdd_l1_l2_l3_l5_l6_l7_l8_l= 9_l10_l11_l12" }, - { "l8", QCOM_SMD_RPM_LDOA, 8, &pm660_nldo660, "vdd_l1_l2_l3_l5_l6_l7_l8_l= 9_l10_l11_l12" }, - { "l9", QCOM_SMD_RPM_LDOA, 9, &pm660_nldo660, "vdd_l1_l2_l3_l5_l6_l7_l8_l= 9_l10_l11_l12" }, - { "l10", QCOM_SMD_RPM_LDOA, 10, &pm660_nldo660, "vdd_l1_l2_l3_l5_l6_l7_l8= _l9_l10_l11_l12" }, - { "l11", QCOM_SMD_RPM_LDOA, 11, &pm660_nldo660, "vdd_l1_l2_l3_l5_l6_l7_l8= _l9_l10_l11_l12" }, - { "l12", QCOM_SMD_RPM_LDOA, 12, &pm660_nldo660, "vdd_l1_l2_l3_l5_l6_l7_l8= _l9_l10_l11_l12" }, - { "l13", QCOM_SMD_RPM_LDOA, 13, &pm660_ht_lvpldo, "vdd_l13_l14_l15_l16" }, - { "l14", QCOM_SMD_RPM_LDOA, 14, &pm660_ht_lvpldo, "vdd_l13_l14_l15_l16" }, - { "l15", QCOM_SMD_RPM_LDOA, 15, &pm660_ht_lvpldo, "vdd_l13_l14_l15_l16" }, - { "l16", QCOM_SMD_RPM_LDOA, 16, &pm660_ht_lvpldo, "vdd_l13_l14_l15_l16" }, - { "l17", QCOM_SMD_RPM_LDOA, 17, &pm660_pldo660, "vdd_l4_l17_l18_l19_l20_l= 21_l22" }, - { "l18", QCOM_SMD_RPM_LDOA, 18, &pm660_pldo660, "vdd_l4_l17_l18_l19_l20_l= 21_l22" }, - { "l19", QCOM_SMD_RPM_LDOA, 19, &pm660_pldo660, "vdd_l4_l17_l18_l19_l20_l= 21_l22" }, - { "l20", QCOM_SMD_RPM_LDOA, 20, &pm660_pldo660, "vdd_l4_l17_l18_l19_l20_l= 21_l22" }, - { "l21", QCOM_SMD_RPM_LDOA, 21, &pm660_pldo660, "vdd_l4_l17_l18_l19_l20_l= 21_l22" }, - { "l22", QCOM_SMD_RPM_LDOA, 22, &pm660_pldo660, "vdd_l4_l17_l18_l19_l20_l= 21_l22" }, + { "s1", QCOM_SMD_RPM_SMPA, 1, &pm2250_lvftsmps, NULL }, + { "s2", QCOM_SMD_RPM_SMPA, 2, &pm2250_lvftsmps, NULL }, + { "s3", QCOM_SMD_RPM_SMPA, 3, &pm2250_lvftsmps, NULL }, + { "s4", QCOM_SMD_RPM_SMPA, 4, &pm2250_ftsmps, NULL }, + { "l1", QCOM_SMD_RPM_LDOA, 1, &pm660_nldo660, NULL }, + { "l2", QCOM_SMD_RPM_LDOA, 2, &pm660_nldo660, NULL }, + { "l3", QCOM_SMD_RPM_LDOA, 3, &pm660_nldo660, NULL }, + { "l4", QCOM_SMD_RPM_LDOA, 4, &pm660_pldo660, NULL }, + { "l5", QCOM_SMD_RPM_LDOA, 5, &pm660_nldo660, NULL }, + { "l6", QCOM_SMD_RPM_LDOA, 6, &pm660_nldo660, NULL }, + { "l7", QCOM_SMD_RPM_LDOA, 7, &pm660_nldo660, NULL }, + { "l8", QCOM_SMD_RPM_LDOA, 8, &pm660_nldo660, NULL }, + { "l9", QCOM_SMD_RPM_LDOA, 9, &pm660_nldo660, NULL }, + { "l10", QCOM_SMD_RPM_LDOA, 10, &pm660_nldo660, NULL }, + { "l11", QCOM_SMD_RPM_LDOA, 11, &pm660_nldo660, NULL }, + { "l12", QCOM_SMD_RPM_LDOA, 12, &pm660_nldo660, NULL }, + { "l13", QCOM_SMD_RPM_LDOA, 13, &pm660_ht_lvpldo, NULL }, + { "l14", QCOM_SMD_RPM_LDOA, 14, &pm660_ht_lvpldo, NULL }, + { "l15", QCOM_SMD_RPM_LDOA, 15, &pm660_ht_lvpldo, NULL }, + { "l16", QCOM_SMD_RPM_LDOA, 16, &pm660_ht_lvpldo, NULL }, + { "l17", QCOM_SMD_RPM_LDOA, 17, &pm660_pldo660, NULL }, + { "l18", QCOM_SMD_RPM_LDOA, 18, &pm660_pldo660, NULL }, + { "l19", QCOM_SMD_RPM_LDOA, 19, &pm660_pldo660, NULL }, + { "l20", QCOM_SMD_RPM_LDOA, 20, &pm660_pldo660, NULL }, + { "l21", QCOM_SMD_RPM_LDOA, 21, &pm660_pldo660, NULL }, + { "l22", QCOM_SMD_RPM_LDOA, 22, &pm660_pldo660, NULL }, {} }; =20 --=20 2.34.1 From nobody Sat Jul 25 02:47:25 2026 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 D8D133EFFB5 for ; Mon, 20 Jul 2026 10:55:23 +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=1784544926; cv=none; b=qjd3YX1EwNVx5T/TmH2UYmiVzru2UIIypKG4P4tidhagRTdYzagmRDZkdMPVM7b0De+nmh8qB0uSuCYuZo7/idbBhgYAuJ2gErf8/3QYOtakmAq9WpDvqVpxG5NuRp0YWw1eg5v9bZahpH54nDTdFEUuDwlellxUqT7s5ru5oKE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784544926; c=relaxed/simple; bh=Vrq29aRX/6IcoQWJku5ttZIZMz378bhwF8V95noopMU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jjGSNBWVpNguTkwwNHAZt/tP8Sh/B0u1CI2BFKa7xLSN2SgJTpoLE5WeuOMWEzejdOuGwXQf6xn02EEfVpuVGoz8aAFipmO4G8nUHNaMSlxGT/UOM3VaOB0Blp5puf5cApoGf7ZSheOPp522Kjj+m7JuO1wqp6x001hHHh9KwCE= 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=X68uwwey; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=VtpiXZk1; 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="X68uwwey"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="VtpiXZk1" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66K9wSI12296256 for ; Mon, 20 Jul 2026 10:55:22 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= z2v8+OC56PeMGr4eGEr6Q4zuebXtUQl24KS2e3bDzx8=; b=X68uwweyVhUoU5Tz HKul6dXGpC2PxnJ2Pvy8pHn3AWVn4qNX4NtSgLKmGxAVLXstZ637dO6uNSivQ1de zHbnfRfawxplrMkakKWcSN0kinqVkWhA8QSZgOZ9qmSZ8n1q5FFPDwuBgVH/NwXs upeju26QI+9sf+x0BuuCvSBNxIk/oTw9iFaL9jikuVzh0kLd5yUon6ras2r4d7QD +rnPXVoDA68j4qU7lMN9N5Hf6VUXJVOE25S2IZF+k7xX60acStY8aK4AFBu2/GWA 5/z/UB+rdPM7WsVAsjDDh/rlgnRSFyIyL3JjruLTxZ6djLE9/XeyypJvRnBT3Jll AlchtQ== Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fhhgyr64e-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 20 Jul 2026 10:55:22 +0000 (GMT) Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-381250979d5so7262545a91.0 for ; Mon, 20 Jul 2026 03:55:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1784544921; x=1785149721; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=z2v8+OC56PeMGr4eGEr6Q4zuebXtUQl24KS2e3bDzx8=; b=VtpiXZk1Ji6Igtn7vXJ8GJnIXlA7AG8g8N4z9A93ayKBKcbkp69UGLScAtR6yneVIV iVvjUB6L5HAaW2aWEnYHzgg/EMU87JYTImPQR3s7jQRzK54959bylxSlTCrL/0wnnVu8 5Hj+RVEty2bQAMQaevrRw/vdxAtldBnXW6AmSCmhbyi+l53080t0VRwInB0wzNcJYzV+ ofiElE6RLT45UWPk7p+Ea+L7FCu5Dn013GWOibl/ZU9yZlokvN1AgcQqWOLo1TC0p/2+ tjLPjFLhDHnDFZSTqFLWQhDdJOQIKtWUD7R4RcRd66Q0GdSGFt/e5h/9VwhnU7DoN5DJ bzIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784544921; x=1785149721; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=z2v8+OC56PeMGr4eGEr6Q4zuebXtUQl24KS2e3bDzx8=; b=YaS4tbT7Y5mK8nYZM2UDjTRVY2LwsyKxtqoBPAn3wSJp+mtLy9hA3fsMPBIr2KYbVT aLd9sV/LTB55gCV4o0s96ZZEZ27oOYOPlpjtRoGv+rJaCcnljJo7UZbY+AXkCTbTW5WO YbT6K+TcOPyWDalSEJT1RzetOYFfhy/mnrpL9UgjNNyKWASCpRABvx5VZnmH0Gawq2x5 14FqeR5Y/EMIto/wvOZ1kKWxo/GFzZwVfHGjX3NjeHPC0Fa12XzxJzv0Hsf7cPyAitjz /9YhGzQcvnE5egBZo9Dvp8mjXGicaBQHx/eWFM+cHPFrl6ORYE6ep9vu/Yh+2yLEi33i di6w== X-Forwarded-Encrypted: i=1; AHgh+RqCt5g/ZFnW+vKJuHJJN9i5FpujTf02ezgEwGqA+BRSBLoGB4AQC8gqjXjDOugj8LPZn16Omh5qKWjWzaw=@vger.kernel.org X-Gm-Message-State: AOJu0YzO8k4/dZZmHfIbcNJpoCYdBlPB1RmVvIf7MSeMMqLXA91ZTWWc fR0+R86k0/AYt/DOXC3Mbo8wUSxZqxL411+vHfPjUUCmX3RFc7JMbFlKWvKlJhzFXol2SZSbgg3 daZr6EF9zPsiqaHBmC/ocSplkDeDk1Zq007Yi0Y4VhECC2CmX0+WD8gH8RsMVXVfgnw== X-Gm-Gg: AR+sD11aiLHAuT/k8PeKz2Dq69rSaMh2M1hlvCD2aMRJuZ1fGgMnBiTWKpfDQo1idT3 l7NWbJingifRhYmFhnD6fn63rbmhJ/c4yYFSjB3BiSGZUkgdxltR0Efj9kXblnxvaSo9jT043RO 3NfmOmzDKkOSKLHnYw1wopfaDqNyACbxPGmxVn+akbTJ35rgiJySsH2y5cqqNeFIncvYkRNbdUt 5Kp/UQ4rSfn5XOzgsvXYCQj8/oJ9VtsX5v2HIIYAl68kNfPvwXL7dCHTUtk4Gl2OqinysSvJ0gN OcM1yoixvOrGxU9B2hCAUpsgJ71VIvtqPz+eeCA75uikcLUxeInHxd6fhB69e7Qc7CDO9hQzsvS Li1GZdP7uh31HNS2cvFnQKfrBWbZUew== X-Received: by 2002:a17:90b:590f:b0:387:e0db:bc2c with SMTP id 98e67ed59e1d1-38e4b5442c9mr14336806a91.34.1784544921144; Mon, 20 Jul 2026 03:55:21 -0700 (PDT) X-Received: by 2002:a17:90b:590f:b0:387:e0db:bc2c with SMTP id 98e67ed59e1d1-38e4b5442c9mr14336766a91.34.1784544920677; Mon, 20 Jul 2026 03:55:20 -0700 (PDT) Received: from hu-kotarake-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-38e4b20df7esm5661431a91.13.2026.07.20.03.55.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2026 03:55:20 -0700 (PDT) From: Rakesh Kota Date: Mon, 20 Jul 2026 16:25:05 +0530 Subject: [PATCH v2 2/3] arm64: dts: qcom: qrb2210: fix PM4125 regulator supply parent mappings 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="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260720-pm2250-fix-supply-parent-v2-2-60ca47031b50@oss.qualcomm.com> References: <20260720-pm2250-fix-supply-parent-v2-0-60ca47031b50@oss.qualcomm.com> In-Reply-To: <20260720-pm2250-fix-supply-parent-v2-0-60ca47031b50@oss.qualcomm.com> To: Liam Girdwood , Mark Brown , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Kamal Wadhwa , jishnu.prakash@oss.qualcomm.com, Rakesh Kota X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1784544905; l=2902; i=rakesh.kota@oss.qualcomm.com; s=20250919; h=from:subject:message-id; bh=Vrq29aRX/6IcoQWJku5ttZIZMz378bhwF8V95noopMU=; b=7Zo+04ainSdgP3R5hcZDwh9FnyY9UHDzg9/gxAV1dhssnwAFYFpl3h97C1UejBVOogrF5HiKX 3GIqX+yOzfVCbQHn+NJ8K4AZEwjLKH+pxApUxc4pSArSELMZucrr1pC X-Developer-Key: i=rakesh.kota@oss.qualcomm.com; a=ed25519; pk=dFhv9yPC8egZglsSLDMls08cOvZKZkG6QQn1a/ofwNU= X-Proofpoint-Spam-Info: AW1haW4tMjYwNzIwMDEyMSBTYWx0ZWRfX3uC4kT3v7SxP t5y0qteS9Wb5x8LHqmt4iOjxnTV6b9sFdNpHmlh6l2Re059+PqNg1oI072+zJszaCW36uBzhTr4 xX5b+cBZWyhiuyGPFyi4E1QYSuIrJQE= X-Authority-Analysis: v=2.4 cv=LK9WhpW9 c=1 sm=1 tr=0 ts=6a5dfe9a cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=3WHJM1ZQz_JShphwDgj5:22 a=EUspDBNiAAAA:8 a=srU4aMJgQ0IWwv6as9EA:9 a=QEXdDO2ut3YA:10 a=uKXjsCUrEbL0IQVhDsJ9:22 X-Proofpoint-ORIG-GUID: naYtCaQfSlFwhqbkUPr380a3gKGmYHfz X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzIwMDEyMSBTYWx0ZWRfX97rm/Al+xfjR sZxwBwxj9EXVUDFnFGrHzzyFHZRMDEXDTQXhfvOWEwxZozV78NpgJxhvRDsFgnrHGnH3VvLl9Zs mf4HwjFouAuHFzlf/vDLpS7bF3X3vHDmRToIo/lI3deuV01eFIoHzhOer4cNott6y6D1qcG3YTS uA+LicIz+zPJHVWeflP5+NhE3EGvxhVX9lds3zAQPDWrrgNY+IjGbJS5TOfrY2bsfNxBLiK2LT4 btptrUAmJyZdxYlxqkkKl/jlYN+hegecpk539a/QmdUuHAZJA1Bzlz8g5Gv6GNoUsEDAUQy3BPB uttboVoIs6an9ojVAvNZrrq/ga0oUSD9UnhF6cXAQ1zSuBXuROVCg3PqDGPw8+VGBn4y3V/n+dZ iLM+1TYXnrIz6otMxwVUUJwM8sZLNdVr5dyEkaVLfrkHomiRPQcuwOMSKAN2x0CoSMup1T0iPmX NU+Z4yCpWfg5uJ8qYzA== X-Proofpoint-GUID: naYtCaQfSlFwhqbkUPr380a3gKGmYHfz X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-20_02,2026-07-17_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 bulkscore=0 phishscore=0 clxscore=1015 malwarescore=0 suspectscore=0 impostorscore=0 lowpriorityscore=0 spamscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607200121 The qrb2210-arduino-imola and qrb2210-rb1 DTS files used coarsely grouped supply parent names that do not reflect the actual physical pin connections on the PM4125 PMIC. Since supply rail connections to PMIC pins are fixed in hardware, these grouped names were inaccurate descriptions of the hardware topology. Replace them with the correct per-group supply properties matching the actual PM4125 pin connections, and align with the companion driver change that sets supply names to NULL in the qcom_smd-regulator descriptor so that the correct supply topology is captured in DT. Signed-off-by: Rakesh Kota Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts | 13 ++++++++++--- arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 13 ++++++++++--- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts b/arch/arm6= 4/boot/dts/qcom/qrb2210-arduino-imola.dts index c472e13fceca..90e6eb284a66 100644 --- a/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts +++ b/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts @@ -262,9 +262,16 @@ regulators { compatible =3D "qcom,rpm-pm2250-regulators"; vdd_s3-supply =3D <&vph_pwr>; vdd_s4-supply =3D <&vph_pwr>; - vdd_l1_l2_l3_l5_l6_l7_l8_l9_l10_l11_l12-supply =3D <&pm4125_s3>; - vdd_l4_l17_l18_l19_l20_l21_l22-supply =3D <&vph_pwr>; - vdd_l13_l14_l15_l16-supply =3D <&pm4125_s4>; + vdd_l1-supply =3D <&pm4125_s3>; + vdd_l2_l3-supply =3D <&pm4125_s3>; + vdd_l5_l6_l7_l11_l12-supply =3D <&pm4125_s3>; + vdd_l8_l9-supply =3D <&pm4125_s3>; + vdd_l10-supply =3D <&pm4125_s3>; + vdd_l13_l14-supply =3D <&pm4125_s4>; + vdd_l15_l16-supply =3D <&pm4125_s4>; + vdd_l17_l22-supply =3D <&vph_pwr>; + vdd_l18_l19-supply =3D <&vph_pwr>; + vdd_l4_l20_l21-supply =3D <&vph_pwr>; =20 pm4125_s3: s3 { /* 0.4V-1.6625V -> 1.3V (Power tree requirements) */ diff --git a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts b/arch/arm64/boot/dts= /qcom/qrb2210-rb1.dts index bf6fb12ad990..3432022274d8 100644 --- a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts +++ b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts @@ -465,9 +465,16 @@ regulators { compatible =3D "qcom,rpm-pm2250-regulators"; vdd_s3-supply =3D <&vph_pwr>; vdd_s4-supply =3D <&vph_pwr>; - vdd_l1_l2_l3_l5_l6_l7_l8_l9_l10_l11_l12-supply =3D <&pm4125_s3>; - vdd_l4_l17_l18_l19_l20_l21_l22-supply =3D <&vph_pwr>; - vdd_l13_l14_l15_l16-supply =3D <&pm4125_s4>; + vdd_l1-supply =3D <&pm4125_s3>; + vdd_l2_l3-supply =3D <&pm4125_s3>; + vdd_l5_l6_l7_l11_l12-supply =3D <&pm4125_s3>; + vdd_l8_l9-supply =3D <&pm4125_s3>; + vdd_l10-supply =3D <&pm4125_s3>; + vdd_l13_l14-supply =3D <&pm4125_s4>; + vdd_l15_l16-supply =3D <&pm4125_s4>; + vdd_l17_l22-supply =3D <&vph_pwr>; + vdd_l18_l19-supply =3D <&vph_pwr>; + vdd_l4_l20_l21-supply =3D <&vph_pwr>; =20 /* * S1 - VDD_APC --=20 2.34.1 From nobody Sat Jul 25 02:47:25 2026 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 911D03EFFDF for ; Mon, 20 Jul 2026 10:55:27 +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=1784544929; cv=none; b=J/JbY+UoVXzsHFBY7+e9i4RERd0u5vSZkMp/5Dv0+yw9UbdI0KrMU5MW3a0ucddrI4qxHZIQRL+4cuSPQSfzlSOC4Wtce7ja2HIztx4Dj7W1BUCNhgeD4mzbK8JHOn1OH/kuzzLah3KBsc/pQJLXEIa8rNTWP+F0E1eYaZbjbaI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784544929; c=relaxed/simple; bh=B9tIi1Yq9N4iptXiIJiXGVe4A5m4Ls+9BzoDaXTp67Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qdJXwrApGAsE2SQhmkwMH+JLs2XUErN6ccSRivuCodpZr4TDsl2+Ekhjn6aRs+lfpvfIC25OsqECsKZLdtwpmb4/OUnQpsuBLblw8686tspUWNZy3pKGgz+/p+3ASTUgL/tz7S51H6dulgcW1fPQy+xKg6qtgCnO8ch7TeIewwQ= 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=dhpzw5Zy; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=kVcqrW6Z; 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="dhpzw5Zy"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="kVcqrW6Z" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66K9vqRq2189005 for ; Mon, 20 Jul 2026 10:55:26 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= YhI53JeH6R0sjejUhJ2kayhfCOho2JDi930X3nOJgc4=; b=dhpzw5ZyIlOaS0f9 VGSb6sRZhbiCgdGn46GYPggmzE5C8rgyGxJq6UhZJt/3GUp91N/gPzxIfK1kx060 nm7fzekbV2BEVBgJD3Xnh55KpO5XuXaFWjKOEDcu7WD+dMNPvVSkTGW77Xa5dFgP YHT8n9hgf+chnmuDCf3BKbzgwLldJWgfslmh28NI19lacd4NbSZd6A8Px4PQ5axn Zpq1gGQGgLUPkS/ssm0WZfpFfcxlfAVWuCm1Gy6pnxE/dJauE3MYWJ1S+DwDuKVS dyq7JxSzbir4odVD246e/qOUjoY2eIvETXelVE4u3Au0xkNzmzCJbsFffZlQI/j3 k4zQcw== Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fgd04vu15-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 20 Jul 2026 10:55:26 +0000 (GMT) Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-384419c6c74so12765292a91.1 for ; Mon, 20 Jul 2026 03:55:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1784544925; x=1785149725; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=YhI53JeH6R0sjejUhJ2kayhfCOho2JDi930X3nOJgc4=; b=kVcqrW6Z/rc7VtitmBDF+EWBFqUNMt8RwXYqGvFg+Z0F6Kt6v5xfVH0Er3NQSYbP9G /iSiaKupSYFu+5U//0M1k5H6pembw2h0kadRa4cgu8F5FdKtSmYgQwTj+OF43BXwIWhB MWpYSmT2FXZoWCFCrI0n/SI5rMteUswCyrJQOX2FuC00UxtCKAFaD7kmfs0rXDAZPTxj c5M3x0h42paCxKceSo1j2v87aV5AFziDm0Ip7J/uTb4+jSt2LtNvACY/KVkxe4xNb0HH zFzBNPS1OvwLcBsJ+JeYc6z5x62ihL2mDbWp+gTPuG2rDg5+meTi6kjUWEySIFStKJOf dyfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784544925; x=1785149725; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=YhI53JeH6R0sjejUhJ2kayhfCOho2JDi930X3nOJgc4=; b=h4LrGR2L1Mpn+yMFlO2zgqbMKEbaRxoyPCILBZ4ljTmvvn6Y2K9wWIxF48a2hfTmMu 8vlKuJHi39Cs1WKKIHzMdt/g4uzZqtdQSm+wTxjIrJhHUqsbYr219uC6H9EnqLUguxmD dDWEH6PI9M/F3e9jIHlvS++6fZNp4n7u/LYHBqonAD052vpbc7rMLBQjpZgnWqkSMNCi mYElCj3XwNTQOer89Lr0Z6HPEeL5Tdm+vtGz1EK50LnF+3a4c7kVaJCmvDJ4FfohBuGd 17wXXkEFzhgi7ewE9DR9VLNDzYKfYkgjeWz3YirmQN1Nht07jeECZKdJkFY4gRQWv6UL UovA== X-Forwarded-Encrypted: i=1; AHgh+Rq2TsAlXgoKHnqzTnR60u65LxrMAEQly/Kd+TYEpcGD6omHtebx1uKTDrx5KL0hJUjowdXl4wIVMjmppVY=@vger.kernel.org X-Gm-Message-State: AOJu0Yyq2OhrHyNF2qBGSovzkgFsQENfaGbjtAxck4B1fzINR0QYoOVS nrHdRs7tbXc4h24Rdi4/jYa7iyC6t6lPpifCIDIwDoRYgxqZ8WL4RKRoIPcZS5/Pr0lD5X5iFuA d/gC4c06yyRU8VRxYdWwgFttThrgDBQVvW+jGsezLoAJDM1Yz495n+uAhEidAws+cmg== X-Gm-Gg: AR+sD13nI38PjBd/xUm0rJlkfpjghF0ozKxp0m6jwHTKJkpA8NjaJrVsYon/WIvLjq0 XiXM2oxUabPNqm434M51D5Kji8OK4Z//aGA5MIzMO/2Xz7NO2l2bfcNTbP3Rk7f5m6CAlw0V+HJ 2/N2QmI1EuGXixmp/pjY2xaq9MXLE17iCG6w3xcjg5yA9rCxQrtwHuzK01WUyiBOaNe9KgKS1Yd YTAjFEKknuvHV0q+4Gsv78s0RuFWb3O/3rrGUPtVNBmGyfbhu1yaMYY18g7H4Ll7ivJeVfOASPC DZ7zSm6kWGcpeZLVuMORkRgT5jB4vcYzlITWDwOvBMyFcJ7Sa3OW7JxOIzu2px8P8D2tAiEL1P4 hbI+AVuUTxS+TNm/mxDjEX5QZDtumrw== X-Received: by 2002:a17:90b:5606:b0:36a:a16b:5f6d with SMTP id 98e67ed59e1d1-38e4b41f4ffmr13975158a91.7.1784544925424; Mon, 20 Jul 2026 03:55:25 -0700 (PDT) X-Received: by 2002:a17:90b:5606:b0:36a:a16b:5f6d with SMTP id 98e67ed59e1d1-38e4b41f4ffmr13975120a91.7.1784544924916; Mon, 20 Jul 2026 03:55:24 -0700 (PDT) Received: from hu-kotarake-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-38e4b20df7esm5661431a91.13.2026.07.20.03.55.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2026 03:55:24 -0700 (PDT) From: Rakesh Kota Date: Mon, 20 Jul 2026 16:25:06 +0530 Subject: [PATCH v2 3/3] arm64: dts: qcom: shikra: add vph_pwr and fix supply parent mappings 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="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260720-pm2250-fix-supply-parent-v2-3-60ca47031b50@oss.qualcomm.com> References: <20260720-pm2250-fix-supply-parent-v2-0-60ca47031b50@oss.qualcomm.com> In-Reply-To: <20260720-pm2250-fix-supply-parent-v2-0-60ca47031b50@oss.qualcomm.com> To: Liam Girdwood , Mark Brown , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Kamal Wadhwa , jishnu.prakash@oss.qualcomm.com, Rakesh Kota X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1784544905; l=2138; i=rakesh.kota@oss.qualcomm.com; s=20250919; h=from:subject:message-id; bh=B9tIi1Yq9N4iptXiIJiXGVe4A5m4Ls+9BzoDaXTp67Q=; b=Cj2oA8Qwy1q76SUfdGkK3wNgCZSfSs8wFYvZrN3Bz43orBKRiO0+1BhneWkIRXpxiVpf7FGIh jk0VHigHlrYD1qyKAUBSdd/lh3/2efU6oWlCSvpQk7TY/bZQKDpowGJ X-Developer-Key: i=rakesh.kota@oss.qualcomm.com; a=ed25519; pk=dFhv9yPC8egZglsSLDMls08cOvZKZkG6QQn1a/ofwNU= X-Authority-Analysis: v=2.4 cv=POs/P/qC c=1 sm=1 tr=0 ts=6a5dfe9e cx=c_pps a=vVfyC5vLCtgYJKYeQD43oA==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=ZpdpYltYx_vBUK5n70dp:22 a=EUspDBNiAAAA:8 a=zH_9qI9Ef9irUORpi8EA:9 a=QEXdDO2ut3YA:10 a=rl5im9kqc5Lf4LNbBjHf:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzIwMDEyMSBTYWx0ZWRfX4XakciWfV8XC HJ7R9NwPRWRE6XScJ8rddrdOrrx0XzC/pEpBldDLEhjOWU6DaXzKinTZ1QfXGKhkbzgv3+9Ttji Le7CHZsms2jTR7K32jxz08+RsELUapnSNPSn+WubaVm1EC+hhaeFa8oWWTXkaTvPdfb20RUN2PK 7NRJDCPEhkXmNqvxdlf6MWDsV0ltQNL4BJW+t9n4w8jFlJ4GFk4qDTIbQPUr/cTNsQpw1lePiPu 0b3pKDN8uxQWLlTQvkcV1EfWoaawWpe792BzRrSWfkEFHb0SPg734wYc4Yx3+Nha6FoXO+dBUIZ l8nmqrL2Vgx4vozIi0Nk/j4yA4TCjBg4E7zu3ecJzw8vjoZRdS/r99+EX6AUEykLAc1LBPs/XoS 0LCAg49KTA+zF7X0dDR2/vzpKoGXbNLdn3TO4wh7y2CuYxT0LI0Sa1rJeW8gc6OwrRYrpdLHuj8 LErj6BChze/0lpnDcdA== X-Proofpoint-ORIG-GUID: ugAEFiyM972gNen4wuf5Guqo6sjYbkcJ X-Proofpoint-GUID: ugAEFiyM972gNen4wuf5Guqo6sjYbkcJ X-Proofpoint-Spam-Info: AW1haW4tMjYwNzIwMDEyMSBTYWx0ZWRfX8drvisMVwfNU 53k7jbYXfMmwclirGZaLMl+gBr0HBjiPjP+w6w+1RgRKpdBfRrcInEvUOZdI40I1tlhcD/dOXzk aJ8Cc7K1SJ7OiqOamKHCHPtiCgv84Ac= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-20_02,2026-07-17_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 spamscore=0 adultscore=0 clxscore=1015 suspectscore=0 priorityscore=1501 malwarescore=0 impostorscore=0 phishscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607200121 Add the vph_pwr fixed regulator representing the PM4125 charger output supplied by VBAT, and add the correct per-group supply properties matching the actual PM4125 pin connections on Shikra. Also add the pm4125_s1 and pm4125_s4 regulator nodes. Signed-off-by: Rakesh Kota --- arch/arm64/boot/dts/qcom/shikra-cqm-som.dtsi | 33 ++++++++++++++++++++++++= ++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/shikra-cqm-som.dtsi b/arch/arm64/boot= /dts/qcom/shikra-cqm-som.dtsi index dc3861489f64..c7f63ff07283 100644 --- a/arch/arm64/boot/dts/qcom/shikra-cqm-som.dtsi +++ b/arch/arm64/boot/dts/qcom/shikra-cqm-som.dtsi @@ -27,6 +27,16 @@ key-volume-up { linux,can-disable; }; }; + + /* PM4125 charger out, supplied by VBAT */ + vph_pwr: regulator-vph-pwr { + compatible =3D "regulator-fixed"; + regulator-name =3D "vph_pwr"; + regulator-min-microvolt =3D <3700000>; + regulator-max-microvolt =3D <3700000>; + regulator-always-on; + regulator-boot-on; + }; }; =20 &pm4125_gpios { @@ -52,12 +62,35 @@ &pm8005_regulators { &rpm_requests { regulators { compatible =3D "qcom,rpm-pm2250-regulators"; + vdd_s1-supply =3D <&vph_pwr>; + vdd_s2-supply =3D <&vph_pwr>; + vdd_s4-supply =3D <&vph_pwr>; + vdd_l1-supply =3D <&pm4125_s4>; + vdd_l2_l3-supply =3D <&pm4125_s4>; + vdd_l5_l6_l7_l11_l12-supply =3D <&pm4125_s4>; + vdd_l8_l9-supply =3D <&pm4125_s4>; + vdd_l10-supply =3D <&pm4125_s4>; + vdd_l13_l14-supply =3D <&pm4125_s1>; + vdd_l15_l16-supply =3D <&pm4125_s1>; + vdd_l17_l22-supply =3D <&vph_pwr>; + vdd_l18_l19-supply =3D <&vph_pwr>; + vdd_l4_l20_l21-supply =3D <&vph_pwr>; + + pm4125_s1: s1 { + regulator-min-microvolt =3D <2040000>; + regulator-max-microvolt =3D <2040000>; + }; =20 pm4125_s2: s2 { regulator-min-microvolt =3D <1000000>; regulator-max-microvolt =3D <1200000>; }; =20 + pm4125_s4: s4 { + regulator-min-microvolt =3D <640000>; + regulator-max-microvolt =3D <1408000>; + }; + pm4125_l3: l3 { regulator-min-microvolt =3D <624000>; regulator-max-microvolt =3D <650000>; --=20 2.34.1