[PATCH 0/3] Add USB support for Sophgo CV1800/SG200x SoCs

Yao Zi ziyao at disroot.org
Mon Jul 8 05:08:27 PDT 2024


Sophgo CV1800/SG200x SoCs integrate a USB 2.0 phy and a USB 2.0
controller based on dwc2 IP. This series implements a basic driver
for the USB phy and add USB-related device tree nodes.

Yao Zi (3):
  dt-bindings: phy: add YAML schema for cv1800-usb-phy driver bindings
  riscv: dts: sophgo: add nodes for USB phy and controller
  phy: sophgo: add usb phy driver for Sophgo CV1800 SoCs

 .../bindings/phy/sophgo,cv1800-usb-phy.yaml   |  67 ++++++
 arch/riscv/boot/dts/sophgo/cv18xx.dtsi        |  23 ++
 drivers/phy/Kconfig                           |   1 +
 drivers/phy/Makefile                          |   1 +
 drivers/phy/sophgo/Kconfig                    |  10 +
 drivers/phy/sophgo/Makefile                   |   2 +
 drivers/phy/sophgo/phy-cv1800-usb.c           | 213 ++++++++++++++++++
 7 files changed, 317 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/phy/sophgo,cv1800-usb-phy.yaml
 create mode 100644 drivers/phy/sophgo/Kconfig
 create mode 100644 drivers/phy/sophgo/Makefile
 create mode 100644 drivers/phy/sophgo/phy-cv1800-usb.c

-- 
2.45.2




More information about the linux-riscv mailing list