Commit 3578b1c
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>1 parent e4d9da3 commit 3578b1c
1 file changed
Lines changed: 26 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
827 | 827 | | |
828 | 828 | | |
829 | 829 | | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
830 | 845 | | |
831 | 846 | | |
832 | 847 | | |
833 | 848 | | |
| 849 | + | |
834 | 850 | | |
835 | 851 | | |
836 | 852 | | |
| |||
840 | 856 | | |
841 | 857 | | |
842 | 858 | | |
843 | | - | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
844 | 864 | | |
845 | 865 | | |
846 | 866 | | |
847 | 867 | | |
848 | 868 | | |
849 | | - | |
850 | | - | |
851 | | - | |
852 | | - | |
853 | | - | |
854 | | - | |
| 869 | + | |
855 | 870 | | |
856 | | - | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
857 | 874 | | |
858 | | - | |
| 875 | + | |
859 | 876 | | |
860 | 877 | | |
861 | 878 | | |
| |||
0 commit comments