Skip to content

Commit 1255f23

Browse files
konradybcioGeorgi Djakov
authored andcommitted
interconnect: qcom: msm8996: Set AB/IB coefficients
Some buses and nodes 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-9-c04b60caa467@linaro.org Signed-off-by: Georgi Djakov <djakov@kernel.org>
1 parent a4a9251 commit 1255f23

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

drivers/interconnect/qcom/msm8996.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,7 @@ static struct qcom_icc_node mas_mdp_p0 = {
448448
.name = "mas_mdp_p0",
449449
.id = MSM8996_MASTER_MDP_PORT0,
450450
.buswidth = 32,
451+
.ib_coeff = 25,
451452
.mas_rpm_id = 8,
452453
.slv_rpm_id = -1,
453454
.qos.ap_owned = true,
@@ -463,6 +464,7 @@ static struct qcom_icc_node mas_mdp_p1 = {
463464
.name = "mas_mdp_p1",
464465
.id = MSM8996_MASTER_MDP_PORT1,
465466
.buswidth = 32,
467+
.ib_coeff = 25,
466468
.mas_rpm_id = 61,
467469
.slv_rpm_id = -1,
468470
.qos.ap_owned = true,
@@ -1889,7 +1891,8 @@ static const struct qcom_icc_desc msm8996_bimc = {
18891891
.nodes = bimc_nodes,
18901892
.num_nodes = ARRAY_SIZE(bimc_nodes),
18911893
.bus_clk_desc = &bimc_clk,
1892-
.regmap_cfg = &msm8996_bimc_regmap_config
1894+
.regmap_cfg = &msm8996_bimc_regmap_config,
1895+
.ab_coeff = 154,
18931896
};
18941897

18951898
static struct qcom_icc_node * const cnoc_nodes[] = {
@@ -2004,7 +2007,8 @@ static const struct qcom_icc_desc msm8996_mnoc = {
20042007
.bus_clk_desc = &mmaxi_0_clk,
20052008
.intf_clocks = mm_intf_clocks,
20062009
.num_intf_clocks = ARRAY_SIZE(mm_intf_clocks),
2007-
.regmap_cfg = &msm8996_mnoc_regmap_config
2010+
.regmap_cfg = &msm8996_mnoc_regmap_config,
2011+
.ab_coeff = 154,
20082012
};
20092013

20102014
static struct qcom_icc_node * const pnoc_nodes[] = {

0 commit comments

Comments
 (0)