Commit 8657ed47 authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Georgi Djakov

interconnect: qcom: qcm2290: Set AB coefficients

Some buses need additional manual adjustments atop the usual
calculations. Fill in the missing coefficients.
Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230726-topic-icc_coeff-v4-6-c04b60caa467@linaro.orgSigned-off-by: default avatarGeorgi Djakov <djakov@kernel.org>
parent fa35757a
...@@ -1202,6 +1202,7 @@ static const struct qcom_icc_desc qcm2290_bimc = { ...@@ -1202,6 +1202,7 @@ static const struct qcom_icc_desc qcm2290_bimc = {
.keep_alive = true, .keep_alive = true,
/* M_REG_BASE() in vendor msm_bus_bimc_adhoc driver */ /* M_REG_BASE() in vendor msm_bus_bimc_adhoc driver */
.qos_offset = 0x8000, .qos_offset = 0x8000,
.ab_coeff = 153,
}; };
static struct qcom_icc_node * const qcm2290_cnoc_nodes[] = { static struct qcom_icc_node * const qcm2290_cnoc_nodes[] = {
...@@ -1332,6 +1333,7 @@ static const struct qcom_icc_desc qcm2290_mmnrt_virt = { ...@@ -1332,6 +1333,7 @@ static const struct qcom_icc_desc qcm2290_mmnrt_virt = {
.regmap_cfg = &qcm2290_snoc_regmap_config, .regmap_cfg = &qcm2290_snoc_regmap_config,
.keep_alive = true, .keep_alive = true,
.qos_offset = 0x15000, .qos_offset = 0x15000,
.ab_coeff = 142,
}; };
static struct qcom_icc_node * const qcm2290_mmrt_virt_nodes[] = { static struct qcom_icc_node * const qcm2290_mmrt_virt_nodes[] = {
...@@ -1348,6 +1350,7 @@ static const struct qcom_icc_desc qcm2290_mmrt_virt = { ...@@ -1348,6 +1350,7 @@ static const struct qcom_icc_desc qcm2290_mmrt_virt = {
.regmap_cfg = &qcm2290_snoc_regmap_config, .regmap_cfg = &qcm2290_snoc_regmap_config,
.keep_alive = true, .keep_alive = true,
.qos_offset = 0x15000, .qos_offset = 0x15000,
.ab_coeff = 139,
}; };
static const struct of_device_id qcm2290_noc_of_match[] = { static const struct of_device_id qcm2290_noc_of_match[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment