[PATCH v2 0/2] riscv: spacemit: Add K3 PCIe/USB comb phy support
Inochi Amaoto <[email protected]> Fri, 3 Jul 2026 10:10:21 +0800
| Newsgroups | dev.linux.lists.spacemit,org.infradead.lists.linux-phy,org.infradead.lists.linux-riscv,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-hardening,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
The PCIe/USB comb phy on K3 is a big phy that contains multiple standalone phys for each PCIe and USB controllers. This phy is required to configure a syscon device for mux configuration and calibration. Changed from v1: patch 1: 1. Add extra description for "#phy-cells" and "spacemit,apmu" patch 2: 1. Fix multiple spelling errors and copy-paste errors. 2. Make some magic number as meaningful macros. 3. Remove USB3 set_speed() callback as it is not needed. 4. Fix the wrong land data config and mask. Inochi Amaoto (2): dt-bindings: phy: Add Spacemit K3 USB3/PCIe comb phy support phy: spacemit: Add USB3/PCIe comb PHY driver for Spacemit K3 .../bindings/phy/spacemit,k3-combo-phy.yaml | 68 +++ drivers/phy/spacemit/Kconfig | 16 + drivers/phy/spacemit/Makefile | 2 + drivers/phy/spacemit/phy-k3-combo.c | 252 +++++++++++ drivers/phy/spacemit/phy-k3-common.c | 391 ++++++++++++++++++ drivers/phy/spacemit/phy-k3-common.h | 27 ++ 6 files changed, 756 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/spacemit,k3-combo-phy.yaml create mode 100644 drivers/phy/spacemit/phy-k3-combo.c create mode 100644 drivers/phy/spacemit/phy-k3-common.c create mode 100644 drivers/phy/spacemit/phy-k3-common.h -- 2.55.0