summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc2/core.h
diff options
context:
space:
mode:
authorJeremy Linton <jeremy.linton@arm.com>2021-04-13 16:58:34 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-22 10:55:54 +0200
commit2e5db2c0e508f10daa348c47c3093d34f0b865c8 (patch)
tree02b11cd0c88ae6f3fb855a5bdd2d82e3aae1bbe6 /drivers/usb/dwc2/core.h
parente8b767431798b54971811355be7d9ce6cef8ecd2 (diff)
downloadlinux-next-2e5db2c0e508f10daa348c47c3093d34f0b865c8.tar.gz
linux-next-2e5db2c0e508f10daa348c47c3093d34f0b865c8.zip
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/core.h')
-rw-r--r--drivers/usb/dwc2/core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/dwc2/core.h b/drivers/usb/dwc2/core.h
index 8c12b3061f7f..e9277010ba0d 100644
--- a/drivers/usb/dwc2/core.h
+++ b/drivers/usb/dwc2/core.h
@@ -38,6 +38,7 @@
#ifndef __DWC2_CORE_H__
#define __DWC2_CORE_H__
+#include <linux/acpi.h>
#include <linux/phy/phy.h>
#include <linux/regulator/consumer.h>
#include <linux/usb/gadget.h>
@@ -1342,6 +1343,7 @@ irqreturn_t dwc2_handle_common_intr(int irq, void *dev);
/* The device ID match table */
extern const struct of_device_id dwc2_of_match_table[];
+extern const struct acpi_device_id dwc2_acpi_match[];
int dwc2_lowlevel_hw_enable(struct dwc2_hsotg *hsotg);
int dwc2_lowlevel_hw_disable(struct dwc2_hsotg *hsotg);