RE: [PATCH v2 3/3] usb: dwc3: Add Exynos8855 to the generic platform driver

From: Alim Akhtar

Date: Thu Sep 17 2026 - 23:28:08 EST




> -----Original Message-----
> From: Selvarasu Ganesan <selvarasu.g@xxxxxxxxxxx>
> Sent: Wednesday, September 16, 2026 5:52 PM
> To: krzk@xxxxxxxxxx; peter.griffin@xxxxxxxxxx; alim.akhtar@xxxxxxxxxxx;
> gregkh@xxxxxxxxxxxxxxxxxxx; robh@xxxxxxxxxx; conor+dt@xxxxxxxxxx;
> Thinh.Nguyen@xxxxxxxxxxxx; mani@xxxxxxxxxx;
> selvarasu.g@xxxxxxxxxxx; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx; linux-
> samsung-soc@xxxxxxxxxxxxxxx; linux-usb@xxxxxxxxxxxxxxx;
> devicetree@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
> Cc: jh0801.jung@xxxxxxxxxxx; h10.kim@xxxxxxxxxxx;
> dh10.jung@xxxxxxxxxxx; akash.m5@xxxxxxxxxxx;
> hongpooh.kim@xxxxxxxxxxx; eomji.oh@xxxxxxxxxxx;
> shijie.cai@xxxxxxxxxxx; muhammed.ali@xxxxxxxxxxx;
> thiagu.r@xxxxxxxxxxx
> Subject: [PATCH v2 3/3] usb: dwc3: Add Exynos8855 to the generic platform
> driver
>
> Add the "samsung,snps-dwc3" compatible string to dwc3-generic-plat so the
> Exynos8855 USB3 DWC3 controller can probe through the generic DWC3
> platform glue. While at it, alphabetically reorder the existing entries.
>
> The "samsung,snps-dwc3" string is used as a generic fallback to support any
> Exynos SoC that utilizes a flattened model instantiation. This fallback allows
> multiple Exynos SoCs to be supported by the generic platform driver simply
> by adding the fallback compatible to their respective device tree nodes.
>
> Co-developed-by: Muhammed Ali <muhammed.ali@xxxxxxxxxxx>
> Signed-off-by: Muhammed Ali <muhammed.ali@xxxxxxxxxxx>
> Signed-off-by: Selvarasu Ganesan <selvarasu.g@xxxxxxxxxxx>
> ---
Reviewed-by: Alim Akhtar <alim.akhtar@xxxxxxxxxxx>

> drivers/usb/dwc3/dwc3-generic-plat.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/usb/dwc3/dwc3-generic-plat.c b/drivers/usb/dwc3/dwc3-
> generic-plat.c
> index ca69ac0eb07c..10c1146564b7 100644
> --- a/drivers/usb/dwc3/dwc3-generic-plat.c
> +++ b/drivers/usb/dwc3/dwc3-generic-plat.c
> @@ -232,10 +232,11 @@ static const struct dwc3_generic_config
> eic7700_dwc3 = { };
>
> static const struct of_device_id dwc3_generic_of_match[] = {
> + { .compatible = "eswin,eic7700-dwc3", &eic7700_dwc3},
> + { .compatible = "fsl,ls1028a-dwc3", &fsl_ls1028_dwc3},
> + { .compatible = "samsung,snps-dwc3", },
> { .compatible = "spacemit,k1-dwc3", &spacemit_k1_dwc3},
> { .compatible = "spacemit,k3-dwc3", },
> - { .compatible = "fsl,ls1028a-dwc3", &fsl_ls1028_dwc3},
> - { .compatible = "eswin,eic7700-dwc3", &eic7700_dwc3},
> { .compatible = "starfive,jhb100-dwc3", },
> { /* sentinel */ }
> };
> --
> 2.17.1