@@ -130,6 +130,50 @@ static const struct llcc_slice_config sc7280_data[] = {
130
130
{ LLCC_MODPE , 29 , 64 , 1 , 1 , 0x3f , 0x0 , 0 , 0 , 0 , 1 , 0 , 0 },
131
131
};
132
132
133
+ static const struct llcc_slice_config sc8180x_data [] = {
134
+ { LLCC_CPUSS , 1 , 6144 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 1 },
135
+ { LLCC_VIDSC0 , 2 , 512 , 2 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 0 },
136
+ { LLCC_VIDSC1 , 3 , 512 , 2 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 0 },
137
+ { LLCC_AUDIO , 6 , 1024 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 0 },
138
+ { LLCC_MDMHPGRW , 7 , 3072 , 1 , 1 , 0x3ff , 0xc00 , 0 , 0 , 0 , 1 , 0 },
139
+ { LLCC_MDM , 8 , 3072 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 0 },
140
+ { LLCC_MODHW , 9 , 1024 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 0 },
141
+ { LLCC_CMPT , 10 , 6144 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 0 },
142
+ { LLCC_GPUHTW , 11 , 1024 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 0 },
143
+ { LLCC_GPU , 12 , 5120 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 0 },
144
+ { LLCC_MMUHWT , 13 , 1024 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 0 , 1 },
145
+ { LLCC_CMPTDMA , 15 , 6144 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 0 },
146
+ { LLCC_DISP , 16 , 6144 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 0 },
147
+ { LLCC_VIDFW , 17 , 1024 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 0 },
148
+ { LLCC_MDMHPFX , 20 , 1024 , 2 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 0 },
149
+ { LLCC_MDMPNG , 21 , 1024 , 0 , 1 , 0xc , 0x0 , 0 , 0 , 0 , 1 , 0 },
150
+ { LLCC_AUDHW , 22 , 1024 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 0 },
151
+ { LLCC_NPU , 23 , 6144 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 0 },
152
+ { LLCC_WLHW , 24 , 6144 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 0 },
153
+ { LLCC_MODPE , 29 , 512 , 1 , 1 , 0xc , 0x0 , 0 , 0 , 0 , 1 , 0 },
154
+ { LLCC_APTCM , 30 , 512 , 3 , 1 , 0x0 , 0x1 , 1 , 0 , 0 , 1 , 0 },
155
+ { LLCC_WRCACHE , 31 , 128 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 0 , 0 },
156
+ };
157
+
158
+ static const struct llcc_slice_config sc8280xp_data [] = {
159
+ { LLCC_CPUSS , 1 , 6144 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 1 , 0 },
160
+ { LLCC_VIDSC0 , 2 , 512 , 3 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 0 , 0 },
161
+ { LLCC_AUDIO , 6 , 1024 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 0 , 0 , 0 },
162
+ { LLCC_CMPT , 10 , 6144 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 0 , 0 , 0 },
163
+ { LLCC_GPUHTW , 11 , 1024 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 0 , 0 },
164
+ { LLCC_GPU , 12 , 4096 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 0 , 1 },
165
+ { LLCC_MMUHWT , 13 , 1024 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 0 , 1 , 0 },
166
+ { LLCC_DISP , 16 , 6144 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 0 , 0 },
167
+ { LLCC_AUDHW , 22 , 2048 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 0 , 0 },
168
+ { LLCC_DRE , 26 , 1024 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 0 , 0 },
169
+ { LLCC_CVP , 28 , 512 , 3 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 0 , 0 },
170
+ { LLCC_APTCM , 30 , 1024 , 3 , 1 , 0x0 , 0x1 , 1 , 0 , 0 , 1 , 0 , 0 },
171
+ { LLCC_WRCACHE , 31 , 1024 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 0 , 1 , 0 },
172
+ { LLCC_CVPFW , 32 , 512 , 1 , 0 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 0 , 0 },
173
+ { LLCC_CPUSS1 , 33 , 2048 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 1 , 0 , 0 },
174
+ { LLCC_CPUHWT , 36 , 512 , 1 , 1 , 0xfff , 0x0 , 0 , 0 , 0 , 0 , 1 , 0 },
175
+ };
176
+
133
177
static const struct llcc_slice_config sdm845_data [] = {
134
178
{ LLCC_CPUSS , 1 , 2816 , 1 , 0 , 0xffc , 0x2 , 0 , 0 , 1 , 1 , 1 },
135
179
{ LLCC_VIDSC0 , 2 , 512 , 2 , 1 , 0x0 , 0x0f0 , 0 , 0 , 1 , 1 , 0 },
@@ -276,6 +320,20 @@ static const struct qcom_llcc_config sc7280_cfg = {
276
320
.reg_offset = llcc_v1_2_reg_offset ,
277
321
};
278
322
323
+ static const struct qcom_llcc_config sc8180x_cfg = {
324
+ .sct_data = sc8180x_data ,
325
+ .size = ARRAY_SIZE (sc8180x_data ),
326
+ .need_llcc_cfg = true,
327
+ .reg_offset = llcc_v1_2_reg_offset ,
328
+ };
329
+
330
+ static const struct qcom_llcc_config sc8280xp_cfg = {
331
+ .sct_data = sc8280xp_data ,
332
+ .size = ARRAY_SIZE (sc8280xp_data ),
333
+ .need_llcc_cfg = true,
334
+ .reg_offset = llcc_v1_2_reg_offset ,
335
+ };
336
+
279
337
static const struct qcom_llcc_config sdm845_cfg = {
280
338
.sct_data = sdm845_data ,
281
339
.size = ARRAY_SIZE (sdm845_data ),
@@ -741,6 +799,8 @@ static int qcom_llcc_probe(struct platform_device *pdev)
741
799
static const struct of_device_id qcom_llcc_of_match [] = {
742
800
{ .compatible = "qcom,sc7180-llcc" , .data = & sc7180_cfg },
743
801
{ .compatible = "qcom,sc7280-llcc" , .data = & sc7280_cfg },
802
+ { .compatible = "qcom,sc8180x-llcc" , .data = & sc8180x_cfg },
803
+ { .compatible = "qcom,sc8280xp-llcc" , .data = & sc8280xp_cfg },
744
804
{ .compatible = "qcom,sdm845-llcc" , .data = & sdm845_cfg },
745
805
{ .compatible = "qcom,sm6350-llcc" , .data = & sm6350_cfg },
746
806
{ .compatible = "qcom,sm8150-llcc" , .data = & sm8150_cfg },
0 commit comments