From: sashiko-bot@kernel.org
To: "Stefan Dösinger" <stefandoesinger@gmail.com>
Cc: lee@kernel.org, vkoul@kernel.org, linux-phy@lists.infradead.org,
neil.armstrong@linaro.org, linux-clk@vger.kernel.org,
conor+dt@kernel.org, devicetree@vger.kernel.org,
mfd@lists.linux.dev, robh@kernel.org, olteanv@gmail.com
Subject: Re: [PATCH v12 09/12] clk: zte: Introduce a driver for zx297520v3 matrix clocks
Date: Wed, 23 Sep 2026 18:40:50 +0000 [thread overview]
Message-ID: <20260923184051.0BA291F0089E@smtp.kernel.org> (raw)
In-Reply-To: <20260923-zx29clk-v12-9-9c243796b6d2@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] clk: zte: missing DT export for ZX297520V3_RFFE_WCLK
--
commit 4d2c5025ee60ae5cdf0e636caff70b2cdc8a3e60
Author: Stefan Dösinger <stefandoesinger@gmail.com>
clk: zte: Introduce a driver for zx297520v3 matrix clocks
This clock controller controls high speed devices: CPU, DMA, RAM, SDIO,
Ethernet. The only non-clock, non-reset registers I have spotted here
are hardware spinlocks.
> diff --git a/drivers/clk/zte/clk-zx297520v3.c b/drivers/clk/zte/clk-zx297520v3.c
> index 68bfeab84d745..92b56571b1556 100644
> --- a/drivers/clk/zte/clk-zx297520v3.c
> +++ b/drivers/clk/zte/clk-zx297520v3.c
[ ... ]
> +static const unsigned int zx297520v3_matrix_exports[] = {
> + [ZX297520V3_SYS_TIMER_WCLK] = ZX_CLK_SYS_TIMER_WCLK,
> + [ZX297520V3_CPU_WCLK] = ZX_CLK_CPU_WCLK,
[ ... ]
> + [ZX297520V3_PDCFG_WCLK] = ZX_CLK_PDCFG_WCLK,
> + [ZX297520V3_PDCFG_PCLK] = ZX_CLK_PDCFG_PCLK,
> + [ZX297520V3_SSC_WCLK] = ZX_CLK_SSC_WCLK,
> + [ZX297520V3_SSC_PCLK] = ZX_CLK_SSC_PCLK,
[Severity: Medium]
Is the mapping for ZX297520V3_RFFE_WCLK intentionally missing from
zx297520v3_matrix_exports?
Because this mapping is omitted, any device querying for the RFFE work clock
via the device tree will be silently mapped to index 0. This index corresponds
to the ZX_CLK_MATRIX_OSC26M_D4 clock rather than the intended rffe-wclk.
Could this incorrect mapping break the LTE radio hardware and potentially
disrupt actual consumers of the 6.5 MHz matrix-osc26m-d4 clock when a driver
probes and operates on the hardware block?
> + [ZX297520V3_AXI_WCLK] = ZX_CLK_AXI_WCLK,
> + [ZX297520V3_GMAC_WCLK] = ZX_CLK_GMAC_WCLK,
> + [ZX297520V3_GMAC_PCLK] = ZX_CLK_GMAC_PCLK,
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260923-zx29clk-v12-0-9c243796b6d2@gmail.com?part=9
next prev parent reply other threads:[~2026-09-23 18:40 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-23 18:28 [PATCH v12 00/12] ZTE zx297520v3 clock bindings and driver Stefan Dösinger
2026-09-23 18:28 ` [PATCH v12 01/12] dt-bindings: clk: zte: Add zx297520v3 top clock and reset controller Stefan Dösinger
2026-09-23 18:33 ` sashiko-bot
2026-09-23 18:28 ` [PATCH v12 02/12] dt-bindings: clk: zte: Add zx297520v3 matrix " Stefan Dösinger
2026-09-23 18:37 ` sashiko-bot
2026-09-23 18:28 ` [PATCH v12 03/12] dt-bindings: clk: zte: Add zx297520v3 LSP " Stefan Dösinger
2026-09-23 18:32 ` sashiko-bot
2026-09-23 18:28 ` [PATCH v12 04/12] mfd: zx297520v3: Add a clock and reset MFD driver Stefan Dösinger
2026-09-23 18:35 ` sashiko-bot
2026-09-24 14:15 ` Lee Jones
2026-09-23 18:28 ` [PATCH v12 05/12] clk: zte: Add Clock registration infrastructure Stefan Dösinger
2026-09-23 18:36 ` sashiko-bot
2026-09-23 18:28 ` [PATCH v12 06/12] clk: zte: Add regmap-based clocks Stefan Dösinger
2026-09-23 18:38 ` sashiko-bot
2026-09-23 18:28 ` [PATCH v12 07/12] clk: zte: Add zx PLL support infrastructure Stefan Dösinger
2026-09-23 18:42 ` sashiko-bot
2026-09-23 18:28 ` [PATCH v12 08/12] clk: zte: Introduce a driver for zx297520v3 top clocks Stefan Dösinger
2026-09-23 18:44 ` sashiko-bot
2026-09-23 18:28 ` [PATCH v12 09/12] clk: zte: Introduce a driver for zx297520v3 matrix clocks Stefan Dösinger
2026-09-23 18:40 ` sashiko-bot [this message]
2026-09-23 19:06 ` Stefan Dösinger
2026-09-23 18:28 ` [PATCH v12 10/12] clk: zte: Introduce a driver for zx297520v3 LSP clocks Stefan Dösinger
2026-09-23 18:40 ` sashiko-bot
2026-09-23 18:28 ` [PATCH v12 11/12] reset: zte: Add a zx297520v3 reset driver Stefan Dösinger
2026-09-23 18:45 ` sashiko-bot
2026-09-23 18:28 ` [PATCH v12 12/12] ARM: dts: zte: Declare zx297520v3 CRM device nodes Stefan Dösinger
2026-09-23 18:39 ` sashiko-bot
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=20260923184051.0BA291F0089E@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=lee@kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=mfd@lists.linux.dev \
--cc=neil.armstrong@linaro.org \
--cc=olteanv@gmail.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=stefandoesinger@gmail.com \
--cc=vkoul@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