[PATCH 3/3] dt-bindings: interconnect: qcom,sm6115: Restrict children and clocks
From: Krzysztof Kozlowski
Date: Sun May 03 2026 - 12:18:11 EST
Some interconnect devices described in the binding have children and
some have clocks. The devices which do not have them, should have this
restricted (disallowed).
qcom,sm6115-cnoc has a clock, thus also extend the example to be
complete for this device.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
---
.../bindings/interconnect/qcom,sm6115.yaml | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/interconnect/qcom,sm6115.yaml b/Documentation/devicetree/bindings/interconnect/qcom,sm6115.yaml
index 67c1705af50f..cdae0acf3a1d 100644
--- a/Documentation/devicetree/bindings/interconnect/qcom,sm6115.yaml
+++ b/Documentation/devicetree/bindings/interconnect/qcom,sm6115.yaml
@@ -62,23 +62,33 @@ allOf:
- if:
properties:
compatible:
- const: qcom,sm6115-cnoc
+ const: qcom,sm6115-bimc
+ then:
+ properties:
+ clocks: false
+ clock-names: false
+ patternProperties:
+ '^interconnect-[a-z0-9]+$': false
+ - if:
+ properties:
+ compatible:
+ const: qcom,sm6115-cnoc
then:
properties:
clocks:
items:
- description: USB-NoC AXI clock
-
clock-names:
items:
- const: usb_axi
+ patternProperties:
+ '^interconnect-[a-z0-9]+$': false
- if:
properties:
compatible:
const: qcom,sm6115-snoc
-
then:
properties:
clocks:
@@ -87,7 +97,6 @@ allOf:
- description: UFS-NoC AXI clock.
- description: USB-NoC AXI clock.
- description: IPA clock.
-
clock-names:
items:
- const: cpu_axi
@@ -135,4 +144,6 @@ examples:
compatible = "qcom,sm6115-cnoc";
reg = <0x01900000 0x8200>;
#interconnect-cells = <1>;
+ clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>;
+ clock-names = "usb_axi";
};
--
2.51.0