usb: chipidea: core: add controller resume support when controller is powered off
authorXu Yang <xu.yang_2@nxp.com>
Thu, 13 Oct 2022 15:14:35 +0000 (23:14 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 23 Oct 2022 12:34:53 +0000 (14:34 +0200)
commit74494b33211d067427db25824cd8b53fa0eab1ef
tree4877491bdba8a434d81ce30d05a0ab8a1d794145
parentcaa7b74493f9c903fb6cd4bdec295bcae0507cc6
usb: chipidea: core: add controller resume support when controller is powered off

For some SoCs, the controler's power will be off during the system
suspend, and it needs some recovery operation to let the system back
to workable. We add this support in this patch.

Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Acked-by: Peter Chen <peter.chen@kernel.org>
Link: https://lore.kernel.org/r/20221013151442.3262951-2-xu.yang_2@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/core.c
drivers/usb/chipidea/otg.c
drivers/usb/chipidea/otg.h