]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: ipq9574: Add icc provider ability to gcc
authorVaradarajan Narayanan <quic_varada@quicinc.com>
Tue, 30 Apr 2024 06:42:14 +0000 (12:12 +0530)
committerBjorn Andersson <andersson@kernel.org>
Sat, 6 Jul 2024 18:17:08 +0000 (13:17 -0500)
IPQ SoCs dont involve RPM in managing NoC related clocks and
there is no NoC scaling. Linux itself handles these clocks.
However, these should not be exposed as just clocks and align
with other Qualcomm SoCs that handle these clocks from a
interconnect provider.

Hence include icc provider capability to the gcc node so that
peripherals can use the interconnect facility to enable these
clocks.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Varadarajan Narayanan <quic_varada@quicinc.com>
Link: https://lore.kernel.org/r/20240430064214.2030013-7-quic_varada@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/ipq9574.dtsi

index 04ba09a9156ceae86ae65fd40b87737f6c8319cc..48dfafea46a74783a1fd0b91766658f4e663c9f7 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <dt-bindings/clock/qcom,apss-ipq.h>
 #include <dt-bindings/clock/qcom,ipq9574-gcc.h>
+#include <dt-bindings/interconnect/qcom,ipq9574.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/reset/qcom,ipq9574-gcc.h>
 #include <dt-bindings/thermal/thermal.h>
                                 <0>;
                        #clock-cells = <1>;
                        #reset-cells = <1>;
+                       #interconnect-cells = <1>;
                };
 
                tcsr_mutex: hwlock@1905000 {