public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] dt-bindings: interconnect: qcom,sdm660: Disallow clocks when appropriate
@ 2026-05-03 16:16 Krzysztof Kozlowski
  2026-05-03 16:16 ` [PATCH 2/3] dt-bindings: interconnect: qcom,sm6115: Drop incorrect children if:then: block Krzysztof Kozlowski
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2026-05-03 16:16 UTC (permalink / raw)
  To: Georgi Djakov, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Konrad Dybcio, linux-arm-msm, linux-pm, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski

Only qcom,sdm660-mnoc and qcom,sdm660-a2noc devices from what is covered
by this binding have clocks.  Others do not, so restrict the schema to
be more accurate.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
 .../bindings/interconnect/qcom,sdm660.yaml          | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/Documentation/devicetree/bindings/interconnect/qcom,sdm660.yaml b/Documentation/devicetree/bindings/interconnect/qcom,sdm660.yaml
index 8f6bc6399626..51428a2b0ce0 100644
--- a/Documentation/devicetree/bindings/interconnect/qcom,sdm660.yaml
+++ b/Documentation/devicetree/bindings/interconnect/qcom,sdm660.yaml
@@ -79,6 +79,19 @@ allOf:
             - const: aggre2_usb3_axi
             - const: cfg_noc_usb2_axi
 
+  - if:
+      properties:
+        compatible:
+          enum:
+            - qcom,sdm660-bimc
+            - qcom,sdm660-cnoc
+            - qcom,sdm660-gnoc
+            - qcom,sdm660-snoc
+    then:
+      properties:
+        clocks: false
+        clock-names: false
+
 examples:
   - |
     #include <dt-bindings/clock/qcom,gcc-sdm660.h>
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-05-04  8:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-03 16:16 [PATCH 1/3] dt-bindings: interconnect: qcom,sdm660: Disallow clocks when appropriate Krzysztof Kozlowski
2026-05-03 16:16 ` [PATCH 2/3] dt-bindings: interconnect: qcom,sm6115: Drop incorrect children if:then: block Krzysztof Kozlowski
2026-05-04  7:57   ` Konrad Dybcio
2026-05-03 16:16 ` [PATCH 3/3] dt-bindings: interconnect: qcom,sm6115: Restrict children and clocks Krzysztof Kozlowski
2026-05-04  8:00   ` Konrad Dybcio
2026-05-04  7:53 ` [PATCH 1/3] dt-bindings: interconnect: qcom,sdm660: Disallow clocks when appropriate Konrad Dybcio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox