From: Georgi Djakov <djakov@kernel.org>
To: "Barnabás Czémán" <barnabas.czeman@mainlining.org>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-pm@vger.kernel.org, devicetree@vger.kernel.org,
Vladimir Lypak <vladimir.lypak@gmail.com>
Subject: Re: [PATCH v2 2/2] interconnect: qcom: Add MSM8953 driver
Date: Fri, 28 Jun 2024 12:32:17 +0300 [thread overview]
Message-ID: <88588f06-66e1-47a9-b5ab-7849b1c53fb0@kernel.org> (raw)
In-Reply-To: <20240627-msm8953-interconnect-v2-2-b4940a8eab69@mainlining.org>
On 27.06.24 18:08, Barnabás Czémán wrote:
> From: Vladimir Lypak <vladimir.lypak@gmail.com>
>
> Add driver for interconnect busses found in MSM8953 based platforms.
> The topology consists of four NoCs that are partially controlled by a
> RPM processor.
>
> Note that one of NoCs (System NoC) has a counterpart (System NoC MM)
> that is modelled as child device to avoid resource conflicts, since it
> uses same MMIO space for configuration.
>
> Signed-off-by: Vladimir Lypak <vladimir.lypak@gmail.com>
> Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
> ---
> drivers/interconnect/qcom/Kconfig | 9 +
> drivers/interconnect/qcom/Makefile | 2 +
> drivers/interconnect/qcom/msm8953.c | 1325 +++++++++++++++++++++++++++++++++++
> 3 files changed, 1336 insertions(+)
>
[..]
> +
> +static struct qcom_icc_node * const msm8953_pcnoc_nodes[] = {
> + [MAS_SPDM] = &mas_spdm,
> + [MAS_BLSP_1] = &mas_blsp_1,
> + [MAS_BLSP_2] = &mas_blsp_2,
> + [MAS_USB3] = &mas_usb3,
> + [MAS_CRYPTO] = &mas_crypto,
> + [MAS_SDCC_1] = &mas_sdcc_1,
> + [MAS_SDCC_2] = &mas_sdcc_2,
> + [MAS_SNOC_PCNOC] = &mas_snoc_pcnoc,
> + [PCNOC_M_0] = &pcnoc_m_0,
> + [PCNOC_M_1] = &pcnoc_m_1,
> + [PCNOC_INT_1] = &pcnoc_int_1,
> + [PCNOC_INT_2] = &pcnoc_int_2,
> + [PCNOC_S_0] = &pcnoc_s_0,
> + [PCNOC_S_1] = &pcnoc_s_1,
> + [PCNOC_S_2] = &pcnoc_s_2,
> + [PCNOC_S_3] = &pcnoc_s_3,
> + [PCNOC_S_4] = &pcnoc_s_4,
> + [PCNOC_S_6] = &pcnoc_s_6,
> + [PCNOC_S_7] = &pcnoc_s_7,
> + [PCNOC_S_8] = &pcnoc_s_8,
> + [PCNOC_S_9] = &pcnoc_s_9,
> + [SLV_SPDM] = &slv_spdm,
> + [SLV_PDM] = &slv_pdm,
> + [SLV_TCSR] = &slv_tcsr,
> + [SLV_SNOC_CFG] = &slv_snoc_cfg,
> + [SLV_TLMM] = &slv_tlmm,
> + [SLV_MESSAGE_RAM] = &slv_message_ram,
> + [SLV_BLSP_1] = &slv_blsp_1,
> + [SLV_BLSP_2] = &slv_blsp_2,
> + [SLV_PRNG] = &slv_prng,
> + [SLV_CAMERA_SS_CFG] = &slv_camera_ss_cfg,
> + [SLV_DISP_SS_CFG] = &slv_disp_ss_cfg,
> + [SLV_VENUS_CFG] = &slv_venus_cfg,
> + [SLV_GPU_CFG] = &slv_gpu_cfg,
> + [SLV_SDCC_1] = &slv_sdcc_1,
> + [SLV_SDCC_2] = &slv_sdcc_2,
> + [SLV_CRYPTO_0_CFG] = &slv_crypto_0_cfg,
> + [SLV_PMIC_ARB] = &slv_pmic_arb,
> + [SLV_USB3] = &slv_usb3,
> + [SLV_IPA_CFG] = &slv_ipa_cfg,
> + [SLV_TCU] = &slv_tcu,
> + [SLV_PCNOC_SNOC] = &slv_pcnoc_snoc,
> +};
> +
> +static const char * const msm8953_pcnoc_bus_clocks[] = {
> + "bus", "bus_a"
> +};
This seems to be unused?
BR,
Georgi
> +
> +static const char * const msm8953_pcnoc_intf_clocks[] = {
> + "pcnoc_usb3_axi"
> +};
> +
> +static const struct regmap_config msm8953_pcnoc_regmap_config = {
> + .fast_io = true,
> + .max_register = 0x12080,
> + .reg_bits = 32,
> + .reg_stride = 4,
> + .val_bits = 32,
> +};
> +
> +static const struct qcom_icc_desc msm8953_pcnoc = {
> + .type = QCOM_ICC_NOC,
> + .bus_clk_desc = &bus_0_clk,
> + .intf_clocks = msm8953_pcnoc_intf_clocks,
> + .num_intf_clocks = ARRAY_SIZE(msm8953_pcnoc_intf_clocks),
> + .nodes = msm8953_pcnoc_nodes,
> + .num_nodes = ARRAY_SIZE(msm8953_pcnoc_nodes),
> + .qos_offset = 0x7000,
> + .regmap_cfg = &msm8953_pcnoc_regmap_config,
> +};
next prev parent reply other threads:[~2024-06-28 9:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-27 15:08 [PATCH v2 0/2] Add interconnect driver for MSM8953/SDM450/SDM632 Barnabás Czémán
2024-06-27 15:08 ` [PATCH v2 1/2] dt-bindings: interconnect: qcom: Add Qualcomm MSM8953 NoC Barnabás Czémán
2024-06-28 7:41 ` Krzysztof Kozlowski
2024-06-27 15:08 ` [PATCH v2 2/2] interconnect: qcom: Add MSM8953 driver Barnabás Czémán
2024-06-28 7:41 ` Krzysztof Kozlowski
2024-06-28 9:32 ` Georgi Djakov [this message]
2024-06-28 9:41 ` Krzysztof Kozlowski
2024-06-28 14:06 ` barnabas.czeman
2024-06-28 21:25 ` kernel test robot
2024-06-28 23:15 ` kernel test robot
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=88588f06-66e1-47a9-b5ab-7849b1c53fb0@kernel.org \
--to=djakov@kernel.org \
--cc=barnabas.czeman@mainlining.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=robh@kernel.org \
--cc=vladimir.lypak@gmail.com \
/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).