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

Some interconnect nodes on X1E80100 have QoS registers located inside
a block whose interface is clock-gated. For those nodes, driver
must enable the corresponding clock(s) before accessing the
registers. Add the 'clocks' property so the driver can obtain
and enable the required clock(s).

Only interconnects that have clock-gated QoS register interface
use this property; it is not applicable to all interconnect nodes.

Signed-off-by: Raviteja Laggyshetty <raviteja.laggyshetty@oss.qualcomm.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260527-x1e80100_qos-v2-1-305c6539e6d2@oss.qualcomm.com
Signed-off-by: Georgi Djakov <djakov@kernel.org>
This commit is contained in:
Raviteja Laggyshetty 2026-05-27 05:37:09 +00:00 committed by Georgi Djakov
parent dc59e4fea9
commit b09a9fc466

View File

@ -46,6 +46,10 @@ properties:
reg:
maxItems: 1
clocks:
minItems: 1
maxItems: 6
required:
- compatible
@ -65,6 +69,73 @@ allOf:
required:
- reg
- if:
properties:
compatible:
contains:
enum:
- qcom,x1e80100-aggre1-noc
then:
properties:
clocks:
items:
- description: aggre UFS PHY AXI clock
- if:
properties:
compatible:
contains:
enum:
- qcom,x1e80100-usb-north-anoc
then:
properties:
clocks:
items:
- description: aggre USB2 PRIM AXI clock
- description: aggre USB3 MP AXI clock
- if:
properties:
compatible:
contains:
enum:
- qcom,x1e80100-usb-south-anoc
then:
properties:
clocks:
items:
- description: aggre USB3 PRIM AXI clock
- description: aggre USB3 SEC AXI clock
- description: aggre USB3 TERT AXI clock
- description: aggre USB4_0 AXI clock
- description: aggre USB4_1 AXI clock
- description: aggre USB4_2 AXI clock
- if:
properties:
compatible:
contains:
enum:
- qcom,x1e80100-aggre2-noc
- qcom,x1e80100-clk-virt
- qcom,x1e80100-cnoc-cfg
- qcom,x1e80100-cnoc-main
- qcom,x1e80100-gem-noc
- qcom,x1e80100-lpass-ag-noc
- qcom,x1e80100-lpass-lpiaon-noc
- qcom,x1e80100-lpass-lpicx-noc
- qcom,x1e80100-mc-virt
- qcom,x1e80100-mmss-noc
- qcom,x1e80100-nsp-noc
- qcom,x1e80100-pcie-center-anoc
- qcom,x1e80100-pcie-north-anoc
- qcom,x1e80100-pcie-south-anoc
- qcom,x1e80100-system-noc
- qcom,x1e80100-usb-center-anoc
then:
properties:
clocks: false
unevaluatedProperties: false
examples:
@ -80,4 +151,5 @@ examples:
reg = <0x016e0000 0x14400>;
#interconnect-cells = <2>;
qcom,bcm-voters = <&apps_bcm_voter>;
clocks = <&gcc_aggre_ufs_phy_axi_clk>;
};