Re: [PATCH v5 2/2] usb: dwc3: eic7700: Add EIC7700 USB driver

Krzysztof Kozlowski
2025-11-04T07:59:18Z

On 04/11/2025 07:52, caohang@eswincomputing.com wrote:
> From: Hang Cao <caohang@eswincomputing.com>
>
> Add the eic7700 usb driver, which is responsible for
> identifying,configuring and connecting usb devices.
>
> Signed-off-by: Senchuan Zhang <zhangsenchuan@eswincomputing.com>
> Signed-off-by: Hang Cao <caohang@eswincomputing.com>

...

> +
> static int dwc3_generic_probe(struct platform_device *pdev)
> {
> const struct dwc3_properties *properties;
> @@ -83,6 +119,12 @@ static int dwc3_generic_probe(struct platform_device *pdev)
> else
> probe_data.properties = DWC3_DEFAULT_PROPERTIES;
>
> + if (of_device_is_compatible(dev->of_node, "eswin,eic7700-dwc3")) {

No, you have driver match data for that.

Best regards,
Krzysztof