File tree Expand file tree Collapse file tree 2 files changed +36
-1
lines changed
Documentation/devicetree/bindings/clock
include/dt-bindings/clock Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Original file line number Diff line number Diff line change @@ -11,17 +11,19 @@ maintainers:
11
11
12
12
description : |
13
13
Qualcomm graphics clock control module which supports the clocks, resets and
14
- power domains on SDM845/SC7180.
14
+ power domains on SDM845/SC7180/SM8150 .
15
15
16
16
See also:
17
17
dt-bindings/clock/qcom,gpucc-sdm845.h
18
18
dt-bindings/clock/qcom,gpucc-sc7180.h
19
+ dt-bindings/clock/qcom,gpucc-sm8150.h
19
20
20
21
properties :
21
22
compatible :
22
23
enum :
23
24
- qcom,sdm845-gpucc
24
25
- qcom,sc7180-gpucc
26
+ - qcom,sm8150-gpucc
25
27
26
28
clocks :
27
29
items :
Original file line number Diff line number Diff line change
1
+ /* SPDX-License-Identifier: GPL-2.0 */
2
+ /*
3
+ * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
4
+ */
5
+
6
+ #ifndef _DT_BINDINGS_CLK_QCOM_GPU_CC_SM8150_H
7
+ #define _DT_BINDINGS_CLK_QCOM_GPU_CC_SM8150_H
8
+
9
+ /* GPU_CC clock registers */
10
+ #define GPU_CC_AHB_CLK 0
11
+ #define GPU_CC_CRC_AHB_CLK 1
12
+ #define GPU_CC_CX_APB_CLK 2
13
+ #define GPU_CC_CX_GMU_CLK 3
14
+ #define GPU_CC_CX_SNOC_DVM_CLK 4
15
+ #define GPU_CC_CXO_AON_CLK 5
16
+ #define GPU_CC_CXO_CLK 6
17
+ #define GPU_CC_GMU_CLK_SRC 7
18
+ #define GPU_CC_GX_GMU_CLK 8
19
+ #define GPU_CC_PLL1 9
20
+
21
+ /* GPU_CC Resets */
22
+ #define GPUCC_GPU_CC_CX_BCR 0
23
+ #define GPUCC_GPU_CC_GFX3D_AON_BCR 1
24
+ #define GPUCC_GPU_CC_GMU_BCR 2
25
+ #define GPUCC_GPU_CC_GX_BCR 3
26
+ #define GPUCC_GPU_CC_SPDM_BCR 4
27
+ #define GPUCC_GPU_CC_XO_BCR 5
28
+
29
+ /* GPU_CC GDSCRs */
30
+ #define GPU_CX_GDSC 0
31
+ #define GPU_GX_GDSC 1
32
+
33
+ #endif
You can’t perform that action at this time.
0 commit comments