Commit e07f3b8c authored by Odelu Kukatla's avatar Odelu Kukatla Committed by Georgi Djakov
Browse files

dt-bindings: interconnect: qcom,qcs615-rpmh: add clocks property to enable QoS



Aggre1-noc interconnect node on QCS615 has QoS registers located
inside a block whose interface is clock-gated. Accessing these
registers requires the corresponding clock(s) to be enabled.
Update the bindings to include the 'clocks' property.

Ensure that only aggre1-noc interconnect node uses this property
by explicitly forbidding it for all other interconnect nodes.

Signed-off-by: default avatarOdelu Kukatla <odelu.kukatla@oss.qualcomm.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://msgid.link/20260311103548.1823044-2-odelu.kukatla@oss.qualcomm.com


Signed-off-by: default avatarGeorgi Djakov <djakov@kernel.org>
parent 6de23f81
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
@@ -34,6 +34,13 @@ properties:
  reg:
    maxItems: 1

  clocks:
    items:
      - description: aggre UFS PHY AXI clock
      - description: aggre USB2 SEC AXI clock
      - description: aggre USB3 PRIM AXI clock
      - description: RPMH CC IPA clock

required:
  - compatible

@@ -53,6 +60,22 @@ allOf:
      required:
        - reg

  - if:
      properties:
        compatible:
          contains:
            enum:
              - qcom,qcs615-camnoc-virt
              - qcom,qcs615-config-noc
              - qcom,qcs615-dc-noc
              - qcom,qcs615-gem-noc
              - qcom,qcs615-mc-virt
              - qcom,qcs615-mmss-noc
              - qcom,qcs615-system-noc
    then:
      properties:
        clocks: false

unevaluatedProperties: false

examples: