[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250825155557.v2.1.I018984907c1e6322cf4710bd1ce805580ed33261@changeid>
Date: Mon, 25 Aug 2025 15:55:56 -0700
From: Brian Norris <briannorris@...omium.org>
To: Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>,
Georgi Djakov <djakov@...nel.org>,
Odelu Kukatla <quic_okukatla@...cinc.com>
Cc: cros-qcom-dts-watchers@...omium.org,
Conor Dooley <conor+dt@...nel.org>,
linux-kernel@...r.kernel.org,
linux-arm-msm@...r.kernel.org,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Rob Herring <robh@...nel.org>,
Douglas Anderson <dianders@...omium.org>,
devicetree@...r.kernel.org,
Brian Norris <briannorris@...omium.org>,
Dmitry Baryshkov <dmitry.baryshkov@....qualcomm.com>
Subject: [PATCH v2 1/2] dt-bindings: interconnect: qcom: make sc7280 aggre{1,2}-noc clocks optional
We've found that some device firmware does not expose all the QoS
resources necessary to manage these interconnects, and that the driver
code that starts using them crashes. Leave 'clocks' as optional for
qcom,sc7280-aggre1-noc and qcom,sc7280-aggre2-noc instead.
Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@....qualcomm.com>
Signed-off-by: Brian Norris <briannorris@...omium.org>
---
Changes in v2:
* new in v2
.../interconnect/qcom,sc7280-rpmh.yaml | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/Documentation/devicetree/bindings/interconnect/qcom,sc7280-rpmh.yaml b/Documentation/devicetree/bindings/interconnect/qcom,sc7280-rpmh.yaml
index 81c3dff53992..5dbd0563ac17 100644
--- a/Documentation/devicetree/bindings/interconnect/qcom,sc7280-rpmh.yaml
+++ b/Documentation/devicetree/bindings/interconnect/qcom,sc7280-rpmh.yaml
@@ -82,17 +82,17 @@ allOf:
items:
- description: RPMH CC IPA clock
+ # QoS clocks are only valid for aggre{1,2}-noc. Some TZ firmware do not
+ # expose even these, so they remain optional.
- if:
- properties:
- compatible:
- contains:
- enum:
- - qcom,sc7280-aggre1-noc
- - qcom,sc7280-aggre2-noc
+ not:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,sc7280-aggre1-noc
+ - qcom,sc7280-aggre2-noc
then:
- required:
- - clocks
- else:
properties:
clocks: false
--
2.51.0.261.g7ce5a0a67e-goog
Powered by blists - more mailing lists