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: |
14
14
domains on Qualcomm SoCs.
15
15
16
16
See also::
17
+ include/dt-bindings/clock/qcom,sm6350-videocc.h
17
18
include/dt-bindings/clock/qcom,videocc-sc7180.h
18
19
include/dt-bindings/clock/qcom,videocc-sc7280.h
19
20
include/dt-bindings/clock/qcom,videocc-sdm845.h
@@ -26,6 +27,7 @@ properties:
26
27
- qcom,sc7180-videocc
27
28
- qcom,sc7280-videocc
28
29
- qcom,sdm845-videocc
30
+ - qcom,sm6350-videocc
29
31
- qcom,sm8150-videocc
30
32
- qcom,sm8250-videocc
31
33
@@ -87,6 +89,24 @@ allOf:
87
89
- const : bi_tcxo
88
90
- const : bi_tcxo_ao
89
91
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
+
90
110
- if :
91
111
properties :
92
112
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