Messages in this thread | | | Subject | Re: [PATCH 4/6] usb: xhci-mtk: add support runtime PM | From | Chunfeng Yun <> | Date | Thu, 8 Apr 2021 17:51:35 +0800 |
| |
Hi Ikjoon,
On Thu, 2021-04-08 at 17:35 +0800, Chunfeng Yun wrote: > A dedicated wakeup irq will be used to handle runtime suspend/resume, > we use dev_pm_set_dedicated_wake_irq API to take care of requesting > and attaching wakeup irq, then the suspend/resume framework will help > to enable/disable wakeup irq. > > The runtime PM is default off since some platforms may not support it. > users can enable it via power/control (set "auto") in sysfs. > > Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> > --- > drivers/usb/host/xhci-mtk.c | 140 +++++++++++++++++++++++++++++++----- > 1 file changed, 124 insertions(+), 16 deletions(-)
Please help to test the series on mt8192 chromebook, thanks a lot
| |