public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/4] airoha: an7581: USB support
@ 2026-03-06 19:01 Christian Marangi
  2026-03-06 19:01 ` [PATCH v6 1/4] dt-bindings: soc: Add bindings for Airoha SCU Serdes lines Christian Marangi
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Christian Marangi @ 2026-03-06 19:01 UTC (permalink / raw)
  To: Christian Marangi, Vinod Koul, Neil Armstrong, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Lorenzo Bianconi,
	linux-arm-kernel, linux-phy, devicetree, linux-kernel

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)

Also other unrelated patch are dropped from this series.

Changes v6:
- Fix kernel test robot (sparse warning)

Changes v5:
- Add Ack and Review tag from Connor
- Implement Ethernet support in the USB driver
  (testing support for this Serdes on a special reference board)
- Use an7581 prefix for USB PHY driver
  Link: https://lore.kernel.org/all/20251107160251.2307088-1-ansuelsmth@gmail.com/

Changes v4:
- Rename PCIe and USB PHY to AN7581
- Drop airoha,scu (handled directly in driver)
- Drop dt-bindings for monitor clock in favor of raw values
- Better describe the usage of airoha,usb3-serdes
- Simplify values of dt-bindings SSR SERDES
  Link: https://lore.kernel.org/all/20251107160251.2307088-1-ansuelsmth@gmail.com/

Changes v3:
- Drop clk changes
- Drop SSR driver
- Rename property in Documentation
- Simplify PHY handling
- Move SSR handling inside the PHY driver
  Link: https://lore.kernel.org/all/20251029173713.7670-1-ansuelsmth@gmail.com/

Changes v2:
- Drop changes for simple-mfd
- Rework PHY node structure to single node
- Drop port-id property in favor of serdes-port and
  usb2-monitor-clock-sel
- Make the SSR driver probe from the clock driver

Christian Marangi (4):
  dt-bindings: soc: Add bindings for Airoha SCU Serdes lines
  dt-bindings: phy: Add documentation for Airoha AN7581 USB PHY
  phy: move and rename Airoha PCIe PHY driver to dedicated directory
  phy: airoha: Add support for Airoha AN7581 USB PHY

 .../bindings/phy/airoha,an7581-usb-phy.yaml   |   71 +
 MAINTAINERS                                   |   11 +-
 drivers/phy/Kconfig                           |   11 +-
 drivers/phy/Makefile                          |    4 +-
 drivers/phy/airoha/Kconfig                    |   23 +
 drivers/phy/airoha/Makefile                   |    4 +
 drivers/phy/airoha/phy-an7581-pcie-regs.h     |  494 +++++++
 drivers/phy/airoha/phy-an7581-pcie.c          | 1290 +++++++++++++++++
 drivers/phy/airoha/phy-an7581-usb.c           |  640 ++++++++
 include/dt-bindings/soc/airoha,scu-ssr.h      |   11 +
 10 files changed, 2545 insertions(+), 14 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/phy/airoha,an7581-usb-phy.yaml
 create mode 100644 drivers/phy/airoha/Kconfig
 create mode 100644 drivers/phy/airoha/Makefile
 create mode 100644 drivers/phy/airoha/phy-an7581-pcie-regs.h
 create mode 100644 drivers/phy/airoha/phy-an7581-pcie.c
 create mode 100644 drivers/phy/airoha/phy-an7581-usb.c
 create mode 100644 include/dt-bindings/soc/airoha,scu-ssr.h

-- 
2.51.0


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2026-03-13 18:36 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-06 19:01 [PATCH v6 0/4] airoha: an7581: USB support Christian Marangi
2026-03-06 19:01 ` [PATCH v6 1/4] dt-bindings: soc: Add bindings for Airoha SCU Serdes lines Christian Marangi
2026-03-07 10:29   ` Krzysztof Kozlowski
2026-03-06 19:01 ` [PATCH v6 2/4] dt-bindings: phy: Add documentation for Airoha AN7581 USB PHY Christian Marangi
2026-03-07 10:31   ` Krzysztof Kozlowski
2026-03-07 10:34     ` Christian Marangi
2026-03-06 19:01 ` [PATCH v6 3/4] phy: move and rename Airoha PCIe PHY driver to dedicated directory Christian Marangi
2026-03-06 19:01 ` [PATCH v6 4/4] phy: airoha: Add support for Airoha AN7581 USB PHY Christian Marangi
2026-03-07 10:32   ` Krzysztof Kozlowski
2026-03-07 10:37     ` Christian Marangi
2026-03-07 10:40       ` Krzysztof Kozlowski
2026-03-07 10:57         ` Christian Marangi
2026-03-07 16:38           ` Krzysztof Kozlowski
2026-03-07 18:47             ` Christian Marangi
2026-03-13 18:36               ` Krzysztof Kozlowski
2026-03-07 10:28 ` [PATCH v6 0/4] airoha: an7581: USB support Krzysztof Kozlowski
2026-03-07 11:00   ` Christian Marangi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox