summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc2/platform.c
diff options
context:
space:
mode:
authorJeremy Linton <jeremy.linton@arm.com>2021-04-14 00:58:34 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-22 11:55:54 +0300
commit2e5db2c0e508f10daa348c47c3093d34f0b865c8 (patch)
tree02b11cd0c88ae6f3fb855a5bdd2d82e3aae1bbe6 /drivers/usb/dwc2/platform.c
parente8b767431798b54971811355be7d9ce6cef8ecd2 (diff)
downloadlinux-2e5db2c0e508f10daa348c47c3093d34f0b865c8.tar.xz
usb: dwc2: Enable RPi in ACPI mode
The dwc2 driver has everything we need to run in ACPI mode except for the ACPI module device table boilerplate. With that added and identified as "BCM2848", an id in use by other OSs for this device, the dw2 controller on the BCM2711 will work. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com> Link: https://lore.kernel.org/r/20210413215834.3126447-2-jeremy.linton@arm.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/dwc2/platform.c')
-rw-r--r--drivers/usb/dwc2/platform.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc2/platform.c b/drivers/usb/dwc2/platform.c
index f8b819cfa80e..1249a2307fba 100644
--- a/drivers/usb/dwc2/platform.c
+++ b/drivers/usb/dwc2/platform.c
@@ -752,6 +752,7 @@ static struct platform_driver dwc2_platform_driver = {
.driver = {
.name = dwc2_driver_name,
.of_match_table = dwc2_of_match_table,
+ .acpi_match_table = ACPI_PTR(dwc2_acpi_match),
.pm = &dwc2_dev_pm_ops,
},
.probe = dwc2_driver_probe,