Re: [PATCH 4/7] phy: spacemit: support K1 USB2.0 PHY controller

From: Ze Huang
Date: Wed Apr 09 2025 - 04:18:51 EST


On 4/7/25 9:25 PM, Krzysztof Kozlowski wrote:
On 07/04/2025 14:38, Ze Huang wrote:
+static const struct of_device_id spacemit_usb2phy_dt_match[] = {
+ { .compatible = "spacemit,k1-usb2-phy", },
+ { /* sentinal */ }
+};
+MODULE_DEVICE_TABLE(of, spacemit_usb2phy_dt_match);
+
+static struct platform_driver spacemit_usb2_phy_driver = {
+ .probe = spacemit_usb2phy_probe,
+ .driver = {
+ .name = "spacemit-usb2-phy",
+ .owner = THIS_MODULE,

Take recent drivers and use them as base. There is no such 'owner' since
10 years.

Will follow. Thank you for pointing that out.



Best regards,
Krzysztof