Re: [PATCH v1 3/4] usb: dwc3: Add Google SoC USB PHY driver

From: Roy Luo

Date: Tue Oct 07 2025 - 14:58:33 EST


On Mon, Oct 6, 2025 at 10:51 PM Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Mon, Oct 06, 2025 at 11:21:24PM +0000, Roy Luo wrote:
> > Support the USB PHY found on Google Tensor SoCs.
>
> That's great, but that's not what your subject line says (it says "usb:
> dwc3")

Will change the title prefix to phy in the next patchset.

>
> > This particular USB PHY supports both high-speed and super-speed
> > operations, and is paired with the SNPS DWC3 controller that's also
> > integrated on the SoCs.
> > This initial patch specifically adds functionality for high-speed.
> >
> > Co-developed-by: Joy Chakraborty <joychakr@xxxxxxxxxx>
> > Signed-off-by: Joy Chakraborty <joychakr@xxxxxxxxxx>
> > Co-developed-by: Naveen Kumar <mnkumar@xxxxxxxxxx>
> > Signed-off-by: Naveen Kumar <mnkumar@xxxxxxxxxx>
> > Signed-off-by: Roy Luo <royluo@xxxxxxxxxx>
> > ---
> > drivers/phy/Kconfig | 1 +
> > drivers/phy/Makefile | 1 +
> > drivers/phy/google/Kconfig | 15 ++
> > drivers/phy/google/Makefile | 2 +
> > drivers/phy/google/phy-google-usb.c | 286 ++++++++++++++++++++++++++++
>
> And as others said, you don't need a whole new directory for one single
> .c file.
>
> thanks,
>
> greg k-h

The USB phy on Google Tensor G5 is no longer based on Samsung/Exynos
IP, hence we need a new driver for it.
Acknowledge that we don't need a new directory just for one file, will move
it to the drivers/phy directory in the next patchset.

Thanks,
Roy Luo