Re: [PATCH v2 06/14] phy: allwinner: Add Allwinner A733 USB 2.0 PHY driver

From: Philipp Zabel

Date: Tue Dec 01 2026 - 05:09:23 EST


On Mo, 2026-11-30 at 16:34 +1100, Alastair D'Silva wrote:
> Add USB 2.0 PHY driver for the Allwinner A733 DWC3 controller.
>
> Signed-off-by: Alastair D'Silva <alastair@xxxxxxxxxxx>
> ---
> drivers/phy/allwinner/Kconfig | 12 ++
> drivers/phy/allwinner/Makefile | 1 +
> drivers/phy/allwinner/phy-sun60i-u2phy.c | 232 +++++++++++++++++++++++
> 3 files changed, 245 insertions(+)
> create mode 100644 drivers/phy/allwinner/phy-sun60i-u2phy.c
>
> diff --git a/drivers/phy/allwinner/Kconfig b/drivers/phy/allwinner/Kconfig
> index 7518c4b5c379..f8dc4931378b 100644
> --- a/drivers/phy/allwinner/Kconfig
> +++ b/drivers/phy/allwinner/Kconfig
> @@ -68,3 +68,15 @@ config PHY_SUN60I_COMBOPHY
> help
> Enable this to support the SerDes ComboPHY controller on
> Allwinner A733 SoCs.
> +
> +config PHY_SUN60I_U2PHY
> + tristate "Allwinner A733 USB 2.0 PHY driver"
> + depends on ARCH_SUNXI || COMPILE_TEST
> + depends on HAS_IOMEM && COMMON_CLK && OF
> + depends on RESET_CONTROLLER

Drop the dependency on RESET_CONTROLLER, this is only needed for reset
controller drivers. The consumer API functions have stubs.

regards
Philipp