Skip to content

Commit cfe9685

Browse files
Satya Priya Kakitapalliandersson
authored andcommitted
arm64: dts: qcom: sm8150: Add video clock controller node
Add device node for video clock controller on Qualcomm SM8150 platform. Signed-off-by: Satya Priya Kakitapalli <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent e3e169c commit cfe9685

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

arch/arm64/boot/dts/qcom/sa8155p.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,7 @@
3838
*/
3939
compatible = "qcom,sa8155p-rpmhpd";
4040
};
41+
42+
&videocc {
43+
power-domains = <&rpmhpd SA8155P_CX>;
44+
};

arch/arm64/boot/dts/qcom/sm8150.dtsi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include <dt-bindings/clock/qcom,dispcc-sm8150.h>
1515
#include <dt-bindings/clock/qcom,gcc-sm8150.h>
1616
#include <dt-bindings/clock/qcom,gpucc-sm8150.h>
17+
#include <dt-bindings/clock/qcom,videocc-sm8150.h>
1718
#include <dt-bindings/interconnect/qcom,osm-l3.h>
1819
#include <dt-bindings/interconnect/qcom,sm8150.h>
1920
#include <dt-bindings/thermal/thermal.h>
@@ -3738,6 +3739,19 @@
37383739
};
37393740
};
37403741

3742+
videocc: clock-controller@ab00000 {
3743+
compatible = "qcom,sm8150-videocc";
3744+
reg = <0 0x0ab00000 0 0x10000>;
3745+
clocks = <&gcc GCC_VIDEO_AHB_CLK>,
3746+
<&rpmhcc RPMH_CXO_CLK>;
3747+
clock-names = "iface", "bi_tcxo";
3748+
power-domains = <&rpmhpd SM8150_MMCX>;
3749+
required-opps = <&rpmhpd_opp_low_svs>;
3750+
#clock-cells = <1>;
3751+
#reset-cells = <1>;
3752+
#power-domain-cells = <1>;
3753+
};
3754+
37413755
camnoc_virt: interconnect@ac00000 {
37423756
compatible = "qcom,sm8150-camnoc-virt";
37433757
reg = <0 0x0ac00000 0 0x1000>;

0 commit comments

Comments
 (0)