File tree Expand file tree Collapse file tree 2 files changed +47
-0
lines changed
Documentation/devicetree/bindings/clock
include/dt-bindings/clock Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ description: |
1414 domains on Qualcomm SoCs.
1515
1616 See also::
17+ include/dt-bindings/clock/qcom,sm6350-videocc.h
1718 include/dt-bindings/clock/qcom,videocc-sc7180.h
1819 include/dt-bindings/clock/qcom,videocc-sc7280.h
1920 include/dt-bindings/clock/qcom,videocc-sdm845.h
@@ -26,6 +27,7 @@ properties:
2627 - qcom,sc7180-videocc
2728 - qcom,sc7280-videocc
2829 - qcom,sdm845-videocc
30+ - qcom,sm6350-videocc
2931 - qcom,sm8150-videocc
3032 - qcom,sm8250-videocc
3133
@@ -87,6 +89,24 @@ allOf:
8789 - const : bi_tcxo
8890 - const : bi_tcxo_ao
8991
92+ - if :
93+ properties :
94+ compatible :
95+ enum :
96+ - qcom,sm6350-videocc
97+ then :
98+ properties :
99+ clocks :
100+ items :
101+ - description : Video AHB clock from GCC
102+ - description : Board XO source
103+ - description : Sleep Clock source
104+ clock-names :
105+ items :
106+ - const : iface
107+ - const : bi_tcxo
108+ - const : sleep_clk
109+
90110 - if :
91111 properties :
92112 compatible :
Original file line number Diff line number Diff line change 1+ /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2+ /*
3+ * Copyright (c) 2021, The Linux Foundation. All rights reserved.
4+ * Copyright (c) 2021, Konrad Dybcio <konrad.dybcio@somainline.org>
5+ */
6+
7+ #ifndef _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM6350_H
8+ #define _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM6350_H
9+
10+ /* VIDEO_CC clocks */
11+ #define VIDEO_PLL0 0
12+ #define VIDEO_PLL0_OUT_EVEN 1
13+ #define VIDEO_CC_IRIS_AHB_CLK 2
14+ #define VIDEO_CC_IRIS_CLK_SRC 3
15+ #define VIDEO_CC_MVS0_AXI_CLK 4
16+ #define VIDEO_CC_MVS0_CORE_CLK 5
17+ #define VIDEO_CC_MVSC_CORE_CLK 6
18+ #define VIDEO_CC_MVSC_CTL_AXI_CLK 7
19+ #define VIDEO_CC_SLEEP_CLK 8
20+ #define VIDEO_CC_SLEEP_CLK_SRC 9
21+ #define VIDEO_CC_VENUS_AHB_CLK 10
22+
23+ /* GDSCs */
24+ #define MVSC_GDSC 0
25+ #define MVS0_GDSC 1
26+
27+ #endif
You can’t perform that action at this time.
0 commit comments