Devicetree
 help / color / mirror / Atom feed
From: "Xuyang Dong" <dongxuyang@eswincomputing.com>
To: sashiko-reviews@lists.linux.dev
Cc: mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org,
	krzk+dt@kernel.org, conor+dt@kernel.org,
	linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, p.zabel@pengutronix.de,
	huangyifeng@eswincomputing.com, dongxuyang@eswincomputing.com,
	benoit.monin@bootlin.com, bmasney@redhat.com,
	ningyu@eswincomputing.com, linmin@eswincomputing.com,
	pinkesh.vaghela@einfochips.com
Subject: Re: Re: [PATCH v5 2/3] clk: eswin: Add eic7700 HSP clock driver
Date: Mon, 18 May 2026 14:15:22 +0800 (GMT+08:00)	[thread overview]
Message-ID: <21bf5be7.64a3.19e39b98f34.Coremail.dongxuyang@eswincomputing.com> (raw)
In-Reply-To: <20260514191921.C57AEC2BCB3@smtp.kernel.org>

> 
> 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?
> 

Hi Sashiko,

The next version will add 'select REGMAP_MMIO' in the Kconfig entry.

Best regards,
Xuyang Dong

> 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

  reply	other threads:[~2026-05-18  6:15 UTC|newest]

Thread overview: 8+ 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
2026-05-18  6:15     ` Xuyang Dong [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
2026-05-18  6:21     ` Xuyang Dong

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=21bf5be7.64a3.19e39b98f34.Coremail.dongxuyang@eswincomputing.com \
    --to=dongxuyang@eswincomputing.com \
    --cc=benoit.monin@bootlin.com \
    --cc=bmasney@redhat.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=huangyifeng@eswincomputing.com \
    --cc=krzk+dt@kernel.org \
    --cc=linmin@eswincomputing.com \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=ningyu@eswincomputing.com \
    --cc=p.zabel@pengutronix.de \
    --cc=pinkesh.vaghela@einfochips.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=sboyd@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