Thread (11 messages) 11 messages, 2 authors, 4d ago

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

flat view

From: "Christian Marangi (Ansuel)" <ansuelsmth@gmail.com>
Date: 2026-10-06 10:48:02
Also in: linux-devicetree, linux-phy, lkml

Il giorno mar 6 ott 2026 alle ore 12:45 Vinod Koul [off-list ref]
ha scritto:
On 06-10-26, 12:29, Christian Marangi wrote:
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help