]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
reset: rzg2l-usbphy-ctrl: Add suspend/resume support
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Fri, 9 Jan 2026 14:36:59 +0000 (16:36 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Sat, 24 Jan 2026 15:40:25 +0000 (16:40 +0100)
commitc5b7cd9adefc5c060facaff6f54d3187480e4e1b
tree15049447d9030c3339956ac670342826be20c606
parent2289ccd753deeb2cfe300d97e8697680c1ce556c
reset: rzg2l-usbphy-ctrl: Add suspend/resume support

The RZ/G2L USBPHY control driver is also used on the RZ/G3S SoC.
The RZ/G3S SoC supports a power-saving mode in which power to most USB
components (including the USBPHY control block) is turned off. Because of
this, the USBPHY control block needs to be reconfigured when returning
from power-saving mode.

Add suspend/resume support to handle runtime suspend/resume of the device,
assert/deassert the reset signal, and reinitialize the USBPHY control
block.

Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/reset-rzg2l-usbphy-ctrl.c