From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: Tengfei Fan <quic_tengfan@quicinc.com>,
agross@kernel.org, andersson@kernel.org, djakov@kernel.org,
robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
conor+dt@kernel.org, catalin.marinas@arm.com, will@kernel.org
Cc: arnd@arndb.de, geert+renesas@glider.be, nfraprado@collabora.com,
rafal@milecki.pl, peng.fan@nxp.com,
linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, quic_tsoni@quicinc.com,
quic_shashim@quicinc.com, quic_kaushalk@quicinc.com,
quic_tdas@quicinc.com, quic_tingweiz@quicinc.com,
quic_aiquny@quicinc.com, kernel@quicinc.com
Subject: Re: [PATCH 2/3] interconnect: qcom: Add SM4450 interconnect provider driver
Date: Fri, 8 Sep 2023 10:16:50 +0200 [thread overview]
Message-ID: <d78b19ef-0fb7-4fc3-bf01-58c10b4fd1cd@linaro.org> (raw)
In-Reply-To: <20230908064427.26999-3-quic_tengfan@quicinc.com>
On 8.09.2023 08:44, Tengfei Fan wrote:
> Add driver for the Qualcomm interconnect buses found in SM4450 based
> platforms. The topology consists of several NoCs that are controlled
> by a remote processor that collects the aggregated bandwidth for each
> master-slave pairs.
>
> Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
> ---
[...]
> +++ b/drivers/interconnect/qcom/sm4450.c
> @@ -0,0 +1,1848 @@
> +// SPDX-License-Identifier: GPL-2.0-only
> +/*
> + * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
> + *
Stray blank line
> + */
> +
> +#include <linux/device.h>
> +#include <linux/interconnect.h>
> +#include <linux/interconnect-provider.h>
> +#include <linux/io.h>
Is this necessary?
> +#include <linux/module.h>
> +#include <linux/of_device.h>
> +#include <linux/of_platform.h>
> +#include <linux/platform_device.h>
> +#include <dt-bindings/interconnect/qcom,sm4450.h>
> +
[...]
> +static struct qcom_icc_node * const mmss_noc_nodes[] = {
> + [MASTER_CAMNOC_HF] = &qnm_camnoc_hf,
> + [MASTER_CAMNOC_ICP] = &qnm_camnoc_icp,
> + [MASTER_CAMNOC_SF] = &qnm_camnoc_sf,
> + [MASTER_MDP] = &qnm_mdp,
> + [MASTER_CNOC_MNOC_CFG] = &qnm_mnoc_cfg,
> + [MASTER_VIDEO_P0_MMNOC] = &qnm_video0,
> + [MASTER_VIDEO_PROC_MMNOC] = &qnm_video_cpu,
> + [SLAVE_MNOC_HF_MEM_NOC] = &qns_mem_noc_hf,
> + [SLAVE_MNOC_SF_MEM_NOC] = &qns_mem_noc_sf,
> + [SLAVE_SERVICE_MNOC] = &srvc_mnoc,
> + [MASTER_MDP_DISP] = &qnm_mdp_disp,
> + [SLAVE_MNOC_HF_MEM_NOC_DISP] = &qns_mem_noc_hf_disp,
Please drop the _DISP paths, upstream will handle these with icc
tags.
[...]
> +
> +static const struct of_device_id qnoc_of_match[] = {
> + { .compatible = "qcom,sm4450-aggre1-noc",
> + .data = &sm4450_aggre1_noc},
Nit, but please:
- make these one line, like this:
{ .compatible = "qcom,sm4450-aggre1-noc", .data = &sm4450_aggre1_noc },
- add the missing space before '}'
Konrad
next prev parent reply other threads:[~2023-09-08 8:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-08 6:44 [PATCH 0/3] interconnect: qcom: Add SM4450 interconnect driver Tengfei Fan
2023-09-08 6:44 ` [PATCH 1/3] dt-bindings: interconnect: Add Qualcomm SM4450 Tengfei Fan
2023-09-08 7:42 ` Rob Herring
2023-09-08 8:25 ` Tengfei Fan
2023-09-11 10:15 ` Tengfei Fan
2023-09-11 11:43 ` Krzysztof Kozlowski
2023-09-11 11:48 ` Krzysztof Kozlowski
2023-09-08 6:44 ` [PATCH 2/3] interconnect: qcom: Add SM4450 interconnect provider driver Tengfei Fan
2023-09-08 8:16 ` Konrad Dybcio [this message]
2023-09-08 8:26 ` Tengfei Fan
2023-09-08 6:44 ` [PATCH 3/3] arm64: defconfig: enable interconnect for SM4450 Tengfei Fan
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=d78b19ef-0fb7-4fc3-bf01-58c10b4fd1cd@linaro.org \
--to=konrad.dybcio@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=arnd@arndb.de \
--cc=catalin.marinas@arm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=djakov@kernel.org \
--cc=geert+renesas@glider.be \
--cc=kernel@quicinc.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=nfraprado@collabora.com \
--cc=peng.fan@nxp.com \
--cc=quic_aiquny@quicinc.com \
--cc=quic_kaushalk@quicinc.com \
--cc=quic_shashim@quicinc.com \
--cc=quic_tdas@quicinc.com \
--cc=quic_tengfan@quicinc.com \
--cc=quic_tingweiz@quicinc.com \
--cc=quic_tsoni@quicinc.com \
--cc=rafal@milecki.pl \
--cc=robh+dt@kernel.org \
--cc=will@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).