From: kernel test robot <lkp@intel.com>
To: Yu-Chun Lin <eleanor.lin@realtek.com>,
mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org, p.zabel@pengutronix.de,
cylee12@realtek.com, afaerber@suse.com, jyanchou@realtek.com
Cc: oe-kbuild-all@lists.linux.dev, devicetree@vger.kernel.org,
linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-realtek-soc@lists.infradead.org, james.tai@realtek.com,
cy.huang@realtek.com, stanley_chang@realtek.com,
eleanor.lin@realtek.com
Subject: Re: [PATCH v5 09/10] clk: realtek: Add RTD1625-CRT clock controller driver
Date: Wed, 25 Mar 2026 07:06:56 +0800 [thread overview]
Message-ID: <202603250636.b3J5aCGL-lkp@intel.com> (raw)
In-Reply-To: <20260324025332.3416977-10-eleanor.lin@realtek.com>
Hi Yu-Chun,
kernel test robot noticed the following build errors:
[auto build test ERROR on clk/clk-next]
[also build test ERROR on robh/for-next linus/master v7.0-rc5 next-20260324]
[cannot apply to pza/reset/next pza/imx-drm/next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Yu-Chun-Lin/dt-bindings-clock-Add-Realtek-RTD1625-Clock-Reset-Controller/20260324-171912
base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
patch link: https://lore.kernel.org/r/20260324025332.3416977-10-eleanor.lin%40realtek.com
patch subject: [PATCH v5 09/10] clk: realtek: Add RTD1625-CRT clock controller driver
config: nios2-randconfig-001-20260325 (https://download.01.org/0day-ci/archive/20260325/202603250636.b3J5aCGL-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260325/202603250636.b3J5aCGL-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202603250636.b3J5aCGL-lkp@intel.com/
All errors (new ones prefixed by >>):
nios2-linux-ld: drivers/clk/realtek/common.o: in function `rtk_clk_probe':
>> drivers/clk/realtek/common.c:54: undefined reference to `rtk_reset_controller_add'
>> drivers/clk/realtek/common.c:54:(.text+0x134): relocation truncated to fit: R_NIOS2_CALL26 against `rtk_reset_controller_add'
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for RTK_CLK_COMMON
Depends on [n]: COMMON_CLK [=y] && COMMON_CLK_REALTEK [=y] && RESET_CONTROLLER [=n]
Selected by [y]:
- COMMON_CLK_RTD1625 [=y] && COMMON_CLK [=y] && COMMON_CLK_REALTEK [=y]
vim +54 drivers/clk/realtek/common.c
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 12
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 13 int rtk_clk_probe(struct platform_device *pdev, const struct rtk_clk_desc *desc)
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 14 {
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 15 int i, ret;
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 16 struct regmap *regmap;
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 17 struct device *dev = &pdev->dev;
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 18 struct rtk_reset_initdata reset_initdata = {0};
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 19
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 20 regmap = device_node_to_regmap(pdev->dev.of_node);
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 21 if (IS_ERR(regmap))
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 22 return dev_err_probe(dev, PTR_ERR(regmap), "failed to get regmap\n");
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 23
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 24 for (i = 0; i < desc->num_clks; i++)
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 25 desc->clks[i]->regmap = regmap;
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 26
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 27 for (i = 0; i < desc->clk_data->num; i++) {
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 28 struct clk_hw *hw = desc->clk_data->hws[i];
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 29
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 30 if (!hw)
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 31 continue;
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 32
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 33 ret = devm_clk_hw_register(dev, hw);
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 34
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 35 if (ret) {
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 36 dev_warn(dev, "failed to register hw of clk%d: %d\n", i,
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 37 ret);
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 38 desc->clk_data->hws[i] = NULL;
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 39 }
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 40 }
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 41
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 42 ret = devm_of_clk_add_hw_provider(dev, of_clk_hw_onecell_get,
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 43 desc->clk_data);
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 44 if (ret)
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 45 return dev_err_probe(dev, ret, "failed to add clock provider\n");
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 46
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 47 if (!desc->num_reset_descs)
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 48 return 0;
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 49
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 50 reset_initdata.regmap = regmap;
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 51 reset_initdata.num_descs = desc->num_reset_descs;
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 52 reset_initdata.descs = desc->reset_descs;
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 53
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 @54 return rtk_reset_controller_add(dev, &reset_initdata);
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 55 }
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 56 EXPORT_SYMBOL_GPL(rtk_clk_probe);
105a817ead5cd3 Cheng-Yu Lee 2026-03-24 57
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-03-24 23:07 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-24 2:53 [PATCH v5 00/10] clk: realtek: Add RTD1625 clock support Yu-Chun Lin
2026-03-24 2:53 ` [PATCH v5 01/10] dt-bindings: clock: Add Realtek RTD1625 Clock & Reset Controller Yu-Chun Lin
2026-03-24 8:47 ` Krzysztof Kozlowski
2026-03-25 1:59 ` Stephen Boyd
2026-03-24 2:53 ` [PATCH v5 02/10] arm64: dts: realtek: Add clock support for RTD1625 Yu-Chun Lin
2026-03-24 2:53 ` [PATCH v5 03/10] reset: Add Realtek basic reset support Yu-Chun Lin
2026-03-25 17:21 ` Philipp Zabel
2026-03-24 2:53 ` [PATCH v5 04/10] clk: realtek: Introduce a common probe() Yu-Chun Lin
2026-03-24 2:53 ` [PATCH v5 05/10] clk: realtek: Add support for phase locked loops (PLLs) Yu-Chun Lin
2026-03-24 2:53 ` [PATCH v5 06/10] clk: realtek: Add support for gate clock Yu-Chun Lin
2026-03-24 2:53 ` [PATCH v5 07/10] clk: realtek: Add support for mux clock Yu-Chun Lin
2026-03-24 2:53 ` [PATCH v5 08/10] clk: realtek: Add support for MMC-tuned PLL clocks Yu-Chun Lin
2026-03-25 1:54 ` Stephen Boyd
2026-03-24 2:53 ` [PATCH v5 09/10] clk: realtek: Add RTD1625-CRT clock controller driver Yu-Chun Lin
2026-03-24 23:06 ` kernel test robot [this message]
2026-03-25 17:24 ` Philipp Zabel
2026-03-24 2:53 ` [PATCH v5 10/10] clk: realtek: Add RTD1625-ISO " Yu-Chun Lin
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=202603250636.b3J5aCGL-lkp@intel.com \
--to=lkp@intel.com \
--cc=afaerber@suse.com \
--cc=conor+dt@kernel.org \
--cc=cy.huang@realtek.com \
--cc=cylee12@realtek.com \
--cc=devicetree@vger.kernel.org \
--cc=eleanor.lin@realtek.com \
--cc=james.tai@realtek.com \
--cc=jyanchou@realtek.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-realtek-soc@lists.infradead.org \
--cc=mturquette@baylibre.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=stanley_chang@realtek.com \
/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