mbox series

[0/2] usb: host: xhci-plat: Introduce XHCI_SUSPEND_RESUME_CLKS quirk

Message ID 1660170455-15781-1-git-send-email-justinpopo6@gmail.com
Headers show
Series usb: host: xhci-plat: Introduce XHCI_SUSPEND_RESUME_CLKS quirk | expand

Message

Justin Chen Aug. 10, 2022, 10:27 p.m. UTC
From: Justin Chen <justinpopo6@gmail.com>

Introduce XHCI_SUSPEND_RESUME_CLKS quirk for turning off clocks during suspend and
turning on clocks on resume. Certain hardware, in our case xhci_plat_brcm, can have
power savings by turning off clocks before hitting suspend states.

Justin Chen (2):
  usb: host: xhci-plat: suspend and resume clocks
  usb: host: xhci-plat: suspend/resume clks for brcm

 drivers/usb/host/xhci-plat.c | 18 ++++++++++++++++--
 drivers/usb/host/xhci.h      |  1 +
 2 files changed, 17 insertions(+), 2 deletions(-)