From: Arnd Bergmann <arnd@kernel.org>
To: Philipp Zabel <p.zabel@pengutronix.de>,
Biju Das <biju.das.jz@bp.renesas.com>
Cc: "Arnd Bergmann" <arnd@arndb.de>,
"Brian Masney" <bmasney@redhat.com>,
"Tommaso Merciai" <tommaso.merciai.xr@bp.renesas.com>,
"Xuyang Dong" <dongxuyang@eswincomputing.com>,
"Drew Fustini" <fustini@kernel.org>,
"Junhui Liu" <junhui.liu@pigmoral.tech>,
"Guodong Xu" <guodong.xu@linux.dev>,
"Joakim Zhang" <joakim.zhang@cixtech.com>,
"Anirudh Srinivasan" <asrinivasan@oss.tenstorrent.com>,
"Sven Peter" <sven@kernel.org>,
"Benoît Monin" <benoit.monin@bootlin.com>,
"Robert Marko" <robert.marko@sartura.hr>,
linux-kernel@vger.kernel.org
Subject: [PATCH] reset: rzg2l-usbphy-ctrl: add power sequencing dependency
Date: Thu, 12 Nov 2026 14:32:03 +0100 [thread overview]
Message-ID: <20261112133210.3004176-1-arnd@kernel.org> (raw)
From: Arnd Bergmann <arnd@arndb.de>
The dependency on CONFIG_POWER_SEQUENCING is ignored when
ARCH_RZG2L is enabled, and this can lead to a build failure
when power sequencing is in a loadable module but the
reset driver is built-in:
drivers/reset/reset-rzg2l-usbphy-ctrl.o: in function `rzg2l_usbphy_ctrl_suspend':
reset-rzg2l-usbphy-ctrl.c:(.text+0x21c): undefined reference to `pwrseq_disable'
Change the dependency to always depend on the power sequencing
interface.
Fixes: 5ca65d048910 ("reset: rzg2l-usbphy-ctrl: Add RZ/G3L support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/reset/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index c63e26f0ac47..acebf03d3da7 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -279,7 +279,8 @@ config RESET_RASPBERRYPI
config RESET_RZG2L_USBPHY_CTRL
tristate "Renesas RZ/G2L USBPHY control driver"
- depends on ARCH_RZG2L || (COMPILE_TEST && POWER_SEQUENCING)
+ depends on ARCH_RZG2L || COMPILE_TEST
+ depends on POWER_SEQUENCING
select MFD_SYSCON
help
Support for USBPHY Control found on RZ/G2L family. It mainly
--
2.53.0
next reply other threads:[~2026-11-12 13:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-12 13:32 Arnd Bergmann [this message]
2026-11-12 14:06 ` Philipp Zabel
2026-11-12 14:25 ` Philipp Zabel
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=20261112133210.3004176-1-arnd@kernel.org \
--to=arnd@kernel.org \
--cc=arnd@arndb.de \
--cc=asrinivasan@oss.tenstorrent.com \
--cc=benoit.monin@bootlin.com \
--cc=biju.das.jz@bp.renesas.com \
--cc=bmasney@redhat.com \
--cc=dongxuyang@eswincomputing.com \
--cc=fustini@kernel.org \
--cc=guodong.xu@linux.dev \
--cc=joakim.zhang@cixtech.com \
--cc=junhui.liu@pigmoral.tech \
--cc=linux-kernel@vger.kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=robert.marko@sartura.hr \
--cc=sven@kernel.org \
--cc=tommaso.merciai.xr@bp.renesas.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
all inboxes | Powered by JetHome®