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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Jan 2021 15:51:31 +0000 (16:51 +0100)
commitc25c210f590e7a37eecd865d84f97d1f40e39786
tree4ba87458f7cde71a053ddb7aa71a029b697fc321
parent91369720557bbb0a0792d5bc23f855fd9802bc9c
usb: dwc3: qcom: add URS Host support for sdm845 ACPI boot

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>
drivers/usb/dwc3/dwc3-qcom.c