Skip to content

riscv: sophgo: add USB phy support for CV18XX series

Inochi Amaoto linux-devicetree linux-phy linux-riscv lkml sophgo 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 1 replyApplied
  2. v42 patches 7 repliesSuperseded

Changes in v5 from the cover letter

- https://lore.kernel.org/all/[email protected]
1. patch 1: apply Conor's tag
2. patch 2: remove dr_mode debugfs entry.
3. patch 2: simplify the cv1800_usb_phy_set_clock function

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/2dt-bindings: phy: Add Sophgo CV1800 USB phyDocumentation/devicetree/bindings/phy/sophgo,cv1800b-usb2-phy.yaml+54 -00 replies
2/2phy: sophgo: Add USB 2.0 PHY driver for Sophgo CV18XX/SG200Xdrivers/phy/Kconfig drivers/phy/Makefile drivers/phy/sophgo/Kconfig +2 more+193 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchConor DooleyAlexander Sverdlin
1/2A-b
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/2] riscv: sophgo: add USB phy support for CV18XX series

Add USB PHY support for CV18XX/SG200X series

Changed from v4:
- https://lore.kernel.org/all/[email protected]
1. patch 1: apply Conor's tag
2. patch 2: remove dr_mode debugfs entry.
3. patch 2: simplify the cv1800_usb_phy_set_clock function

Changed from v3:
- https://lore.kernel.org/all/IA1PR20MB4953C1876484E149AA390DD5BB1D2@IA1PR20MB4953.namprd20.prod.outlook.com/
1. patch 1: remove vbus-gpio, switch-gpio and dr_mode properties.
2. patch 2: remove all logic related to the bindings change.
3. remove the syscon header file.

Changed from v2:
1. add item description for switch gpios.

Changed from v1:
1. remove dr_mode property and use default mode instead.
2. improve the description of vbus_det-gpios and sophgo,switch-gpios

Inochi Amaoto (2):
dt-bindings: phy: Add Sophgo CV1800 USB phy
phy: sophgo: Add USB 2.0 PHY driver for Sophgo CV18XX/SG200X

 .../bindings/phy/sophgo,cv1800b-usb2-phy.yaml |  54 ++++++
 drivers/phy/Kconfig                           |   1 +
 drivers/phy/Makefile                          |   1 +
 drivers/phy/sophgo/Kconfig                    |  19 ++
 drivers/phy/sophgo/Makefile                   |   2 +
 drivers/phy/sophgo/phy-cv1800-usb2.c          | 170 ++++++++++++++++++
 6 files changed, 247 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/phy/sophgo,cv1800b-usb2-phy.yaml
 create mode 100644 drivers/phy/sophgo/Kconfig
 create mode 100644 drivers/phy/sophgo/Makefile
 create mode 100644 drivers/phy/sophgo/phy-cv1800-usb2.c

--
2.50.0