Linux clock framework development
 help / color / mirror / Atom feed
From: Alex Elder <elder@riscstar.com>
To: sashiko-reviews@lists.linux.dev
Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
	robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v4 3/4] reset: toshiba: introduce a TC9564 reset driver
Date: Tue, 1 Dec 2026 12:22:52 -0600	[thread overview]
Message-ID: <93ecbd72-7cde-4399-ada3-e13b1455a6c3@riscstar.com> (raw)
In-Reply-To: <sashiko-outbox-243665@kernel.org>

On 12/1/26 10:16 AM, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential
> issue to consider:
> - [Medium] reset: tc9564: missing select AUXILIARY_BUS in Kconfig causes
>    link failure

Yes, I will fix this in v5 (which I will send in the next day
or so unless I get substantial feedback before then).

> --
> 
> commit ddbbc3eed2e024c35658a17b6bfba3123a686580
> Author: Alex Elder <elder@kernel.org>
> 
> reset: toshiba: introduce a TC9564 reset driver
> 
> This commit introduces an auxiliary device driver for the Toshiba TC9564
> reset controller and adds its Kconfig and Makefile entries.
> 
>> diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
>> index 673bca1e594e0..fe46877ea1cda 100644
>> --- a/drivers/reset/Kconfig
>> +++ b/drivers/reset/Kconfig
>> @@ -369,6 +369,13 @@ config RESET_SUNXI
>>   	help
>>   	  This enables the reset driver for Allwinner SoCs.
>>   
>> +config RESET_TC9564
>> +	tristate "Toshiba TC9564 reset controller driver"
>> +	help
>> +	  This enables support for the reset controller embedded in the
>> +	  Toshiba TC9564 SoC.  The device is created by the TC9564 clock
>> +	  controller driver as an auxiliary device.
>> +
> 
> [Severity: Medium]
> Should RESET_TC9564 select AUXILIARY_BUS?
> 
> reset-tc9564.c uses module_auxiliary_driver(), so enabling RESET_TC9564
> without another symbol selecting AUXILIARY_BUS fails to link with
> undefined references to __auxiliary_driver_register() and
> auxiliary_driver_unregister().

Yes, RESET_TC9564 needs to select AUXILIARY_BUS for exactly
the reason stated.  My cross-compile builds using "defconfig"
did not catch this, because AUXILIARY_BUS is already enabled
for arm64, arm, riscv, loongarch, and mips.

					-Alex

  reply	other threads:[~2026-12-01 18:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 16:08 [PATCH v4 0/4] clk: tc9564: introduce clock and reset drivers Alex Elder
2026-12-01 16:08 ` [PATCH v4 1/4] dt-bindings: toshiba: introduce toshiba,tc9564-clock.yaml Alex Elder
2026-12-01 16:08 ` [PATCH v4 2/4] clk: toshiba: introduce a TC9564 clock driver Alex Elder
2026-12-01 16:21   ` sashiko-bot
2026-12-01 18:22     ` Alex Elder
2026-12-01 16:08 ` [PATCH v4 3/4] reset: toshiba: introduce a TC9564 reset driver Alex Elder
2026-12-01 16:16   ` sashiko-bot
2026-12-01 18:22     ` Alex Elder [this message]
2026-12-01 17:11   ` Philipp Zabel
2026-12-01 18:36   ` Lorenzo Bianconi
2026-12-01 16:08 ` [PATCH v4 4/4] arm64: dts: qcom: qcs6490-rb3gen2: add TC9564 clock node Alex Elder

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=93ecbd72-7cde-4399-ada3-e13b1455a6c3@riscstar.com \
    --to=elder@riscstar.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-clk@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