Re: [PATCH 3/4] usb: dwc3: of-simple: Add support for Agilex5 SoCFPGA
From: Thinh Nguyen
Date: Thu Nov 13 2025 - 20:37:57 EST
On Tue, Nov 11, 2025, adrianhoyin.ng@xxxxxxxxxx wrote:
> From: Adrian Ng Ho Yin <adrianhoyin.ng@xxxxxxxxxx>
>
> 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.
>
As noted by Krzysztof Kozlowski, use the new flatten model and
dwc3-generic-plat driver.
BR,
Thinh
> Signed-off-by: Adrian Ng Ho Yin <adrianhoyin.ng@xxxxxxxxxx>
> ---
> 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
>