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

Krzysztof Kozlowski krzk at kernel.org
Mon Apr 7 06:25:50 PDT 2025


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.


Best regards,
Krzysztof



More information about the linux-riscv mailing list