hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/include/dt-bindings/clock/qcom,gcc-msm8998.h
....@@ -1,14 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2016, The Linux Foundation. All rights reserved.
3
- *
4
- * This software is licensed under the terms of the GNU General Public
5
- * License version 2, as published by the Free Software Foundation, and
6
- * may be copied, distributed, and modified under those terms.
7
- *
8
- * This program is distributed in the hope that it will be useful,
9
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
10
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
- * GNU General Public License for more details.
124 */
135
146 #ifndef _DT_BINDINGS_CLK_MSM_GCC_COBALT_H
....@@ -180,6 +172,18 @@
180172 #define USB30_MASTER_CLK_SRC 163
181173 #define USB30_MOCK_UTMI_CLK_SRC 164
182174 #define USB3_PHY_AUX_CLK_SRC 165
175
+#define GCC_USB3_CLKREF_CLK 166
176
+#define GCC_HDMI_CLKREF_CLK 167
177
+#define GCC_UFS_CLKREF_CLK 168
178
+#define GCC_PCIE_CLKREF_CLK 169
179
+#define GCC_RX1_USB2_CLKREF_CLK 170
180
+#define GCC_MSS_CFG_AHB_CLK 171
181
+#define GCC_BOOT_ROM_AHB_CLK 172
182
+#define GCC_MSS_GPLL0_DIV_CLK_SRC 173
183
+#define GCC_MSS_SNOC_AXI_CLK 174
184
+#define GCC_MSS_MNOC_BIMC_AXI_CLK 175
185
+#define GCC_BIMC_GFX_CLK 176
186
+#define UFS_UNIPRO_CORE_CLK_SRC 177
183187
184188 #define PCIE_0_GDSC 0
185189 #define UFS_GDSC 1
....@@ -204,5 +208,95 @@
204208 #define GCC_TSIF_BCR 16
205209 #define GCC_UFS_BCR 17
206210 #define GCC_USB_30_BCR 18
211
+#define GCC_SYSTEM_NOC_BCR 19
212
+#define GCC_CONFIG_NOC_BCR 20
213
+#define GCC_AHB2PHY_EAST_BCR 21
214
+#define GCC_IMEM_BCR 22
215
+#define GCC_PIMEM_BCR 23
216
+#define GCC_MMSS_BCR 24
217
+#define GCC_QDSS_BCR 25
218
+#define GCC_WCSS_BCR 26
219
+#define GCC_BLSP1_BCR 27
220
+#define GCC_BLSP1_UART1_BCR 28
221
+#define GCC_BLSP1_UART2_BCR 29
222
+#define GCC_BLSP1_UART3_BCR 30
223
+#define GCC_CM_PHY_REFGEN1_BCR 31
224
+#define GCC_CM_PHY_REFGEN2_BCR 32
225
+#define GCC_BLSP2_BCR 33
226
+#define GCC_BLSP2_UART1_BCR 34
227
+#define GCC_BLSP2_UART2_BCR 35
228
+#define GCC_BLSP2_UART3_BCR 36
229
+#define GCC_SRAM_SENSOR_BCR 37
230
+#define GCC_PRNG_BCR 38
231
+#define GCC_TSIF_0_RESET 39
232
+#define GCC_TSIF_1_RESET 40
233
+#define GCC_TCSR_BCR 41
234
+#define GCC_BOOT_ROM_BCR 42
235
+#define GCC_MSG_RAM_BCR 43
236
+#define GCC_TLMM_BCR 44
237
+#define GCC_MPM_BCR 45
238
+#define GCC_SEC_CTRL_BCR 46
239
+#define GCC_SPMI_BCR 47
240
+#define GCC_SPDM_BCR 48
241
+#define GCC_CE1_BCR 49
242
+#define GCC_BIMC_BCR 50
243
+#define GCC_SNOC_BUS_TIMEOUT0_BCR 51
244
+#define GCC_SNOC_BUS_TIMEOUT1_BCR 52
245
+#define GCC_SNOC_BUS_TIMEOUT3_BCR 53
246
+#define GCC_SNOC_BUS_TIMEOUT_EXTREF_BCR 54
247
+#define GCC_PNOC_BUS_TIMEOUT0_BCR 55
248
+#define GCC_CNOC_PERIPH_BUS_TIMEOUT1_BCR 56
249
+#define GCC_CNOC_PERIPH_BUS_TIMEOUT2_BCR 57
250
+#define GCC_CNOC_BUS_TIMEOUT0_BCR 58
251
+#define GCC_CNOC_BUS_TIMEOUT1_BCR 59
252
+#define GCC_CNOC_BUS_TIMEOUT2_BCR 60
253
+#define GCC_CNOC_BUS_TIMEOUT3_BCR 61
254
+#define GCC_CNOC_BUS_TIMEOUT4_BCR 62
255
+#define GCC_CNOC_BUS_TIMEOUT5_BCR 63
256
+#define GCC_CNOC_BUS_TIMEOUT6_BCR 64
257
+#define GCC_CNOC_BUS_TIMEOUT7_BCR 65
258
+#define GCC_APB2JTAG_BCR 66
259
+#define GCC_RBCPR_CX_BCR 67
260
+#define GCC_RBCPR_MX_BCR 68
261
+#define GCC_USB3_PHY_BCR 69
262
+#define GCC_USB3PHY_PHY_BCR 70
263
+#define GCC_USB3_DP_PHY_BCR 71
264
+#define GCC_SSC_BCR 72
265
+#define GCC_SSC_RESET 73
266
+#define GCC_USB_PHY_CFG_AHB2PHY_BCR 74
267
+#define GCC_PCIE_0_LINK_DOWN_BCR 75
268
+#define GCC_PCIE_0_PHY_BCR 76
269
+#define GCC_PCIE_0_NOCSR_COM_PHY_BCR 77
270
+#define GCC_PCIE_PHY_BCR 78
271
+#define GCC_PCIE_PHY_NOCSR_COM_PHY_BCR 79
272
+#define GCC_PCIE_PHY_CFG_AHB_BCR 80
273
+#define GCC_PCIE_PHY_COM_BCR 81
274
+#define GCC_GPU_BCR 82
275
+#define GCC_SPSS_BCR 83
276
+#define GCC_OBT_ODT_BCR 84
277
+#define GCC_VS_BCR 85
278
+#define GCC_MSS_VS_RESET 86
279
+#define GCC_GPU_VS_RESET 87
280
+#define GCC_APC0_VS_RESET 88
281
+#define GCC_APC1_VS_RESET 89
282
+#define GCC_CNOC_BUS_TIMEOUT8_BCR 90
283
+#define GCC_CNOC_BUS_TIMEOUT9_BCR 91
284
+#define GCC_CNOC_BUS_TIMEOUT10_BCR 92
285
+#define GCC_CNOC_BUS_TIMEOUT11_BCR 93
286
+#define GCC_CNOC_BUS_TIMEOUT12_BCR 94
287
+#define GCC_CNOC_BUS_TIMEOUT13_BCR 95
288
+#define GCC_CNOC_BUS_TIMEOUT14_BCR 96
289
+#define GCC_CNOC_BUS_TIMEOUT_EXTREF_BCR 97
290
+#define GCC_AGGRE1_NOC_BCR 98
291
+#define GCC_AGGRE2_NOC_BCR 99
292
+#define GCC_DCC_BCR 100
293
+#define GCC_QREFS_VBG_CAL_BCR 101
294
+#define GCC_IPA_BCR 102
295
+#define GCC_GLM_BCR 103
296
+#define GCC_SKL_BCR 104
297
+#define GCC_MSMPU_BCR 105
298
+#define GCC_QUSB2PHY_PRIM_BCR 106
299
+#define GCC_QUSB2PHY_SEC_BCR 107
300
+#define GCC_MSS_RESTART 108
207301
208302 #endif