From: sashiko-bot@kernel.org
To: dongxuyang@eswincomputing.com
Cc: krzk+dt@kernel.org, conor+dt@kernel.org, robh@kernel.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH v5 2/3] clk: eswin: Add eic7700 HSP clock driver
Date: Thu, 14 May 2026 19:19:21 +0000 [thread overview]
Message-ID: <20260514191921.C57AEC2BCB3@smtp.kernel.org> (raw)
In-Reply-To: <20260514114533.1376-1-dongxuyang@eswincomputing.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] The Kconfig entry `COMMON_CLK_EIC7700_HSP` is missing a `select REGMAP_MMIO` dependency, causing linker errors under `COMPILE_TEST`.
--
commit 1a3c5e0ea14d621d30772ac99cb5372fe67c5d6f
Author: Xuyang Dong <dongxuyang@eswincomputing.com>
clk: eswin: Add eic7700 HSP clock driver
This commit adds the ESWIN EIC7700 high-speed peripherals system clock
controller driver and registers an auxiliary device named hsp-reset.
> diff --git a/drivers/clk/eswin/Kconfig b/drivers/clk/eswin/Kconfig
> index 0406ec499ec9c..e6cc2a407bac8 100644
> --- a/drivers/clk/eswin/Kconfig
> +++ b/drivers/clk/eswin/Kconfig
> @@ -13,3 +13,15 @@ config COMMON_CLK_EIC7700
> SoC. The clock controller generates and supplies clocks to various
> peripherals within the SoC.
> Say yes here to support the clock controller on the EIC7700 SoC.
> +
> +config COMMON_CLK_EIC7700_HSP
> + tristate "EIC7700 HSP Clock Driver"
> + depends on ARCH_ESWIN || COMPILE_TEST
> + select AUXILIARY_BUS
> + select COMMON_CLK_EIC7700
> + select RESET_EIC7700_HSP if RESET_CONTROLLER
Does this Kconfig entry need to select REGMAP_MMIO?
The driver calls devm_regmap_init_mmio() in eic7700_hsp_clk_probe(). When
building under COMPILE_TEST on configurations where no other component
coincidentally selects REGMAP_MMIO, this can result in an undefined
reference to __devm_regmap_init_mmio_clk linker error.
> + help
> + This driver provides support for clock controller on ESWIN EIC7700
> + HSP. The clock controller generates and supplies clocks to high
> + speed peripherals within the SoC.
> + Say yes here to support the clock controller on the EIC7700 HSP.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260514114212.903-1-dongxuyang@eswincomputing.com?part=2
next prev parent reply other threads:[~2026-05-14 19:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-14 11:42 [PATCH v5 0/3] Add driver support for ESWIN EIC7700 HSP clock and reset generator dongxuyang
2026-05-14 11:45 ` [PATCH v5 1/3] dt-bindings: clock: Add ESWIN eic7700 " dongxuyang
2026-05-14 11:45 ` [PATCH v5 2/3] clk: eswin: Add eic7700 HSP clock driver dongxuyang
2026-05-14 19:19 ` sashiko-bot [this message]
2026-05-14 11:47 ` [PATCH v5 3/3] reset: eswin: Add eic7700 HSP reset driver dongxuyang
2026-05-14 19:53 ` 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=20260514191921.C57AEC2BCB3@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dongxuyang@eswincomputing.com \
--cc=krzk+dt@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