From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Stephen Boyd <sboyd@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Taniya Das <quic_tdas@quicinc.com>
Cc: Georgi Djakov <djakov@kernel.org>, Alex Elder <elder@linaro.org>,
Johan Hovold <johan@kernel.org>,
linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
linux-pm@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v3 05/12] interconnect: qcom: sm8250: Drop IP0 interconnects
Date: Mon, 9 Jan 2023 14:45:55 +0100 [thread overview]
Message-ID: <e43b47fe-69e9-2a7b-0d3a-3423da75bdf3@linaro.org> (raw)
In-Reply-To: <20230109002935.244320-6-dmitry.baryshkov@linaro.org>
On 9.01.2023 01:29, Dmitry Baryshkov wrote:
> Similar to the sdx55 and sc7180, let's drop the MASTER_IPA_CORE and
> SLAVE_IPA_CORE interconnects for this platofm.
platform
There are no actual users
> of this intercoonect.
interconnect
The IP0 resource will be handled by clk-rpmh
> driver.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Konrad
> drivers/interconnect/core.c | 1 +
> drivers/interconnect/qcom/sm8250.c | 21 ---------------------
> drivers/interconnect/qcom/sm8250.h | 4 ++--
> 3 files changed, 3 insertions(+), 23 deletions(-)
>
> diff --git a/drivers/interconnect/core.c b/drivers/interconnect/core.c
> index cea54477cfe3..5b5fd436f23f 100644
> --- a/drivers/interconnect/core.c
> +++ b/drivers/interconnect/core.c
> @@ -1083,6 +1083,7 @@ static const struct of_device_id __maybe_unused ignore_list[] = {
> { .compatible = "qcom,sc7180-ipa-virt" },
> { .compatible = "qcom,sdx55-ipa-virt" },
> { .compatible = "qcom,sm8150-ipa-virt" },
> + { .compatible = "qcom,sm8250-ipa-virt" },
> {}
> };
>
> diff --git a/drivers/interconnect/qcom/sm8250.c b/drivers/interconnect/qcom/sm8250.c
> index 5cdb058fa095..e3bb008cb219 100644
> --- a/drivers/interconnect/qcom/sm8250.c
> +++ b/drivers/interconnect/qcom/sm8250.c
> @@ -51,7 +51,6 @@ DEFINE_QNODE(qnm_mnoc_sf, SM8250_MASTER_MNOC_SF_MEM_NOC, 2, 32, SM8250_SLAVE_LLC
> DEFINE_QNODE(qnm_pcie, SM8250_MASTER_ANOC_PCIE_GEM_NOC, 1, 16, SM8250_SLAVE_LLCC, SM8250_SLAVE_GEM_NOC_SNOC);
> DEFINE_QNODE(qnm_snoc_gc, SM8250_MASTER_SNOC_GC_MEM_NOC, 1, 8, SM8250_SLAVE_LLCC);
> DEFINE_QNODE(qnm_snoc_sf, SM8250_MASTER_SNOC_SF_MEM_NOC, 1, 16, SM8250_SLAVE_LLCC, SM8250_SLAVE_GEM_NOC_SNOC, SM8250_SLAVE_MEM_NOC_PCIE_SNOC);
> -DEFINE_QNODE(ipa_core_master, SM8250_MASTER_IPA_CORE, 1, 8, SM8250_SLAVE_IPA_CORE);
> DEFINE_QNODE(llcc_mc, SM8250_MASTER_LLCC, 4, 4, SM8250_SLAVE_EBI_CH0);
> DEFINE_QNODE(qhm_mnoc_cfg, SM8250_MASTER_CNOC_MNOC_CFG, 1, 4, SM8250_SLAVE_SERVICE_MNOC);
> DEFINE_QNODE(qnm_camnoc_hf, SM8250_MASTER_CAMNOC_HF, 2, 32, SM8250_SLAVE_MNOC_HF_MEM_NOC);
> @@ -138,7 +137,6 @@ DEFINE_QNODE(qns_sys_pcie, SM8250_SLAVE_MEM_NOC_PCIE_SNOC, 1, 8, SM8250_MASTER_G
> DEFINE_QNODE(srvc_even_gemnoc, SM8250_SLAVE_SERVICE_GEM_NOC_1, 1, 4);
> DEFINE_QNODE(srvc_odd_gemnoc, SM8250_SLAVE_SERVICE_GEM_NOC_2, 1, 4);
> DEFINE_QNODE(srvc_sys_gemnoc, SM8250_SLAVE_SERVICE_GEM_NOC, 1, 4);
> -DEFINE_QNODE(ipa_core_slave, SM8250_SLAVE_IPA_CORE, 1, 8);
> DEFINE_QNODE(ebi, SM8250_SLAVE_EBI_CH0, 4, 4);
> DEFINE_QNODE(qns_mem_noc_hf, SM8250_SLAVE_MNOC_HF_MEM_NOC, 2, 32, SM8250_MASTER_MNOC_HF_MEM_NOC);
> DEFINE_QNODE(qns_mem_noc_sf, SM8250_SLAVE_MNOC_SF_MEM_NOC, 2, 32, SM8250_MASTER_MNOC_SF_MEM_NOC);
> @@ -171,7 +169,6 @@ DEFINE_QBCM(bcm_mc0, "MC0", true, &ebi);
> DEFINE_QBCM(bcm_sh0, "SH0", true, &qns_llcc);
> DEFINE_QBCM(bcm_mm0, "MM0", true, &qns_mem_noc_hf);
> DEFINE_QBCM(bcm_ce0, "CE0", false, &qxm_crypto);
> -DEFINE_QBCM(bcm_ip0, "IP0", false, &ipa_core_slave);
> DEFINE_QBCM(bcm_mm1, "MM1", false, &qnm_camnoc_hf, &qxm_mdp0, &qxm_mdp1);
> DEFINE_QBCM(bcm_sh2, "SH2", false, &alm_gpu_tcu, &alm_sys_tcu);
> DEFINE_QBCM(bcm_mm2, "MM2", false, &qns_mem_noc_sf);
> @@ -386,22 +383,6 @@ static const struct qcom_icc_desc sm8250_gem_noc = {
> .num_bcms = ARRAY_SIZE(gem_noc_bcms),
> };
>
> -static struct qcom_icc_bcm * const ipa_virt_bcms[] = {
> - &bcm_ip0,
> -};
> -
> -static struct qcom_icc_node * const ipa_virt_nodes[] = {
> - [MASTER_IPA_CORE] = &ipa_core_master,
> - [SLAVE_IPA_CORE] = &ipa_core_slave,
> -};
> -
> -static const struct qcom_icc_desc sm8250_ipa_virt = {
> - .nodes = ipa_virt_nodes,
> - .num_nodes = ARRAY_SIZE(ipa_virt_nodes),
> - .bcms = ipa_virt_bcms,
> - .num_bcms = ARRAY_SIZE(ipa_virt_bcms),
> -};
> -
> static struct qcom_icc_bcm * const mc_virt_bcms[] = {
> &bcm_acv,
> &bcm_mc0,
> @@ -531,8 +512,6 @@ static const struct of_device_id qnoc_of_match[] = {
> .data = &sm8250_dc_noc},
> { .compatible = "qcom,sm8250-gem-noc",
> .data = &sm8250_gem_noc},
> - { .compatible = "qcom,sm8250-ipa-virt",
> - .data = &sm8250_ipa_virt},
> { .compatible = "qcom,sm8250-mc-virt",
> .data = &sm8250_mc_virt},
> { .compatible = "qcom,sm8250-mmss-noc",
> diff --git a/drivers/interconnect/qcom/sm8250.h b/drivers/interconnect/qcom/sm8250.h
> index b31fb431a20f..e3fc56bc7ca0 100644
> --- a/drivers/interconnect/qcom/sm8250.h
> +++ b/drivers/interconnect/qcom/sm8250.h
> @@ -31,7 +31,7 @@
> #define SM8250_MASTER_GPU_TCU 20
> #define SM8250_MASTER_GRAPHICS_3D 21
> #define SM8250_MASTER_IPA 22
> -#define SM8250_MASTER_IPA_CORE 23
> +/* 23 was used by MASTER_IPA_CORE, now represented as RPMh clock */
> #define SM8250_MASTER_LLCC 24
> #define SM8250_MASTER_MDP_PORT0 25
> #define SM8250_MASTER_MDP_PORT1 26
> @@ -92,7 +92,7 @@
> #define SM8250_SLAVE_GRAPHICS_3D_CFG 81
> #define SM8250_SLAVE_IMEM_CFG 82
> #define SM8250_SLAVE_IPA_CFG 83
> -#define SM8250_SLAVE_IPA_CORE 84
> +/* 84 was used by SLAVE_IPA_CORE, now represented as RPMh clock */
> #define SM8250_SLAVE_IPC_ROUTER_CFG 85
> #define SM8250_SLAVE_ISENSE_CFG 86
> #define SM8250_SLAVE_LLCC 87
next prev parent reply other threads:[~2023-01-09 13:46 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-09 0:29 [PATCH v3 00/12] clk/interconnect: qcom: finish migration of IP0 to clocks Dmitry Baryshkov
2023-01-09 0:29 ` [PATCH v3 01/12] interconnect: qcom: sdx55: drop IP0 remnants Dmitry Baryshkov
2023-01-09 13:43 ` Konrad Dybcio
2023-01-15 4:15 ` Manivannan Sadhasivam
2023-01-09 0:29 ` [PATCH v3 02/12] interconnect: qcom: sc7180: " Dmitry Baryshkov
2023-01-09 13:43 ` Konrad Dybcio
2023-01-09 0:29 ` [PATCH v3 03/12] interconnect: move ignore_list out of of_count_icc_providers() Dmitry Baryshkov
2023-01-09 13:44 ` Konrad Dybcio
2023-01-09 0:29 ` [PATCH v3 04/12] interconnect: qcom: sm8150: Drop IP0 interconnects Dmitry Baryshkov
2023-01-09 13:45 ` Konrad Dybcio
2023-01-09 0:29 ` [PATCH v3 05/12] interconnect: qcom: sm8250: " Dmitry Baryshkov
2023-01-09 13:45 ` Konrad Dybcio [this message]
2023-01-09 0:29 ` [PATCH v3 06/12] interconnect: qcom: sc8180x: " Dmitry Baryshkov
2023-01-09 13:46 ` Konrad Dybcio
2023-01-09 0:29 ` [PATCH v3 07/12] interconnect: qcom: sc8280xp: " Dmitry Baryshkov
2023-01-09 13:48 ` Konrad Dybcio
2023-01-09 0:29 ` [PATCH v3 08/12] dt-bindings: interconnect: qcom: Remove ipa-virt compatibles Dmitry Baryshkov
2023-01-09 0:29 ` [PATCH v3 09/12] dt-bindings: interconnect: qcom: drop IPA_CORE related defines Dmitry Baryshkov
2023-01-09 0:29 ` [PATCH v3 10/12] clk: qcom: rpmh: define IPA clocks where required Dmitry Baryshkov
2023-01-09 13:48 ` Konrad Dybcio
2023-01-09 0:29 ` [PATCH v3 11/12] arm64: dts: qcom: sm8150: drop the virtual ipa-virt device Dmitry Baryshkov
2023-01-09 13:49 ` Konrad Dybcio
2023-01-09 0:29 ` [PATCH v3 12/12] arm64: dts: qcom: sm8250: " Dmitry Baryshkov
2023-01-09 13:49 ` Konrad Dybcio
2023-01-12 16:12 ` (subset) [PATCH v3 00/12] clk/interconnect: qcom: finish migration of IP0 to clocks Bjorn Andersson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e43b47fe-69e9-2a7b-0d3a-3423da75bdf3@linaro.org \
--to=konrad.dybcio@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=djakov@kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=elder@linaro.org \
--cc=johan@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=quic_tdas@quicinc.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).