From patchwork Thu Mar 27 01:47:03 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 876791 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A9B722E3392; Thu, 27 Mar 2025 01:47:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743040040; cv=none; b=lvBK7Wx4uG0fa6XsBGdFmLbSBTR4SybKIny4SHolOj9Vi4JQBJ67YTv37Q0w77fueLXD9JmbC4qrywL9xf4/gF2DjepVlnfGM/KgJpSWK3M/h0HKaJAmhmPWBJq9nezHOAPshRMTLrvlY6kTUedPeAT5gTQxSTdIrsanKXXfLng= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743040040; c=relaxed/simple; bh=jV44gltnZugSk2jzsvPx/rE2eqC9fZLtlEwshyoGgic=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gAmgDkOn8+VEtWY5h8yGOA/C+wzb0gTKrEKITly5rBe/j8HLuvnu10UtDc8sUimlEtvHVLMtEk94A237naC3emHfwUL3lygY2DaMxj5LwsjaZQnGCwlFt4G0caRHDfM2aLrb29CmrFQLdTxw+d0KBfDoESSg02lw7DB+Xk8F/t8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hmxnUY+e; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hmxnUY+e" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ACBC1C4CEF0; Thu, 27 Mar 2025 01:47:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1743040039; bh=jV44gltnZugSk2jzsvPx/rE2eqC9fZLtlEwshyoGgic=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=hmxnUY+eZuiYniPxaxSZuaM0319j+lagdwzi9aPeKvYY4F4tlmYF6irpzsNkCuesV Unh3eZhpesh6UAY7LFVLmKvUE7jvklpw+JQvSFzETmA5ilpZ50wJNRGc4Lr2jUEazp 0oBFrFDTRUn4d5mWLJlR4R+Di+vot0RpU6lRIHgOvgODBzkKVcMJgGdaiPpBlPGAfq zYNM4ck1NvFx73ahplNgwmHgJTX7X5blIvhCQDuIoQzIzl7nefjBM56bDquNZhUMAF dyJqow0uInMMYrEbYSM/7xf4YpekAWO3+OprUzZs4FP/wYPQKRXboLv2+Zlwtedong pMl0uS51ojy9g== From: Konrad Dybcio Date: Thu, 27 Mar 2025 02:47:03 +0100 Subject: [PATCH v2 01/12] dt-bindings: soc: qcom,rpmh-rsc: Limit power-domains requirement Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250327-topic-more_dt_bindings_fixes-v2-1-b763d958545f@oss.qualcomm.com> References: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com> In-Reply-To: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org, Marc Gonzalez , Dmitry Baryshkov , Arnaud Vrac , Sayali Lokhande , Xin Liu , Manivannan Sadhasivam Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1743040027; l=1865; i=konrad.dybcio@oss.qualcomm.com; s=20230215; h=from:subject:message-id; bh=3v0lyktSMkCxoZv+uP7b7uNR+dz+cduBYTIqbyjd8PY=; b=F1PC26EOlRxAgdm3fP3W6mh5mprrHmDDRv9rzcFkOogS1qdpQNVNZ4YPcq42ZqHUsYoEXe1Vv YTeyML0AkkFBOlj4JHt/BlagE/VX7zwPwlnIWQpovXYV3o9+R26noIW X-Developer-Key: i=konrad.dybcio@oss.qualcomm.com; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= From: Konrad Dybcio Certain platforms (such as Chrome SDM845 and SC7180 with a TF-A running as secure firmware) do not have a OSI-mode capable PSCI implementation. That in turn means the PSCI-associated power domain which represents the system's power state can't provide enough feedback to the RSC device. Don't require power-domains on platforms where this may be the case. Signed-off-by: Konrad Dybcio --- .../bindings/soc/qcom/qcom,rpmh-rsc.yaml | 24 ++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml index af632d0e0355c56748ecac24f528dc2eec7d1193..036562eb5140c78c10d845fd6efe42470b41895c 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml @@ -44,7 +44,13 @@ description: | properties: compatible: - const: qcom,rpmh-rsc + oneOf: + - items: + - enum: + - qcom,sc7180-rpmh-apps-rsc + - qcom,sdm845-rpmh-apps-rsc + - const: qcom,rpmh-rsc + - const: qcom,rpmh-rsc interrupts: minItems: 1 @@ -124,7 +130,21 @@ required: - qcom,tcs-offset - reg - reg-names - - power-domains + +allOf: + # Some platforms may lack a OSI-mode PSCI implementation, which implies the + # system power domain can't provide feedback about entering power collapse + - if: + not: + properties: + compatible: + contains: + enum: + - qcom,sc7180-rpmh-apps-rsc + - qcom,sdm845-rpmh-apps-rsc + then: + required: + - power-domains additionalProperties: false From patchwork Thu Mar 27 01:47:04 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 876591 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B10D52E3392; Thu, 27 Mar 2025 01:47:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743040044; cv=none; b=WhDj+HE/HRxxVi+t/rT2y9vQEk8Weenq7LhU3VPiaZyZ9x6lfW6JW3h3FTjQmH9ei2b+luFHaMqMOZJPdZBILeDzug1CjLsJQuW9Ffo0/wStXdDlkvDlWaHQn85qDqCC71v0xO8A1A8NNG8nrjsEj/cHOJXJekoQXT99Ua+gMNI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743040044; c=relaxed/simple; bh=UxLUcaGCclLWZ9szhs02Tjyzxd6/F5pbbSROIayuHDY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Jw1r/N/wp/z6WtZoovN/Bgqrq4w7P/gPPKuCYqGW7dCh5dEucWiKBocAHEY77IXhAP2uTRR4Ku3G3zzd9ZLicWE1VxEXTakQTrjUReGr+Kd0sZJL+GqLYQsVGIu3XI7tVjjP7iWi/ci/ps6NO7ttK+HYruXI1U2k1/iBB//VdUU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CMTkY5kF; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CMTkY5kF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A318BC4CEE8; Thu, 27 Mar 2025 01:47:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1743040044; bh=UxLUcaGCclLWZ9szhs02Tjyzxd6/F5pbbSROIayuHDY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=CMTkY5kFwIr/hOBRFrbqksyazGslvNgMPtACJNqtYn6BuP4i6u5vzwU0sdS/ArqVn FG0t3upB7Sv6j5m8jmQOejFLOhrhLh8TrCAf9WiAQbsOojE9pjtVCcaRJXZ8J8/zg3 7fX1kOjk6Cp5Nfm+B0TUN388q35++ojdmHQI0x5JIuYR7l3mEYI3uGXis56HqC9O6t nOAKOY9GPfbHDD379xgWdRpxNyIOpFEVK0QfZKshcNDj0Qprld7TWNmST+wpc/U/n9 DCGy0snfaoJomNxZx41UtD/DEF9p0R9iMXw+e+s90aHHd/HG+U4TSB2+R8wyp+rFAj LZduC/2YaVoTw== From: Konrad Dybcio Date: Thu, 27 Mar 2025 02:47:04 +0100 Subject: [PATCH v2 02/12] arm64: dts: qcom: sc7180: Add specific APPS RSC compatible Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250327-topic-more_dt_bindings_fixes-v2-2-b763d958545f@oss.qualcomm.com> References: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com> In-Reply-To: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org, Marc Gonzalez , Dmitry Baryshkov , Arnaud Vrac , Sayali Lokhande , Xin Liu , Manivannan Sadhasivam Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1743040027; l=1086; i=konrad.dybcio@oss.qualcomm.com; s=20230215; h=from:subject:message-id; bh=98JRbZTQlUUQeYgs3hYLkDJRFRniq2MiDxw5JXkkKH8=; b=nkmIFKznUbXRMEjje+111XP0sU8DIhcGfgcaPI7G7IViuMqMaJy9GhG4vIGvRtvEek2ZUErhn 3claLnKx9/ADJ8Sw6RMAvMBgYzS2D/+j3eQRHWQy7nZtp+3lBxt7QDC X-Developer-Key: i=konrad.dybcio@oss.qualcomm.com; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= From: Konrad Dybcio SC7180 comes in a couple firmware flavors, some of which don't support PSCI in OSI mode. That prevents the power domain exepcted by the RSC node from providing useful information on system power collapse. Use the platform-specific compatible to allow not passing one. Reviewed-by: Dmitry Baryshkov Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 87c432c12a240f8035753ad10ce8662584a3f1f3..c79b256690fee8a20853e1662503e1f4250611af 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -3720,7 +3720,7 @@ frame@17c2d000 { }; apps_rsc: rsc@18200000 { - compatible = "qcom,rpmh-rsc"; + compatible = "qcom,sc7180-rpmh-apps-rsc", "qcom,rpmh-rsc"; reg = <0 0x18200000 0 0x10000>, <0 0x18210000 0 0x10000>, <0 0x18220000 0 0x10000>; From patchwork Thu Mar 27 01:47:05 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 876790 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 83B6778F4B; Thu, 27 Mar 2025 01:47:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743040049; cv=none; b=WZjoTujLrWUb3mHeZa/jAE1Lc1c4nd+eKkRNd7gvOaUdWPpCJpXwFWz1/YBLUh/WMjSVGDNe1rh+3NtAJklOKV5JXxGVPxM62tHx3+xRXKXjPT290QiEfSo/BIhDBjb/QySDx5kDuvZY0xZx3ksHMSX++pZE/uSvH5B1kTpr4yw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743040049; c=relaxed/simple; bh=oBRd6wImJHcw1AyK1R69WS4Vqed4sQSl69EVg4TbkUI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JxxKDfDKtCL2kGP2Ps+O84J1v/OspECNOb88bnHfTzGel0QPKGhpqjfNYkrBsbUR1fhONNm0Xq08EBAXvVLJKLkIGhPHqrAI4jWhhHi2GMu7B2zrYAb22KKTr3D7enbypNknTbgtyTth/NTIZ11E80NjV+RZ6NIIqLXWvAzmUaw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GackwGZr; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GackwGZr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 023DBC4CEE8; Thu, 27 Mar 2025 01:47:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1743040049; bh=oBRd6wImJHcw1AyK1R69WS4Vqed4sQSl69EVg4TbkUI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=GackwGZrE0KAij8jyx34lftiAl2Nu3YKJt2w1+yscSZGvl1Xec/lTLg0vKjz3yU8Y xDDeUdOS+4z0fT6rcyBNj9WFkP7oJ70kLYTVODyxu8tIEx2o1hqnkOJId8Phcpa5vX i6SYrK5oEnqqMofkV85NL/tMwmK5fdWhdT1Wp9DlvFgCcNgSZjd2NdFqfSoPqkH5t1 pKCbxxarzDVlGUDj99SiM5skDB1ifQ8LENW28ZXiFZzW7V+wV5HKJph3kWezv3zR5n h23a3f8hQfW4Br+w3YPRdfU0PnmPmY0IxVWlnrDVKb9So3y1cG0/usDsQjxdorSV9p H4iMGG/BkhaCw== From: Konrad Dybcio Date: Thu, 27 Mar 2025 02:47:05 +0100 Subject: [PATCH v2 03/12] arm64: dts: qcom: sdm845: Add specific APPS RSC compatible Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250327-topic-more_dt_bindings_fixes-v2-3-b763d958545f@oss.qualcomm.com> References: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com> In-Reply-To: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org, Marc Gonzalez , Dmitry Baryshkov , Arnaud Vrac , Sayali Lokhande , Xin Liu , Manivannan Sadhasivam Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1743040027; l=1126; i=konrad.dybcio@oss.qualcomm.com; s=20230215; h=from:subject:message-id; bh=SVTg8/g07XDg0dRDvO4sTWR2W4ciOG2P5W+0+Wo3CIk=; b=QzKxMUg+1JY/l6aew0oic714OtLgXuFEm407lW6C5bL02Sly9LFhetpp3So4Zo6UMK+bUns+1 y2XwZAElZOdCXFXVq/KGxIDxm+A5ZKcwKFg20D5TRTGRXloxeYSRkZj X-Developer-Key: i=konrad.dybcio@oss.qualcomm.com; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= From: Konrad Dybcio SDM845 comes in a couple firmware flavors, some of which don't support PSCI in OSI mode. That prevents the power domain exepcted by the RSC node from providing useful information on system power collapse. Use the platform-specific compatible to allow not passing one. Reviewed-by: Dmitry Baryshkov Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 2968a5c541dc0a6c1c28e32160c4c40a8f332497..4466c08a8bb08075d71835e04733ff4dbf6f190b 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -5264,8 +5264,8 @@ apss_shared: mailbox@17990000 { }; apps_rsc: rsc@179c0000 { + compatible = "qcom,sdm845-rpmh-apps-rsc", "qcom,rpmh-rsc"; label = "apps_rsc"; - compatible = "qcom,rpmh-rsc"; reg = <0 0x179c0000 0 0x10000>, <0 0x179d0000 0 0x10000>, <0 0x179e0000 0 0x10000>; From patchwork Thu Mar 27 01:47:06 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 876590 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 0ADFC15278E; Thu, 27 Mar 2025 01:47:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743040055; cv=none; b=mTfW6Qj87e6f9JTP02rJUvRbLbr9/svlDv/W4CsH13q/d9XaD5px28rbw3Fz/Ia3UjCBzbfPo688rPKaddakRA00b9VG7tjZ+lpP4kK3PvXVBacKJ1GVFu18OmNMD/OriC2n+39//NqneaHFOE6N5PClu725l+mAX69vy3UFGKM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743040055; c=relaxed/simple; bh=LSvNgTuST4vU6i1JVVfVhtZFIEwPBopaNJg9sGM65oY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KUI14br685kzr91bH3LMT2Vwoky9unZJsR7D7FWADmeYMBG7CrE3aGVULHB/mz2J3ZH/+WanL2cNgCtluJ8RBxoMfpBXDSrEL1xAlub24lRLks4Hum7f3VHKrcnD0+kKgT9bs6uS48+J1Oy2HAPZZ6ioNiAgKcEVHRpsIxd1GRM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=db6qeFLo; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="db6qeFLo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 80009C4CEE2; Thu, 27 Mar 2025 01:47:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1743040054; bh=LSvNgTuST4vU6i1JVVfVhtZFIEwPBopaNJg9sGM65oY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=db6qeFLoOe2czgSBv4AfFDw8RJ2onvisLzTviSJ9sOZ/iGsM7jFLxBwzwvF4R+Gks 0uzcDGF+vl/uNqhYvQBT/JuOr16LD9JTvN6aMbr50LQTQSrNtH3zPgTmEPFKzBEiOX gjLYsL4GswfBpFWAJQMiw6en3s5r6VZZ27Z0v1nK5WnOytsLFzY0qvzNvrndlsEZS3 YD2e/Y3aebxBrDwlC3Hu99Y4VFTIxVVrWWA6j7Sl+mV0Vq0UgEQwMpQI9/dyj1Hmhu /EExcxxdz33ksezwCEHJ6TUG8iw5KiqUh+p8z1Mfy+ioJ4H3XSMUHeMx7lo6Z7toN9 OanEzvyHIPp+Q== From: Konrad Dybcio Date: Thu, 27 Mar 2025 02:47:06 +0100 Subject: [PATCH v2 04/12] arm64: dts: qcom: msm8998: Remove mdss_hdmi_phy phandle argument Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250327-topic-more_dt_bindings_fixes-v2-4-b763d958545f@oss.qualcomm.com> References: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com> In-Reply-To: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org, Marc Gonzalez , Dmitry Baryshkov , Arnaud Vrac , Sayali Lokhande , Xin Liu , Manivannan Sadhasivam Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1743040027; l=1429; i=konrad.dybcio@oss.qualcomm.com; s=20230215; h=from:subject:message-id; bh=TrY2JGuV6loE+tHO0QsYu5rNVD7CM2Fvdv/2gvxCSxI=; b=ECBJpyidl9nyvDfAZI4qozut1QsjwuHt+HRnkSVv7pPn9ig0Kbk+q3VE/6GS5vSAxbC1tEGVa Bu6jVpid/vSB0USeV5c8UoQxN7woNuT+8llOMgZgFKL5hZ4FawCX3vq X-Developer-Key: i=konrad.dybcio@oss.qualcomm.com; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= From: Konrad Dybcio The node has #clock-cells = <0>, as it only provides a single clock output. This leads to a turbo sneaky bug, where the dt checker shows that we have additional clocks in the array: clock-controller@c8c0000: clocks: [[3, 0], [39, 178], [156, 1], [156, 0], [157, 1], [157, 0], [158], [0], [0], [0], [39, 184]] is too long ..which happens due to dtc interpreting <&mdss_hdmi_phy 0> as <&mdss_hdmi_phy>, <0> after taking cells into account. Remove the superfluous argument to both silence the warning and fix the index-based lookup of subsequent entries in "clocks". Fixes: 2150c87db80c ("arm64: dts: qcom: msm8998: add HDMI nodes") Reviewed-by: Dmitry Baryshkov Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index c2caad85c668df2ebe900bc560e39480ae03e353..8d5a8a3f2c12ee1bc742c7dad35368f140d81dd2 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -2794,7 +2794,7 @@ mmcc: clock-controller@c8c0000 { <&mdss_dsi0_phy 0>, <&mdss_dsi1_phy 1>, <&mdss_dsi1_phy 0>, - <&mdss_hdmi_phy 0>, + <&mdss_hdmi_phy>, <0>, <0>, <&gcc GCC_MMSS_GPLL0_DIV_CLK>; From patchwork Thu Mar 27 01:47:07 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 876789 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 859C1165F16; Thu, 27 Mar 2025 01:47:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743040060; cv=none; b=H8GSh3tj+K9m8XJFygxTy3wc3nzm0uPAFrcH5+67G2YWsnNnpD+12qlkJdVLmM/enB7jRtqjjwgs59gunqYwsSKT1i0sqxh2iH40BdCS9yLHefVXrNNJQe+yfsRa3wU7CINW8A8shbjkC1c8qeFE8EqXOJAy0b2dghAcxn8V3ZI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743040060; c=relaxed/simple; bh=hXd3q3TzqgaJjlXCre00BXanjt1oWdAhduFmPhgtcok=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=sLeBceCNeiLxyl2En45lSabyilYq9X1YVkX+XdIeaeBtZD7pWOGopgWiAlldAABB1SGxKHGDYdcKsWULrRJU/v6D6Njll0aza3icV1GQwnHGdZ8dUognJ7br4BzxpZzsUClWJoeSUpS8XNtKNbZ7oJofplUGwzwOI7iNyRYnaqI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fbSbV0eK; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fbSbV0eK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2BF1FC4CEEA; Thu, 27 Mar 2025 01:47:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1743040060; bh=hXd3q3TzqgaJjlXCre00BXanjt1oWdAhduFmPhgtcok=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=fbSbV0eKSHtEfntwXMp4AFzaXuc8CwHj3x3PTOJiqk8qcT1zkaPqAjB83y+FJYR0t aY+MY6eieGE4MRR6B1Idrj/sLG1Pk7vzf7y5l9M51LuAwfaZ4jQYNEZq2JgTGJHWQn US2PYMs5thY8kq2Chod0WgT2Mk3Bl7gEiVgx+9PpLvDFvEQHB5LfnDVLdkxXUa6MMy rAJPQhFgpE2GuLdh3GJ9qkV/GXs7nNfwq8x6LtyqptIck1SIpszNOEqI8GRwZhppfH SJu9MKC52vrQRmIK3ZRw1IO9btedVUBCzv+wrcIkrl5M5Y4wCBAVP71nWyeEkaHlY4 aVeR63ZxTMgcQ== From: Konrad Dybcio Date: Thu, 27 Mar 2025 02:47:07 +0100 Subject: [PATCH v2 05/12] arm64: dts: qcom: qcs615: Remove disallowed property from AOSS_QMP node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250327-topic-more_dt_bindings_fixes-v2-5-b763d958545f@oss.qualcomm.com> References: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com> In-Reply-To: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org, Marc Gonzalez , Dmitry Baryshkov , Arnaud Vrac , Sayali Lokhande , Xin Liu , Manivannan Sadhasivam Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1743040027; l=783; i=konrad.dybcio@oss.qualcomm.com; s=20230215; h=from:subject:message-id; bh=HBatne6c0DFu6JCLfSJ42gkRHZzwWf/heiK1f5RMXAc=; b=X9yoAWe27CoPDQAF7W1Vusq+pfklyFg1mtVNSdZPId7A6q6YwHKwHL21szgGtfnelz9K+8NLE 8LiPy/8icBZCPktII6G4HuRg+MtIx0wszoAlr9lESRev7nayltFxhXy X-Developer-Key: i=konrad.dybcio@oss.qualcomm.com; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= From: Konrad Dybcio AOSS_QMP is not allowed to be a power domain provider, remove the associated -cells property. Reviewed-by: Dmitry Baryshkov Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qcs615.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/qcs615.dtsi b/arch/arm64/boot/dts/qcom/qcs615.dtsi index edfb796d8dd38f5d65fd4327308fb5ac52d2b95e..757b45a142136c01ac74bfa456f90374c3a7acfb 100644 --- a/arch/arm64/boot/dts/qcom/qcs615.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs615.dtsi @@ -3215,7 +3215,6 @@ aoss_qmp: power-management@c300000 { mboxes = <&apss_shared 0>; #clock-cells = <0>; - #power-domain-cells = <1>; }; sram@c3f0000 { From patchwork Thu Mar 27 01:47:08 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 876589 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 0ED0370825; Thu, 27 Mar 2025 01:47:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743040066; cv=none; b=DjEDCzFAtGemMcIT4eBugecua8aqcLX5KHLseXp6gjK5qhBf6CKKGUY0IWTpt1M87XGueeIQoia4Jwb85MSdMvK8V9Vf/4+BurnDkgq9zN/l8Scijx+cZuObXA+r6h6ZSh4NCDiwJaZHFDDiWGUiHd0x90F5FHw9Qb1Ua7RmikA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743040066; c=relaxed/simple; bh=dPrFE5hWZYEv6X7tsf1lHTv46qY5W9IsgImRQpafaYI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=DNlKFOvI94s8gP91yEZAN8Re6FlSGpsgwJUV5CNeZfUGPFpzy8HWTfMCE4mbv+Up8mnXc7igSlpkXjoy9t1FW3VenclUJas4Gk8jTMgqq9LEi8PMkJZQx9PrA6NimqA1RFdG5s+JpI/G7FW9gyEFkHRnmz2UfJFRfxH4za2qibk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=KyYB3JqC; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KyYB3JqC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7FB3DC4CEE8; Thu, 27 Mar 2025 01:47:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1743040064; bh=dPrFE5hWZYEv6X7tsf1lHTv46qY5W9IsgImRQpafaYI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=KyYB3JqCR3AoOcwUXFo/s1Ml/u1HPbwA+kAJEquTkyXp0a7t7swO8Rf6s90Hbw0RN l/wMikETXShWeZQGjqhimuQpf4g1y90Ejj12/HzZou9NFd491rrC8la/eRiRoda7xo tTU19esRQWfU3hIdKXROKjkk1ry1CMi8we3y878lV10wDKOHSlKZTlNsCWMPKPOY38 SG+/xqS7N8POlzGIqbWhq9GOzg4i+TopjxNrWttYhHYfpZx8/GPi7vJSfyP4RAbYKw uRvZ94MOyizSt7YWymiHWQxNzT8DNyE1g3Xec+emOpy4B4hplST/Oro5FpSv86yNW9 F/Z3Yyc3dnqpw== From: Konrad Dybcio Date: Thu, 27 Mar 2025 02:47:08 +0100 Subject: [PATCH v2 06/12] arm64: dts: qcom: msm8998-fxtec: Add QUSB2PHY VDD supply Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250327-topic-more_dt_bindings_fixes-v2-6-b763d958545f@oss.qualcomm.com> References: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com> In-Reply-To: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org, Marc Gonzalez , Dmitry Baryshkov , Arnaud Vrac , Sayali Lokhande , Xin Liu , Manivannan Sadhasivam Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1743040027; l=995; i=konrad.dybcio@oss.qualcomm.com; s=20230215; h=from:subject:message-id; bh=kVAhX660mADSKQRi2xVdD9uzR4NfE1uATZu/CG9g4QE=; b=0PmNl0yMUjnBOo8u3e9J5LgQW7USXoC08rM9SUHpwpDKvJdKF6ujq/CpD88xN7lbRlmQt/6Eh SHLpaReT3ioAz0vOwZcJPz0hj5TsifH6lWNsMF5CRBjDOGhuHz1zk+r X-Developer-Key: i=konrad.dybcio@oss.qualcomm.com; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= From: Konrad Dybcio Set the supply as required by bindings, to silence the warning: 'vdd-supply' is a required property The value is inferred from MTP schematics, but it shouldn't change between boards due to specific electrical characteristics. Reviewed-by: Dmitry Baryshkov Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8998-fxtec-pro1.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998-fxtec-pro1.dts b/arch/arm64/boot/dts/qcom/msm8998-fxtec-pro1.dts index f1ceaedd9520c13df0f6cf086907b355264ddc80..f5558495cb02e44597591331d5d28a488b120204 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-fxtec-pro1.dts +++ b/arch/arm64/boot/dts/qcom/msm8998-fxtec-pro1.dts @@ -372,6 +372,7 @@ &pm8998_resin { &qusb2phy { status = "okay"; + vdd-supply = <&vreg_l1a_0p875>; vdda-pll-supply = <&vreg_l12a_1p8>; vdda-phy-dpdm-supply = <&vreg_l24a_3p075>; }; From patchwork Thu Mar 27 01:47:09 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 876788 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 8AF6E76026; Thu, 27 Mar 2025 01:47:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743040070; cv=none; b=kU4fvziZVqesnvttQE9YXPm5dXlwrLnF642Re1IA7NwHtHqBXGMVy3YrzMmfiFti6YPEPXIgXoXWswzTLkR2KpBB36yc5dYmvPq/dp+jBK/JZc4o7S6jFjn0xvIQKVsbghrGWsWV37watNByLZGBCuNLasKYw2AC6v5oSTH2NcY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743040070; c=relaxed/simple; bh=s+MMtWuU9WzFX2FSX/8k6JVcWUB4fq19wlaM8PLCMOE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=pObz6JThI+2DKsAhnsFYHBfzGPWaA2vjCUSvjuOyhetjSlmYQUMiNtB+RaLhH4VW3S0RHI0Xtmawkr7gytzpuCo0umqV+dIjjNKLAp6BLk4jtRaWp3JJsHOzm4L/6ySwNkaMBvl9qLrqEG9qJOKozuia1tCPO4/Ghdz6f49H+0s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=StWEfqRJ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="StWEfqRJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3498BC4CEEE; Thu, 27 Mar 2025 01:47:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1743040070; bh=s+MMtWuU9WzFX2FSX/8k6JVcWUB4fq19wlaM8PLCMOE=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=StWEfqRJtgZjrM7lcTilUV1/GNRAp6KlgdevYkuBQ+/TvBRzN8Zb8yBs7ijiuKok8 42/sn3ETl1Pfu2WjgkkYyRBRlJK01DJsFvULbElxzzv27qEsMKRM9ZOzVHsdv/2OgC e6aeNIEUmB2tWqOjwux6vxQ3TWL/rsyr/vH5cRQ9faab002KG4C9/MRNqVaEdxrmtw gt9WUe1Tresfd9F0YDCv88LNt3Ej+H1/s95YXJbDbzN60maKSFIvYBc6pQEmL+ToL4 q4egiY4duBptZMrx0QhPZER7oB1yOg8GLToRpZQ89vNWNcb7htw2QsAnyVA91SFTQd AU4rEwKtHnP4w== From: Konrad Dybcio Date: Thu, 27 Mar 2025 02:47:09 +0100 Subject: [PATCH v2 07/12] arm64: dts: qcom: msm8998-mtp: Add QUSB2PHY VDD supply Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250327-topic-more_dt_bindings_fixes-v2-7-b763d958545f@oss.qualcomm.com> References: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com> In-Reply-To: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org, Marc Gonzalez , Dmitry Baryshkov , Arnaud Vrac , Sayali Lokhande , Xin Liu , Manivannan Sadhasivam Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1743040027; l=851; i=konrad.dybcio@oss.qualcomm.com; s=20230215; h=from:subject:message-id; bh=zo5bkmAwR0UxA4O6AtT5zwF3RS8CkC8Vu+9e879c2uA=; b=SibRReKE89dkq/SCdWKbWanvppmcOUG3ULHcRygiIWDlyoKYcz2gVkjXxKGRrwue/6nZKm+V3 FvXhk+q2DazCAatMqEongjysu+YxVqjWj/5Fw14QlmYhI7N0cEduUxI X-Developer-Key: i=konrad.dybcio@oss.qualcomm.com; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= From: Konrad Dybcio Set the supply as required by bindings, to silence the warning: 'vdd-supply' is a required property Reviewed-by: Dmitry Baryshkov Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8998-mtp.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998-mtp.dts b/arch/arm64/boot/dts/qcom/msm8998-mtp.dts index 7c77612fb99026e42adf125c538735b3ef6e57d4..ad425267e9021174e95e7356b0b3c491fd5873aa 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-mtp.dts +++ b/arch/arm64/boot/dts/qcom/msm8998-mtp.dts @@ -156,6 +156,7 @@ pm8005_s1: s1 { /* VDD_GFX supply */ &qusb2phy { status = "okay"; + vdd-supply = <&vreg_l1a_0p875>; vdda-pll-supply = <&vreg_l12a_1p8>; vdda-phy-dpdm-supply = <&vreg_l24a_3p075>; }; From patchwork Thu Mar 27 01:47:10 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 876588 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 8B6AE14A0B7; Thu, 27 Mar 2025 01:47:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743040075; cv=none; b=Ntz5x5EsT35QP1jj/rK5sV4S+txpTGyReX3OvLWe24T+bUI/kTVDvxNtrev8S7dr/8DiBg7ZlcSE/Db4DQSRaFS+sC5Hhp/FcznSzd1mFQ7FjHZoKvNavs3zCVhhdiirkre9vO8ynHglGZg3XnpJ0NiN69EP+LgQ9TAkNx7z698= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743040075; c=relaxed/simple; bh=XHhkEIgUVrZKP/3ryWaQAFJqUi2noMTzMyRE/zlOr0s=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FqfD1LQMTKnNykijMBjwrlD6ir+kbnaEndEmuzuPWgHXbxgGuEo2KxV91EH6hBuI1WuLv9nTg7tXSpiZs9rFgK1Exbj70VOwJW+I4TyOU7y56o/DRJR9I08q+LSIQMh1jXBITIAIgN9NT2ckyjDzorfbKFtklumNMthdiF4nXr0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MP8FzOcr; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MP8FzOcr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C361C4CEF1; Thu, 27 Mar 2025 01:47:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1743040075; bh=XHhkEIgUVrZKP/3ryWaQAFJqUi2noMTzMyRE/zlOr0s=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=MP8FzOcrRvGkzTUYzxmQ2ZxRTzY6mI4wzWI1eMC7Ln+4IyB9EMjm/aQUoAdd5OAla j2Z9n8QbnIGUeoyAXbGdPNdh+5pXERy6sp15sbR8tzCSs1S6zf0Cn6vD4QuE4Zk91F DbAqajw6eAPBVErXIGlAED4vOIApmMYMiZvmotxWs4vQn4e5gyBK5NU+13q1VkusiL o0/jBEKlLfhtCqXVn0XIbRL6VpEEX5Y1csmezHjoqjjD5dVtxoO2RjUDOqQIbep7b7 /wY0YPZ5e8wNtyHSNeS7dQW6SyXgRPRVV6y7wbFMjaQ/ciHL1dPaV/2oik/EWZPxP/ ixQ0HCifgqVAw== From: Konrad Dybcio Date: Thu, 27 Mar 2025 02:47:10 +0100 Subject: [PATCH v2 08/12] arm64: dts: qcom: msm8998-yoshino: Add QUSB2PHY VDD supply Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250327-topic-more_dt_bindings_fixes-v2-8-b763d958545f@oss.qualcomm.com> References: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com> In-Reply-To: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org, Marc Gonzalez , Dmitry Baryshkov , Arnaud Vrac , Sayali Lokhande , Xin Liu , Manivannan Sadhasivam Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1743040027; l=1037; i=konrad.dybcio@oss.qualcomm.com; s=20230215; h=from:subject:message-id; bh=2bkUL8LT8pjwAi6XMds2FZeBUNoLAcwslGr+W3ET7Y8=; b=rWdC9HY0K6ZbpB0/Wt42TcwPuTBbLL7bJx6Ayc3k5jfx6SBCm4p0bcvYIh6dU55AyZyDi/+FK kO65bVGtpsNA89w8FDZ0NFHGZXHiarsUK1zKm6A2e2yCxfqDa5//RTT X-Developer-Key: i=konrad.dybcio@oss.qualcomm.com; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= From: Konrad Dybcio Set the supply as required by bindings, to silence the warning: 'vdd-supply' is a required property The value is inferred from MTP schematics, but it shouldn't change between boards due to specific electrical characteristics. Reviewed-by: Dmitry Baryshkov Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi b/arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi index d8cc0d729e99c5ead32f38c12bf65a930d369c08..3650f2501886bdde23c500bf5fce205de33fccc4 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi @@ -450,6 +450,7 @@ led@5 { &qusb2phy { status = "okay"; + vdd-supply = <&vreg_l1a_0p875>; vdda-pll-supply = <&vreg_l12a_1p8>; vdda-phy-dpdm-supply = <&vreg_l24a_3p075>; }; From patchwork Thu Mar 27 01:47:11 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 876787 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 567CF19DF75; Thu, 27 Mar 2025 01:48:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743040081; cv=none; b=rwzWI788pSuBV4px1WvPKm2om5PPbBgM19ELxfQwM2/yk0/IdzECuTzYTY69jvWKak7W2noBstK7vgLov1Zh5RMmHr3KniUymMsMMVve0f7P+Rm8IPHiLu0NAIJJQi/MGoxB/mipLAxZgPu6ZawkrFfzS8VlvU9R9SZ3uEFxeek= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743040081; c=relaxed/simple; bh=K0UG0c8+isKpUH9oSXurt4BMBn78aQCe76ElQzJEo8A=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VFsvc+hZnmEAwnAonUhL07ie8JUhmUf2GMMXj5tulyTgOnm+///Wz9qCNnJTazxKtKL31SlL1IXwudtdQUPyHmO+khmE27YQb9pXo6kvMOFFl58dDNUlx2U1L+JqFFqYcInxMxf/HemJHLrcarA6sOErOUwGOcfAeKN0CZ6ZpdU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=C6EnBa4Y; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="C6EnBa4Y" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10F0BC4CEE8; Thu, 27 Mar 2025 01:47:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1743040080; bh=K0UG0c8+isKpUH9oSXurt4BMBn78aQCe76ElQzJEo8A=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=C6EnBa4Y41Dtu7xfJ+u5zhsZoqoKuiyrApWg/Xgj2MjteLmfGH6MGh4rOP9BOCO0T BNc0XDh8wkynUPnVeHflMXDEtoBPEkGgWHqpJv8LrrPTimWqr4LsCh8o53fMDgluGo lKm2m6at5pKhYEsp45LbMUqELgW3sp2oeCB5y7hjtYPYdFD8N168D587qybC1urafG bly/nvaoUx8e2cF3diynyIbfe0RybffMmNl3yBDO0Vrg+APsRuDwHblfWe1QBOhSfp PLOKHxRxSwWaCGwG/S1YrGi0mjbcxQABIDzHdpkYvTEpDo6nvqyw+bMD+NwTQrWIMr +5DvDykAnoGyA== From: Konrad Dybcio Date: Thu, 27 Mar 2025 02:47:11 +0100 Subject: [PATCH v2 09/12] arm64: dts: qcom: sm6350-pdx213: Wire up USB regulators Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250327-topic-more_dt_bindings_fixes-v2-9-b763d958545f@oss.qualcomm.com> References: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com> In-Reply-To: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org, Marc Gonzalez , Dmitry Baryshkov , Arnaud Vrac , Sayali Lokhande , Xin Liu , Manivannan Sadhasivam Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1743040027; l=970; i=konrad.dybcio@oss.qualcomm.com; s=20230215; h=from:subject:message-id; bh=Qvo6BP16C5Ye9x4o42IWyl+gyBi5j/mfeu2UZU9Lkwg=; b=LIYzYBIs950NLjNEIvvTzWnjTyRrPCJl2RLPEhOAJPBAv4d893ZqvcWAg5cZn+fw20F73NL+8 pn/31cYA9KuAxEHPhe6okaXt1yxOAnBbLfp8FAPJaSPvlXnpBioBXhc X-Developer-Key: i=konrad.dybcio@oss.qualcomm.com; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= From: Konrad Dybcio Wire up the regulators based on the downstream release to appease the devicetree checker. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts b/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts index bf23033a294e3f6e5f248d1d8114e52a70d17094..8848043f95f29966127f4ed3d47e8216f4fa3183 100644 --- a/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts +++ b/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts @@ -381,9 +381,16 @@ &usb_1_dwc3 { }; &usb_1_hsphy { + vdd-supply = <&pm6350_l18>; + vdda-phy-dpdm-supply = <&pm6350_l3>; + vdda-pll-supply = <&pm6350_l2>; + status = "okay"; }; &usb_1_qmpphy { + vdda-phy-supply = <&pm6350_l16>; + vdda-pll-supply = <&pm6350_l22>; + status = "okay"; }; From patchwork Thu Mar 27 01:47:12 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 876587 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 108531A3177; Thu, 27 Mar 2025 01:48:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743040088; cv=none; b=cV9hIdLX1EzcK8wZpIfKriyepBdnjys8KaTJzBKQvz9q/Z3CCIbH+o2X7R6LKpjF+9xDWiDt6YX/B4mxIsIhQ3YrgFYOlITO9XIxw658/jEWh0/RzJGXg2izB/Ur1/ABe/bDS3FeoX26PUfzOJ4r2FIet5ChyQA4Yr5g1dyja5Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743040088; c=relaxed/simple; bh=/4YdO1GJGLD0jC6z9VrLqBYptJUx2VKG3GF0pPUl6GY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=c4Gc6Diti9UjpeoXPjTbT5KrdAmtWRlRYdjsoGlUjbUD431+/GyQxAPJE1am11iVdxm9ErG7BHG8FCk4EnHsHXDgGDr/0vz5ef0jr3Xp0eLtczGOQBJXIya+c3+ABI+ej7yz+N7BpvPf/EfUI7Se/Mh8Ez86HtW4ITVp2RnNjJE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nuLsRp+e; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nuLsRp+e" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60DF6C4CEEA; Thu, 27 Mar 2025 01:48:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1743040086; bh=/4YdO1GJGLD0jC6z9VrLqBYptJUx2VKG3GF0pPUl6GY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=nuLsRp+eElFmwW4AriAzHEwVhukJ9yZh23Ne/Vy1I39AcPgVD624Z7J9qxyrd61Zh kAYR40EwXQr2lf1y0B458SXyASK9i5iuB73PDem931WnJ/8lmjbtkilJwyAmJjWgCs /E/USGuEt+yZ8/W63sZIEt/pohAqjgf6BdZqVPz+BtFuwLnt7EnR3rJh/aDb/Vs57h SYBU+blt4ivg3gBElxKSCqw7tXu6QeNy55BKuKVm1+q+hhYqPgIGJW4bmajAF2snip VYFwVThu/495DiGfl2XfRV3Z1+TS4qJpoySAbuYkkPKSDN7hFU2VeGrXHx/hTscOqd lDRrCScxX8KZw== From: Konrad Dybcio Date: Thu, 27 Mar 2025 02:47:12 +0100 Subject: [PATCH v2 10/12] arm64: dts: qcom: msm8996-oneplus: Add SLPI VDD_PX Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250327-topic-more_dt_bindings_fixes-v2-10-b763d958545f@oss.qualcomm.com> References: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com> In-Reply-To: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org, Marc Gonzalez , Dmitry Baryshkov , Arnaud Vrac , Sayali Lokhande , Xin Liu , Manivannan Sadhasivam Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1743040027; l=2079; i=konrad.dybcio@oss.qualcomm.com; s=20230215; h=from:subject:message-id; bh=D7BUCHgow6Uq1lac6jP+0pbyBvLSvmyf4g7T5vPXdQM=; b=QxG65m9suuVHFSqAlPMZRoJSoEuTYvRp202g7KgLARb45ddzBVJjcBUGC7DWGwb7s76nB+dX5 hZWkM31mUZQBz23trfiltG3AGrC3zWcQQyzNBnfxqJ0qfaWgiIjoO64 X-Developer-Key: i=konrad.dybcio@oss.qualcomm.com; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= From: Konrad Dybcio The PX line powers some hardware related to sensors. Assume the board doesn't reinvent what MTP has established and hook up LVS2 @ 1.8V as such. This fixes the 'is required' type of bindings validator errors. Signed-off-by: Konrad Dybcio Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8996-oneplus-common.dtsi | 5 +++++ arch/arm64/boot/dts/qcom/msm8996-oneplus3.dts | 2 ++ arch/arm64/boot/dts/qcom/msm8996-oneplus3t.dts | 2 ++ 3 files changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/msm8996-oneplus-common.dtsi index 38035e0db80be9c4829b67233ba5c4ce8a2baa21..b263d3a204e54a88642bdb6bd7b9e9d7f8fdb2f2 100644 --- a/arch/arm64/boot/dts/qcom/msm8996-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996-oneplus-common.dtsi @@ -492,6 +492,11 @@ vreg_l32a_1p8: l32 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; }; + + vreg_lvs2a: lvs2 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; }; }; diff --git a/arch/arm64/boot/dts/qcom/msm8996-oneplus3.dts b/arch/arm64/boot/dts/qcom/msm8996-oneplus3.dts index dfe75119b8d25fce4a6a14e0ab4f07414aadc8c5..220eeb31fdc70b89b3e237d1f6643c465bda5238 100644 --- a/arch/arm64/boot/dts/qcom/msm8996-oneplus3.dts +++ b/arch/arm64/boot/dts/qcom/msm8996-oneplus3.dts @@ -41,6 +41,8 @@ &mss_pil { &slpi_pil { firmware-name = "qcom/msm8996/oneplus3/slpi.mbn"; + px-supply = <&vreg_lvs2a>; + status = "okay"; }; diff --git a/arch/arm64/boot/dts/qcom/msm8996-oneplus3t.dts b/arch/arm64/boot/dts/qcom/msm8996-oneplus3t.dts index 51fce65e89f1142cff98fcdecde9744b87decdc3..f772618e80c702cb8995965dffbf5992a9f66490 100644 --- a/arch/arm64/boot/dts/qcom/msm8996-oneplus3t.dts +++ b/arch/arm64/boot/dts/qcom/msm8996-oneplus3t.dts @@ -42,6 +42,8 @@ &mss_pil { &slpi_pil { firmware-name = "qcom/msm8996/oneplus3t/slpi.mbn"; + px-supply = <&vreg_lvs2a>; + status = "okay"; }; From patchwork Thu Mar 27 01:47:13 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 876786 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 167E415687D; Thu, 27 Mar 2025 01:48:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743040093; cv=none; b=rTEzdiHbGhHBiTFTdU1I/B9X0isNMA+NsISPHl3xC1G08k1S/ywuBZL3DAZ8h+ghRmpl93fO9Wmmjn6Z/d+eLaQATaAGtDCCu4ytJ8iVpuaSbN9Rk+Q2IV45FqFpkGQSfgyqEO0CT+46ye4sWYeI3WU6Bzas1SICEkAYTLjmMZM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743040093; c=relaxed/simple; bh=wRH1P0SkisfCSoN8w6aZevyPLyT+Ov4RvePk5teZCm0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mUO/8MdcauVJj7pNkjbhoE9SlowjU3lbmpTZjp/5JWhMjrI9BT4qDbfO664VVHBADHy+RLbhzg/0dTQbk0CJ4yxLgFZtXmllZhlbMr+JtmegMHOOmN0xLOzELj8ymsuDOJsUwuPe1rBSkxrBD14gHY7SHtVnJgOw3pEE5DSd2J0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ChTQFVGn; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ChTQFVGn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 387EAC4CEE2; Thu, 27 Mar 2025 01:48:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1743040092; bh=wRH1P0SkisfCSoN8w6aZevyPLyT+Ov4RvePk5teZCm0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=ChTQFVGnUMg9E5X0Jr+dAlPSkukRWMtbgaQ2Vn0rhWxHKeS7itNMpVmzWnOqiHwOG CC+kuE3KV7Fec1jrChBgb7tGhOKqA6QvEgL1g+gWTgCmVcpGEXy0bUSawr9H5f0tqW wkSuOJwwpKmmbqwVJMCtJVfna/eQNZMFkeMz8Hisvnpd4jwECX5zwt0Rt/vZX8sESk F0cPq23Ko27xmeWoIGqv7LrZQc8LO2l0jfpaNv7fT4xYiN9ujeSfWKcw2oiV6qtrGc 1XBhsTQ116anZzEaamJOiV8/OmPjehiopJ2ackOhS6VQGM5/TMf+b8z3Wm4cCUYSOS c2rOsFMBefsTQ== From: Konrad Dybcio Date: Thu, 27 Mar 2025 02:47:13 +0100 Subject: [PATCH v2 11/12] arm64: dts: qcom: sa8775p: Clean up the PSCI PDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250327-topic-more_dt_bindings_fixes-v2-11-b763d958545f@oss.qualcomm.com> References: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com> In-Reply-To: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org, Marc Gonzalez , Dmitry Baryshkov , Arnaud Vrac , Sayali Lokhande , Xin Liu , Manivannan Sadhasivam Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1743040027; l=1626; i=konrad.dybcio@oss.qualcomm.com; s=20230215; h=from:subject:message-id; bh=N7rFyT8ZwoZgZYJLl0677wcSO/TKrKTC/pTp8NyXtlU=; b=J+H4vJembSZVP8l5I2ok+F7CINKkDk51ZouUKRWzcPAB84cTY0NOn0fqVFPW5W54lh1bHO4RD sUkqgHIm6imBXhHMpM53peZm7s5Xo8uq00sCtnWOE1zHp2hw5+K1PPz X-Developer-Key: i=konrad.dybcio@oss.qualcomm.com; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= From: Konrad Dybcio Because SA8775P comes with two disjoint CPU clusters, we have to follow a similar topology description like the one in sm8750.dtsi, so: system_pd cluster0_pd cpu_pd0 ... cluster1_pd cpu_pd4 ... Do that & wire it up to APPS RSC to make the bindings checker happy. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index a904960359d731d2f0b6659a8ae99bff0e1bafb4..707c9dc3e748d9f24b38244bb468ec6db9c20efd 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -471,17 +471,17 @@ cpu_pd7: power-domain-cpu7 { cluster_0_pd: power-domain-cluster0 { #power-domain-cells = <0>; - power-domains = <&cluster_2_pd>; domain-idle-states = <&cluster_sleep_gold>; + power-domains = <&system_pd>; }; cluster_1_pd: power-domain-cluster1 { #power-domain-cells = <0>; - power-domains = <&cluster_2_pd>; domain-idle-states = <&cluster_sleep_gold>; + power-domains = <&system_pd>; }; - cluster_2_pd: power-domain-cluster2 { + system_pd: power-domain-system { #power-domain-cells = <0>; domain-idle-states = <&cluster_sleep_apss_rsc_pc>; }; @@ -4734,6 +4734,7 @@ apps_rsc: rsc@18200000 { , ; label = "apps_rsc"; + power-domains = <&system_pd>; apps_bcm_voter: bcm-voter { compatible = "qcom,bcm-voter"; From patchwork Thu Mar 27 01:47:14 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 876586 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 3D1421581EE; Thu, 27 Mar 2025 01:48:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743040097; cv=none; b=OjMLCpNCgyNIWRaQw7fEJFJhnsNJfxqN0Jb4uHxpPKdpBZUapYzfX0CmJv7/7Br3l5D8c7ighF/meKjVQEd4REK7tc/9KPnTYFNSVVVKrUVeeX2ffDDU72DM1LNKLPi6C5ZCN/eQM7qy7Bmj7wfvdgg0XtukRgQreWuXUN9wu7k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743040097; c=relaxed/simple; bh=B4rlNYI/TlMi8E2r+5AAZGMuPbzHcx8khyl4TDY4AbA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=doJT/bRRlx91bNSV2csBIwwLgMY5IczINGBTNuJ2nl/xvX9V9kJhFeHM3TPJK6Pn+N8mrjIidopM4iKMd7CUFP5HpbqLz1FOagn1v4clL+Kl3M/tBZN354E+zgNonwx//iLXvf1RC5qZ52IHhAtFl0UgrtL9dI6lhCE62uEm6i0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cvlbDZkP; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cvlbDZkP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 29AE5C4CEE8; Thu, 27 Mar 2025 01:48:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1743040097; bh=B4rlNYI/TlMi8E2r+5AAZGMuPbzHcx8khyl4TDY4AbA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=cvlbDZkPCqgV1CUBtj+U3KrMX2zztiw9L1/p8/bRNGuVKNSjebv8Sckvk03iYa32X zanRAULs9TE04m+GizvOWQR8yb1CCbWXTojkaszyRjDzAyp+1D9KZEZv2grRNNQFoN FfXAgeBohuyw+9IQXsFlEhBR4SqmIp8A+rAr3zdGSiBQT2/OUJ80uNJluMBCn6W7jo 05GXEim1uBYCkO0BXXozhHgadqoNoouwMkE9ztD2TUq46eo54cbEUr6zRtczB5YM75 l/fXRB+XGUs0WSmDcIxAxhFSG51VjcbDHCdjlfg9SnVPmJh5VdItVrlL9THP8WtX+n UY58Y8omMXnZw== From: Konrad Dybcio Date: Thu, 27 Mar 2025 02:47:14 +0100 Subject: [PATCH v2 12/12] arm64: dts: qcom: qcs615: Fix up UFS clocks Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250327-topic-more_dt_bindings_fixes-v2-12-b763d958545f@oss.qualcomm.com> References: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com> In-Reply-To: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org, Marc Gonzalez , Dmitry Baryshkov , Arnaud Vrac , Sayali Lokhande , Xin Liu , Manivannan Sadhasivam Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1743040027; l=2029; i=konrad.dybcio@oss.qualcomm.com; s=20230215; h=from:subject:message-id; bh=6fIPlfmQGBAPT7tnjcnxtmbjB2VukAd6upZhk+62720=; b=oCMOlcwQcBZCrN7m6ST6xMJEh8GSvo9dRo/ywt2lXSa+aKei8rolyagG40UqXOzqVm34zjDkf UDC+2EMaEgQDH4PWaf67sLtn0acgSsw+pkmsnH3pHXMddpsqQltxa9L X-Developer-Key: i=konrad.dybcio@oss.qualcomm.com; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= From: Konrad Dybcio The clocks are out of order with the bindings' expectations. Reorder them to resolve the errors. Fixes: a6a9d10e7969 ("arm64: dts: qcom: qcs615: add UFS node") Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qcs615.dtsi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qcs615.dtsi b/arch/arm64/boot/dts/qcom/qcs615.dtsi index 757b45a142136c01ac74bfa456f90374c3a7acfb..06ddeacc48baa1e04d3ada4b0808f4bf29ae9f80 100644 --- a/arch/arm64/boot/dts/qcom/qcs615.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs615.dtsi @@ -1033,10 +1033,10 @@ ufs_mem_hc: ufshc@1d84000 { "bus_aggr_clk", "iface_clk", "core_clk_unipro", - "core_clk_ice", "ref_clk", "tx_lane0_sync_clk", - "rx_lane0_sync_clk"; + "rx_lane0_sync_clk", + "ice_core_clk"; resets = <&gcc GCC_UFS_PHY_BCR>; reset-names = "rst"; @@ -1071,10 +1071,10 @@ opp-50000000 { /bits/ 64 <0>, /bits/ 64 <0>, /bits/ 64 <37500000>, - /bits/ 64 <75000000>, /bits/ 64 <0>, /bits/ 64 <0>, - /bits/ 64 <0>; + /bits/ 64 <0>, + /bits/ 64 <75000000>; required-opps = <&rpmhpd_opp_low_svs>; }; @@ -1083,10 +1083,10 @@ opp-100000000 { /bits/ 64 <0>, /bits/ 64 <0>, /bits/ 64 <75000000>, - /bits/ 64 <150000000>, /bits/ 64 <0>, /bits/ 64 <0>, - /bits/ 64 <0>; + /bits/ 64 <0>, + /bits/ 64 <150000000>; required-opps = <&rpmhpd_opp_svs>; }; @@ -1095,10 +1095,10 @@ opp-200000000 { /bits/ 64 <0>, /bits/ 64 <0>, /bits/ 64 <150000000>, - /bits/ 64 <300000000>, /bits/ 64 <0>, /bits/ 64 <0>, - /bits/ 64 <0>; + /bits/ 64 <0>, + /bits/ 64 <300000000>; required-opps = <&rpmhpd_opp_nom>; }; };