diff mbox series

[v3,7/8] usb: dwc3: Add Qualcomm DWC3 compatible string

Message ID 20200910140006.87531-8-robert.marko@sartura.hr
State Accepted
Commit 74a703a8aded58dac2ed3373447c6a4fc2d467c9
Delegated to: Tom Rini
Headers show
Series IPQ40xx: Improve support | expand

Commit Message

Robert Marko Sept. 10, 2020, 2 p.m. UTC
Lot of Qualcomm SoC-s use DWC3 controller for both USB2.0 and USB3.0
ports.
Qualcomm has some custom config registers on top of the generic ones,
but for host mode these are not needed.

So lets add the neccessary compatible string.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Cc: Luka Perkov <luka.perkov@sartura.hr>
---
 drivers/usb/dwc3/dwc3-generic.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini Sept. 19, 2020, 12:34 p.m. UTC | #1
On Thu, Sep 10, 2020 at 04:00:05PM +0200, Robert Marko wrote:

> Lot of Qualcomm SoC-s use DWC3 controller for both USB2.0 and USB3.0
> ports.
> Qualcomm has some custom config registers on top of the generic ones,
> but for host mode these are not needed.
> 
> So lets add the neccessary compatible string.
> 
> Signed-off-by: Robert Marko <robert.marko@sartura.hr>
> Cc: Luka Perkov <luka.perkov@sartura.hr>

Applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/drivers/usb/dwc3/dwc3-generic.c b/drivers/usb/dwc3/dwc3-generic.c
index 551f682024..7fbf2502fa 100644
--- a/drivers/usb/dwc3/dwc3-generic.c
+++ b/drivers/usb/dwc3/dwc3-generic.c
@@ -449,6 +449,7 @@  static const struct udevice_id dwc3_glue_ids[] = {
 	{ .compatible = "ti,am654-dwc3" },
 	{ .compatible = "rockchip,rk3328-dwc3" },
 	{ .compatible = "rockchip,rk3399-dwc3" },
+	{ .compatible = "qcom,dwc3" },
 	{ }
 };