Skip to content

Commit

Permalink
phy: realtek: usb: Add driver for the Realtek SoC USB 3.0 PHY
Browse files Browse the repository at this point in the history
Realtek DHC (digital home center) RTD SoCs support DWC3 XHCI USB
controller. Added the driver to drive the USB 3.0 PHY transceivers.

Signed-off-by: Stanley Chang <stanley_chang@realtek.com>
Link: https://lore.kernel.org/r/20230725033318.8361-3-stanley_chang@realtek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Stanley Chang authored and Greg Kroah-Hartman committed Jul 26, 2023
1 parent 134e6d2 commit adda6e8
Showing 3 changed files with 778 additions and 0 deletions.
11 changes: 11 additions & 0 deletions drivers/phy/realtek/Kconfig
Original file line number Diff line number Diff line change
@@ -12,3 +12,14 @@ config PHY_RTK_RTD_USB2PHY
The DHC (digital home center) RTD series SoCs used the Synopsys
DWC3 USB IP. This driver will do the PHY initialization
of the parameters.

config PHY_RTK_RTD_USB3PHY
tristate "Realtek RTD USB3 PHY Transceiver Driver"
depends on USB_SUPPORT
select GENERIC_PHY
select USB_PHY
help
Enable this to support Realtek SoC USB3 phy transceiver.
The DHC (digital home center) RTD series SoCs used the Synopsys
DWC3 USB IP. This driver will do the PHY initialization
of the parameters.
1 change: 1 addition & 0 deletions drivers/phy/realtek/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_PHY_RTK_RTD_USB2PHY) += phy-rtk-usb2.o
obj-$(CONFIG_PHY_RTK_RTD_USB3PHY) += phy-rtk-usb3.o
Loading

0 comments on commit adda6e8

Please sign in to comment.