Commit 9d0a282c authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson

interconnect: qcom: qcm2290: Hook up RPM bus clk definitions

Assign the necessary definitions to migrate to the new bus clock
handling mechanism.
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Acked-by: default avatarGeorgi Djakov <djakov@kernel.org>
Link: https://lore.kernel.org/r/20230526-topic-smd_icc-v7-16-09c78c175546@linaro.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 6424985e
...@@ -1195,6 +1195,7 @@ static const struct qcom_icc_desc qcm2290_bimc = { ...@@ -1195,6 +1195,7 @@ static const struct qcom_icc_desc qcm2290_bimc = {
.type = QCOM_ICC_BIMC, .type = QCOM_ICC_BIMC,
.nodes = qcm2290_bimc_nodes, .nodes = qcm2290_bimc_nodes,
.num_nodes = ARRAY_SIZE(qcm2290_bimc_nodes), .num_nodes = ARRAY_SIZE(qcm2290_bimc_nodes),
.bus_clk_desc = &bimc_clk,
.regmap_cfg = &qcm2290_bimc_regmap_config, .regmap_cfg = &qcm2290_bimc_regmap_config,
/* 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,
...@@ -1250,6 +1251,7 @@ static const struct qcom_icc_desc qcm2290_cnoc = { ...@@ -1250,6 +1251,7 @@ static const struct qcom_icc_desc qcm2290_cnoc = {
.type = QCOM_ICC_NOC, .type = QCOM_ICC_NOC,
.nodes = qcm2290_cnoc_nodes, .nodes = qcm2290_cnoc_nodes,
.num_nodes = ARRAY_SIZE(qcm2290_cnoc_nodes), .num_nodes = ARRAY_SIZE(qcm2290_cnoc_nodes),
.bus_clk_desc = &bus_1_clk,
.regmap_cfg = &qcm2290_cnoc_regmap_config, .regmap_cfg = &qcm2290_cnoc_regmap_config,
}; };
...@@ -1291,6 +1293,7 @@ static const struct qcom_icc_desc qcm2290_snoc = { ...@@ -1291,6 +1293,7 @@ static const struct qcom_icc_desc qcm2290_snoc = {
.type = QCOM_ICC_QNOC, .type = QCOM_ICC_QNOC,
.nodes = qcm2290_snoc_nodes, .nodes = qcm2290_snoc_nodes,
.num_nodes = ARRAY_SIZE(qcm2290_snoc_nodes), .num_nodes = ARRAY_SIZE(qcm2290_snoc_nodes),
.bus_clk_desc = &bus_2_clk,
.regmap_cfg = &qcm2290_snoc_regmap_config, .regmap_cfg = &qcm2290_snoc_regmap_config,
/* Vendor DT node fab-sys_noc property 'qcom,base-offset' */ /* Vendor DT node fab-sys_noc property 'qcom,base-offset' */
.qos_offset = 0x15000, .qos_offset = 0x15000,
...@@ -1305,6 +1308,7 @@ static const struct qcom_icc_desc qcm2290_qup_virt = { ...@@ -1305,6 +1308,7 @@ static const struct qcom_icc_desc qcm2290_qup_virt = {
.type = QCOM_ICC_QNOC, .type = QCOM_ICC_QNOC,
.nodes = qcm2290_qup_virt_nodes, .nodes = qcm2290_qup_virt_nodes,
.num_nodes = ARRAY_SIZE(qcm2290_qup_virt_nodes), .num_nodes = ARRAY_SIZE(qcm2290_qup_virt_nodes),
.bus_clk_desc = &qup_clk,
}; };
static struct qcom_icc_node * const qcm2290_mmnrt_virt_nodes[] = { static struct qcom_icc_node * const qcm2290_mmnrt_virt_nodes[] = {
...@@ -1318,6 +1322,7 @@ static const struct qcom_icc_desc qcm2290_mmnrt_virt = { ...@@ -1318,6 +1322,7 @@ static const struct qcom_icc_desc qcm2290_mmnrt_virt = {
.type = QCOM_ICC_QNOC, .type = QCOM_ICC_QNOC,
.nodes = qcm2290_mmnrt_virt_nodes, .nodes = qcm2290_mmnrt_virt_nodes,
.num_nodes = ARRAY_SIZE(qcm2290_mmnrt_virt_nodes), .num_nodes = ARRAY_SIZE(qcm2290_mmnrt_virt_nodes),
.bus_clk_desc = &mmaxi_0_clk,
.regmap_cfg = &qcm2290_snoc_regmap_config, .regmap_cfg = &qcm2290_snoc_regmap_config,
.qos_offset = 0x15000, .qos_offset = 0x15000,
}; };
...@@ -1332,6 +1337,7 @@ static const struct qcom_icc_desc qcm2290_mmrt_virt = { ...@@ -1332,6 +1337,7 @@ static const struct qcom_icc_desc qcm2290_mmrt_virt = {
.type = QCOM_ICC_QNOC, .type = QCOM_ICC_QNOC,
.nodes = qcm2290_mmrt_virt_nodes, .nodes = qcm2290_mmrt_virt_nodes,
.num_nodes = ARRAY_SIZE(qcm2290_mmrt_virt_nodes), .num_nodes = ARRAY_SIZE(qcm2290_mmrt_virt_nodes),
.bus_clk_desc = &mmaxi_1_clk,
.regmap_cfg = &qcm2290_snoc_regmap_config, .regmap_cfg = &qcm2290_snoc_regmap_config,
.qos_offset = 0x15000, .qos_offset = 0x15000,
}; };
......
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