@@ -1266,6 +1266,72 @@ static struct clk_branch gcc_bimc_mss_q6_axi_clk = {
1266
1266
},
1267
1267
};
1268
1268
1269
+ static struct clk_branch gcc_mss_cfg_ahb_clk = {
1270
+ .halt_reg = 0x8a000 ,
1271
+ .halt_check = BRANCH_HALT ,
1272
+ .clkr = {
1273
+ .enable_reg = 0x8a000 ,
1274
+ .enable_mask = BIT (0 ),
1275
+ .hw .init = & (struct clk_init_data ){
1276
+ .name = "gcc_mss_cfg_ahb_clk" ,
1277
+ .ops = & clk_branch2_ops ,
1278
+ },
1279
+ },
1280
+ };
1281
+
1282
+ static struct clk_branch gcc_mss_snoc_axi_clk = {
1283
+ .halt_reg = 0x8a03c ,
1284
+ .halt_check = BRANCH_HALT ,
1285
+ .clkr = {
1286
+ .enable_reg = 0x8a03c ,
1287
+ .enable_mask = BIT (0 ),
1288
+ .hw .init = & (struct clk_init_data ){
1289
+ .name = "gcc_mss_snoc_axi_clk" ,
1290
+ .ops = & clk_branch2_ops ,
1291
+ },
1292
+ },
1293
+ };
1294
+
1295
+ static struct clk_branch gcc_mss_mnoc_bimc_axi_clk = {
1296
+ .halt_reg = 0x8a004 ,
1297
+ .halt_check = BRANCH_HALT ,
1298
+ .clkr = {
1299
+ .enable_reg = 0x8a004 ,
1300
+ .enable_mask = BIT (0 ),
1301
+ .hw .init = & (struct clk_init_data ){
1302
+ .name = "gcc_mss_mnoc_bimc_axi_clk" ,
1303
+ .ops = & clk_branch2_ops ,
1304
+ },
1305
+ },
1306
+ };
1307
+
1308
+ static struct clk_branch gcc_boot_rom_ahb_clk = {
1309
+ .halt_reg = 0x38004 ,
1310
+ .halt_check = BRANCH_HALT_VOTED ,
1311
+ .hwcg_reg = 0x38004 ,
1312
+ .hwcg_bit = 1 ,
1313
+ .clkr = {
1314
+ .enable_reg = 0x52004 ,
1315
+ .enable_mask = BIT (10 ),
1316
+ .hw .init = & (struct clk_init_data ){
1317
+ .name = "gcc_boot_rom_ahb_clk" ,
1318
+ .ops = & clk_branch2_ops ,
1319
+ },
1320
+ },
1321
+ };
1322
+
1323
+ static struct clk_branch gcc_mss_gpll0_div_clk_src = {
1324
+ .halt_check = BRANCH_HALT_DELAY ,
1325
+ .clkr = {
1326
+ .enable_reg = 0x5200c ,
1327
+ .enable_mask = BIT (2 ),
1328
+ .hw .init = & (struct clk_init_data ){
1329
+ .name = "gcc_mss_gpll0_div_clk_src" ,
1330
+ .ops = & clk_branch2_ops ,
1331
+ },
1332
+ },
1333
+ };
1334
+
1269
1335
static struct clk_branch gcc_blsp1_ahb_clk = {
1270
1336
.halt_reg = 0x17004 ,
1271
1337
.halt_check = BRANCH_HALT_VOTED ,
@@ -2832,6 +2898,11 @@ static struct clk_regmap *gcc_msm8998_clocks[] = {
2832
2898
[GCC_USB3_CLKREF_CLK ] = & gcc_usb3_clkref_clk .clkr ,
2833
2899
[GCC_PCIE_CLKREF_CLK ] = & gcc_pcie_clkref_clk .clkr ,
2834
2900
[GCC_RX1_USB2_CLKREF_CLK ] = & gcc_rx1_usb2_clkref_clk .clkr ,
2901
+ [GCC_MSS_CFG_AHB_CLK ] = & gcc_mss_cfg_ahb_clk .clkr ,
2902
+ [GCC_BOOT_ROM_AHB_CLK ] = & gcc_boot_rom_ahb_clk .clkr ,
2903
+ [GCC_MSS_GPLL0_DIV_CLK_SRC ] = & gcc_mss_gpll0_div_clk_src .clkr ,
2904
+ [GCC_MSS_SNOC_AXI_CLK ] = & gcc_mss_snoc_axi_clk .clkr ,
2905
+ [GCC_MSS_MNOC_BIMC_AXI_CLK ] = & gcc_mss_mnoc_bimc_axi_clk .clkr ,
2835
2906
};
2836
2907
2837
2908
static struct gdsc * gcc_msm8998_gdscs [] = {
@@ -2928,6 +2999,7 @@ static const struct qcom_reset_map gcc_msm8998_resets[] = {
2928
2999
[GCC_GPU_BCR ] = { 0x71000 },
2929
3000
[GCC_SPSS_BCR ] = { 0x72000 },
2930
3001
[GCC_OBT_ODT_BCR ] = { 0x73000 },
3002
+ [GCC_MSS_RESTART ] = { 0x79000 },
2931
3003
[GCC_VS_BCR ] = { 0x7a000 },
2932
3004
[GCC_MSS_VS_RESET ] = { 0x7a100 },
2933
3005
[GCC_GPU_VS_RESET ] = { 0x7a104 },
0 commit comments