Skip to content

Commit a4a9251

Browse files
konradybcioGeorgi Djakov
authored andcommitted
interconnect: qcom: sdm660: 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-8-c04b60caa467@linaro.org Signed-off-by: Georgi Djakov <djakov@kernel.org>
1 parent 550064a commit a4a9251

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

drivers/interconnect/qcom/sdm660.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,7 @@ static struct qcom_icc_node mas_mdp_p0 = {
602602
.name = "mas_mdp_p0",
603603
.id = SDM660_MASTER_MDP_P0,
604604
.buswidth = 16,
605+
.ib_coeff = 50,
605606
.mas_rpm_id = 8,
606607
.slv_rpm_id = -1,
607608
.qos.ap_owned = true,
@@ -621,6 +622,7 @@ static struct qcom_icc_node mas_mdp_p1 = {
621622
.name = "mas_mdp_p1",
622623
.id = SDM660_MASTER_MDP_P1,
623624
.buswidth = 16,
625+
.ib_coeff = 50,
624626
.mas_rpm_id = 61,
625627
.slv_rpm_id = -1,
626628
.qos.ap_owned = true,
@@ -1540,6 +1542,7 @@ static const struct qcom_icc_desc sdm660_bimc = {
15401542
.num_nodes = ARRAY_SIZE(sdm660_bimc_nodes),
15411543
.bus_clk_desc = &bimc_clk,
15421544
.regmap_cfg = &sdm660_bimc_regmap_config,
1545+
.ab_coeff = 153,
15431546
};
15441547

15451548
static struct qcom_icc_node * const sdm660_cnoc_nodes[] = {
@@ -1659,6 +1662,7 @@ static const struct qcom_icc_desc sdm660_mnoc = {
16591662
.intf_clocks = mm_intf_clocks,
16601663
.num_intf_clocks = ARRAY_SIZE(mm_intf_clocks),
16611664
.regmap_cfg = &sdm660_mnoc_regmap_config,
1665+
.ab_coeff = 153,
16621666
};
16631667

16641668
static struct qcom_icc_node * const sdm660_snoc_nodes[] = {

0 commit comments

Comments
 (0)