Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Bartosz Golaszewski" <bartosz.golaszewski@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 2/2] interconnect: qcom: add the Seca interconnect provider driver
Date: Fri, 27 Nov 2026 11:52:33 +0000	[thread overview]
Message-ID: <sashiko-outbox-237297@kernel.org> (raw)
In-Reply-To: <20261127-seca-interconnects-v1-2-a31bf9b36ac4@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] interconnect: qcom: seca: qos_requires_clocks mismatch on
  seca_aggre2_noc_tile
--

commit 4043595211778883a7c06e13c8db55e471b08e8f
Author: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>

interconnect: qcom: add the Seca interconnect provider driver

This commit adds the interconnect provider driver for the Qualcomm Seca
SoC.

> diff --git a/drivers/interconnect/qcom/seca.c b/drivers/interconnect/qcom/seca.c
> new file mode 100644
> index 0000000000000..7795fbf61a4c2
> --- /dev/null
> +++ b/drivers/interconnect/qcom/seca.c

[ ... ]

> +static struct qcom_icc_bcm * const aggre2_noc_tile_bcms[] = {
> +	&bcm_sn1,
> +};
> +
> +static struct qcom_icc_node * const aggre2_noc_tile_nodes[] = {
> +	[MASTER_EMAC_0] = &xm_emac_0,
> +	[MASTER_EMAC_1] = &xm_emac_1,
> +	[SLAVE_A2NOC_HSCNOC] = &qns_a2noc_hscnoc,
> +};
> +
> +static const struct regmap_config seca_aggre2_noc_tile_regmap_config = {
> +	.reg_bits = 32,
> +	.reg_stride = 4,
> +	.val_bits = 32,
> +	.max_register = 0x1b400,
> +	.fast_io = true,
> +};
> +
> +static const struct qcom_icc_desc seca_aggre2_noc_tile = {
> +	.config = &seca_aggre2_noc_tile_regmap_config,
> +	.nodes = aggre2_noc_tile_nodes,
> +	.num_nodes = ARRAY_SIZE(aggre2_noc_tile_nodes),
> +	.bcms = aggre2_noc_tile_bcms,
> +	.num_bcms = ARRAY_SIZE(aggre2_noc_tile_bcms),
> +	.qos_requires_clocks = true,
> +};

[Severity: Medium]
Should seca_aggre2_noc_tile set .qos_requires_clocks = true when
Documentation/devicetree/bindings/interconnect/qcom,seca-rpmh.yaml
prohibits the clocks property on qcom,seca-aggre2-noc-tile?

With no clocks in the DT node, devm_clk_bulk_get_all() returns 0 in
qcom_icc_rpmh_probe(), which hits (!qp->num_clks &&
desc->qos_requires_clocks) and skips programming the QoS registers for
xm_emac_0 and xm_emac_1.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261127-seca-interconnects-v1-0-a31bf9b36ac4@oss.qualcomm.com?part=2

      reply	other threads:[~2026-11-27 11:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 11:42 [PATCH 0/2] interconnect: qcom: add interconnect drivers for Qualcomm Seca Bartosz Golaszewski
2026-11-27 11:42 ` [PATCH 1/2] dt-bindings: interconnect: qcom: document the RPMh Network-On-Chip interconnect for Seca Bartosz Golaszewski
2026-11-27 11:42 ` [PATCH 2/2] interconnect: qcom: add the Seca interconnect provider driver Bartosz Golaszewski
2026-11-27 11:52   ` sashiko-bot [this message]

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=sashiko-outbox-237297@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=bartosz.golaszewski@oss.qualcomm.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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