All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Kyle Hendry" <khendry@reliablecontrols.com>
Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
	robh@kernel.org, conor+dt@kernel.org,
	wsa+renesas@sang-engineering.com
Subject: Re: [PATCH v3 2/3] clk: renesas: r9a06g032: Add reset controller
Date: Wed, 25 Nov 2026 16:16:37 +0000	[thread overview]
Message-ID: <sashiko-outbox-233736@kernel.org> (raw)
In-Reply-To: <20261125-rzn1-miic-resets-v3-2-f25a4b656d71@reliablecontrols.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] clk: renesas: r9a06g032: missing RESET_CONTROLLER Kconfig
  selection
--

commit 7a7dcd672790275a8fba3dc76bd11b687249bdde
Author: Kyle Hendry <khendry@reliablecontrols.com>

clk: renesas: r9a06g032: Add reset controller

This commit registers a reset controller in the R9A06G032 clock driver to
expose the timestamp and RGMII/RMII converter reset lines in the
PWRCTRL_SWITCHCTRL register.

> diff --git a/drivers/clk/renesas/r9a06g032-clocks.c b/drivers/clk/renesas/r9a06g032-clocks.c
> index 3df3f2b2c6de7..fc4433c3d3272 100644
> --- a/drivers/clk/renesas/r9a06g032-clocks.c
> +++ b/drivers/clk/renesas/r9a06g032-clocks.c

[ ... ]

> @@ -1394,6 +1446,13 @@ static int __init r9a06g032_clocks_probe(struct platform_device *pdev)
>  	if (error)
>  		return error;
>  
> +	clocks->rcdev.ops = &r9a06g032_reset_ops;
> +	clocks->rcdev.of_node = np;
> +	clocks->rcdev.nr_resets = ARRAY_SIZE(r9a06g032_resets);
> +	error =  devm_reset_controller_register(dev, &clocks->rcdev);
> +	if (error)
> +		return error;

[Severity: Medium]
Should config CLK_R9A06G032 in drivers/clk/renesas/Kconfig select
RESET_CONTROLLER?

Without that selection, builds with CONFIG_CLK_R9A06G032=y and
CONFIG_RESET_CONTROLLER=n compile devm_reset_controller_register() to a
no-op stub that returns 0, leaving the reset controller unregistered so
consumers such as pcs-rzn1-miic fail to probe with -EOPNOTSUPP.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261125-rzn1-miic-resets-v3-0-f25a4b656d71@reliablecontrols.com?part=2

  reply	other threads:[~2026-11-25 16:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 15:53 [PATCH v3 0/3] clk: renesas: r9a06g032: Add reset controller to clear resets for mii converter Kyle Hendry
2026-11-25 15:53 ` Kyle Hendry via B4 Relay
2026-11-25 15:53 ` [PATCH v3 1/3] dt-bindings: clock: r9a06g032-sysctrl: Document reset cells Kyle Hendry
2026-11-25 15:53   ` Kyle Hendry via B4 Relay
2026-11-25 18:59   ` Wolfram Sang
2026-11-25 15:53 ` [PATCH v3 2/3] clk: renesas: r9a06g032: Add reset controller Kyle Hendry
2026-11-25 15:53   ` Kyle Hendry via B4 Relay
2026-11-25 16:16   ` sashiko-bot [this message]
2026-11-25 19:04   ` Wolfram Sang
2026-11-25 19:50     ` Kyle Hendry
2026-11-25 15:53 ` [PATCH v3 3/3] ARM: dts: renesas: r9a06g032: Add #reset-cells to system controller node Kyle Hendry
2026-11-25 15:53   ` Kyle Hendry via B4 Relay

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=sashiko-outbox-233736@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=khendry@reliablecontrols.com \
    --cc=linux-clk@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=wsa+renesas@sang-engineering.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.