usb: gadget: Add function wakeup support
[ Upstream commit f0db885f ] USB3.2 spec section 9.2.5.4 quotes that a function may signal that it wants to exit from Function Suspend by sending a Function Wake Notification to the host if it is enabled for function remote wakeup. Add an api in composite layer that can be used by the function drivers to support this feature. Also expose a gadget op so that composite layer can trigger a wakeup request to the UDC driver. Reviewed-by:Thinh Nguyen <Thinh.Nguyen@synopsys.com> Signed-off-by:
Elson Roy Serrao <quic_eserrao@quicinc.com> Link: https://lore.kernel.org/r/1679694482-16430-4-git-send-email-quic_eserrao@quicinc.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Stable-dep-of: 705e3ce3 ("usb: dwc3: core: Fix system suspend on TI AM62 platforms") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment