]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
usb: dwc3: qcom: add URS Host support for sdm845 ACPI boot
authorShawn Guo <shawn.guo@linaro.org>
Fri, 15 Jan 2021 03:50:57 +0000 (11:50 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Wed, 17 Mar 2021 18:48:08 +0000 (13:48 -0500)
commitb61c90c6b8c1f15913b8b0bee8ae60c4e8aa3926
tree6eb601bd81848efb0588e321242d27e9d711df2f
parent67ddf1b55873d8a0294b324cf33ead166493c665
usb: dwc3: qcom: add URS Host support for sdm845 ACPI boot

BugLink: https://bugs.launchpad.net/bugs/1919492
commit c25c210f590e7a37eecd865d84f97d1f40e39786 upstream.

For sdm845 ACPI boot, the URS (USB Role Switch) node in ACPI DSDT table
holds the memory resource, while interrupt resources reside in the child
nodes USB0 and UFN0.  It adds USB0 host support by probing URS node,
creating platform device for USB0 node, and then retrieve interrupt
resources from USB0 platform device.

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Link: https://lore.kernel.org/r/20210115035057.10994-1-shawn.guo@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/usb/dwc3/dwc3-qcom.c