Re: [PATCH v14 0/3] airoha: an7581: USB support
From: Christian Marangi (Ansuel)
Date: Tue Oct 06 2026 - 07:09:22 EST
Il giorno mar 6 ott 2026 alle ore 13:04 Vinod Koul <vkoul@xxxxxxxxxx>
ha scritto:
>
> On 06-10-26, 12:47, Christian Marangi (Ansuel) wrote:
> > Il giorno mar 6 ott 2026 alle ore 12:45 Vinod Koul <vkoul@xxxxxxxxxx>
> > ha scritto:
> > >
> > > On 06-10-26, 12:29, Christian Marangi wrote:
> > > > This is a major rework of the old v2 series.
> > > >
> > > > The SoC always support USB 2.0 but for USB 3.0 it needs additional
> > > > configuration for the Serdes port. Such port can be either configured
> > > > for USB usage or for PCIe lines or HSGMII and these are configured
> > > > in the SCU space.
> > > >
> > > > The previous implementation of a dedicated SSR driver was too
> > > > complex and fragile for the simple task of configuring a register
> > > > hence it was dropped and the handling is entirely in the PHY driver.
> > > >
> > > > Everything was reducted to the dt-bindings to describe the Serdes line.
> > > >
> > > > Also the property for the PHY are renamed to a more suitable name and
> > > > everything is now mandatory to simplify the implementation.
> > > > (the PHY are always present and active on the SoC)
> > >
> > > I get build failure:
> > >
> > > drivers/phy/airoha/phy-an7581-usb.c:7:10: fatal error: dt-bindings/soc/airoha,scu-ssr.h: No such file or directory
> > > 7 | #include <dt-bindings/soc/airoha,scu-ssr.h>
> > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > >
> >
> > This header is present in linux-next
> >
> > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/include/dt-bindings/soc/airoha,scu-ssr.h
> > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/include/dt-bindings/soc/airoha,scu-ssr.h?id=11952173d8a180ac05641775f80bd6946327478f
> >
> > Introduced by a clk series.
>
> Okay so we have a cross tree dependency. I would like my tree to be
> buildable and not depend on next.
>
> I can
> a) get a signed tag for this from clk tree with the required patch,
> merge and then apply this series
> b) postpone to rc1
>
> Either works for me
>
Maybe "a" is better for other phy driver? The pcie move patch is blocking
other airoha drivers currently.
What is the procedure? In theory just the dt patch is needed, nothing else.
Thanks a lot for helping in this.