[PATCH 3/4] usb: dwc3: of-simple: Add support for Agilex5 SoCFPGA

adrianhoyin.ng@altera.com posted 4 patches 5 hours ago
[PATCH 3/4] usb: dwc3: of-simple: Add support for Agilex5 SoCFPGA
Posted by adrianhoyin.ng@altera.com 5 hours ago
From: Adrian Ng Ho Yin <adrianhoyin.ng@altera.com>

Add the compatible string "altr,agilex5-dwc3" to the
dwc3-of-simple driver match table to enable support for the DWC3
controller on Agilex5 SoCFPGA platform.

The DWC3 controller on Agilex5 is instantiated as a child node
under the DWC3 simple glue layer. The simple glue layer is sufficient
for Agilex5 as no platform-specific initialization or custom control
logic is required.

Signed-off-by: Adrian Ng Ho Yin <adrianhoyin.ng@altera.com>
---
 drivers/usb/dwc3/dwc3-of-simple.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/dwc3/dwc3-of-simple.c b/drivers/usb/dwc3/dwc3-of-simple.c
index a4954a21be93..52f9ee236a1e 100644
--- a/drivers/usb/dwc3/dwc3-of-simple.c
+++ b/drivers/usb/dwc3/dwc3-of-simple.c
@@ -174,6 +174,7 @@ static const struct of_device_id of_dwc3_simple_match[] = {
 	{ .compatible = "hisilicon,hi3670-dwc3" },
 	{ .compatible = "hisilicon,hi3798mv200-dwc3" },
 	{ .compatible = "intel,keembay-dwc3" },
+	{ .compatible = "altr,agilex5-dwc3" },
 	{ /* Sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, of_dwc3_simple_match);
-- 
2.49.GIT