]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
usb: renesas_usbhs: Assert/de-assert reset signals on suspend/resume
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Thu, 6 Nov 2025 14:36:25 +0000 (16:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Nov 2025 14:11:35 +0000 (15:11 +0100)
commit3578b1cde59496efc4625ba3fbd14eb2918807a2
tree7a6257b015ea392497379b484e3d4a7662f3974c
parente4d9da32bf6059cb485caac4c9c0a2e36cdd5573
usb: renesas_usbhs: Assert/de-assert reset signals on suspend/resume

The Renesas RZ/G3S SoC supports a power-saving mode in which power to most
SoC components is turned off, including the USB subsystem.

To properly restore from such a state, the reset signal needs to be
asserted/de-asserted during suspend/resume. Add reset assert/de-assert on
suspend/resume.

The resume code has been moved into a separate function to allow reusing
it in case reset_control_assert() from suspend fails.

Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Link: https://patch.msgid.link/20251106143625.3050119-5-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/renesas_usbhs/common.c