From: Konrad Dybcio <konradybcio@kernel.org>
To: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
cros-qcom-dts-watchers@chromium.org,
Marc Gonzalez <mgonzalez@freebox.fr>,
Dmitry Baryshkov <lumag@kernel.org>,
Arnaud Vrac <avrac@freebox.fr>,
Sayali Lokhande <quic_sayalil@quicinc.com>,
Xin Liu <quic_liuxin@quicinc.com>,
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Marijn Suijten <marijn.suijten@somainline.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Subject: [PATCH v2 01/12] dt-bindings: soc: qcom,rpmh-rsc: Limit power-domains requirement
Date: Thu, 27 Mar 2025 02:47:03 +0100 [thread overview]
Message-ID: <20250327-topic-more_dt_bindings_fixes-v2-1-b763d958545f@oss.qualcomm.com> (raw)
In-Reply-To: <20250327-topic-more_dt_bindings_fixes-v2-0-b763d958545f@oss.qualcomm.com>
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
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 <konrad.dybcio@oss.qualcomm.com>
---
.../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
--
2.49.0
next prev parent reply other threads:[~2025-03-27 1:47 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-27 1:47 [PATCH v2 00/12] More more dt-bindings fixes for arm64/qcom Konrad Dybcio
2025-03-27 1:47 ` Konrad Dybcio [this message]
2025-03-27 8:18 ` [PATCH v2 01/12] dt-bindings: soc: qcom,rpmh-rsc: Limit power-domains requirement Krzysztof Kozlowski
2025-03-27 1:47 ` [PATCH v2 02/12] arm64: dts: qcom: sc7180: Add specific APPS RSC compatible Konrad Dybcio
2025-03-27 1:47 ` [PATCH v2 03/12] arm64: dts: qcom: sdm845: " Konrad Dybcio
2025-03-27 1:47 ` [PATCH v2 04/12] arm64: dts: qcom: msm8998: Remove mdss_hdmi_phy phandle argument Konrad Dybcio
2025-03-27 1:47 ` [PATCH v2 05/12] arm64: dts: qcom: qcs615: Remove disallowed property from AOSS_QMP node Konrad Dybcio
2025-03-27 1:47 ` [PATCH v2 06/12] arm64: dts: qcom: msm8998-fxtec: Add QUSB2PHY VDD supply Konrad Dybcio
2025-03-27 1:47 ` [PATCH v2 07/12] arm64: dts: qcom: msm8998-mtp: " Konrad Dybcio
2025-03-27 1:47 ` [PATCH v2 08/12] arm64: dts: qcom: msm8998-yoshino: " Konrad Dybcio
2025-03-27 1:47 ` [PATCH v2 09/12] arm64: dts: qcom: sm6350-pdx213: Wire up USB regulators Konrad Dybcio
2025-03-27 10:08 ` Dmitry Baryshkov
2025-03-27 10:11 ` Dmitry Baryshkov
2025-03-27 1:47 ` [PATCH v2 10/12] arm64: dts: qcom: msm8996-oneplus: Add SLPI VDD_PX Konrad Dybcio
2025-03-27 12:10 ` Dmitry Baryshkov
2025-03-27 1:47 ` [PATCH v2 11/12] arm64: dts: qcom: sa8775p: Clean up the PSCI PDs Konrad Dybcio
2025-03-27 14:00 ` Dmitry Baryshkov
2025-03-27 14:06 ` Konrad Dybcio
2025-03-27 1:47 ` [PATCH v2 12/12] arm64: dts: qcom: qcs615: Fix up UFS clocks Konrad Dybcio
2025-03-27 14:00 ` Dmitry Baryshkov
2025-05-20 2:14 ` [PATCH v2 00/12] More more dt-bindings fixes for arm64/qcom Bjorn Andersson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250327-topic-more_dt_bindings_fixes-v2-1-b763d958545f@oss.qualcomm.com \
--to=konradybcio@kernel.org \
--cc=andersson@kernel.org \
--cc=avrac@freebox.fr \
--cc=conor+dt@kernel.org \
--cc=cros-qcom-dts-watchers@chromium.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lumag@kernel.org \
--cc=manivannan.sadhasivam@linaro.org \
--cc=marijn.suijten@somainline.org \
--cc=mgonzalez@freebox.fr \
--cc=quic_liuxin@quicinc.com \
--cc=quic_sayalil@quicinc.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®