Skip to content

Commit 8657ed4

Browse files
konradybcioGeorgi Djakov
authored andcommitted
interconnect: qcom: qcm2290: Set AB coefficients
Some buses need additional manual adjustments atop the usual calculations. Fill in the missing coefficients. Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20230726-topic-icc_coeff-v4-6-c04b60caa467@linaro.org Signed-off-by: Georgi Djakov <djakov@kernel.org>
1 parent fa35757 commit 8657ed4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/interconnect/qcom/qcm2290.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,6 +1202,7 @@ static const struct qcom_icc_desc qcm2290_bimc = {
12021202
.keep_alive = true,
12031203
/* M_REG_BASE() in vendor msm_bus_bimc_adhoc driver */
12041204
.qos_offset = 0x8000,
1205+
.ab_coeff = 153,
12051206
};
12061207

12071208
static struct qcom_icc_node * const qcm2290_cnoc_nodes[] = {
@@ -1332,6 +1333,7 @@ static const struct qcom_icc_desc qcm2290_mmnrt_virt = {
13321333
.regmap_cfg = &qcm2290_snoc_regmap_config,
13331334
.keep_alive = true,
13341335
.qos_offset = 0x15000,
1336+
.ab_coeff = 142,
13351337
};
13361338

13371339
static struct qcom_icc_node * const qcm2290_mmrt_virt_nodes[] = {
@@ -1348,6 +1350,7 @@ static const struct qcom_icc_desc qcm2290_mmrt_virt = {
13481350
.regmap_cfg = &qcm2290_snoc_regmap_config,
13491351
.keep_alive = true,
13501352
.qos_offset = 0x15000,
1353+
.ab_coeff = 139,
13511354
};
13521355

13531356
static const struct of_device_id qcm2290_noc_of_match[] = {

0 commit comments

Comments
 (0)