Re: [PATCH v14 0/3] airoha: an7581: USB support

From: Christian Marangi (Ansuel)

Date: Tue Oct 06 2026 - 06:49:06 EST


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.