Skip to content

Commit adda6e8

Browse files
Stanley Changgregkh
authored andcommitted
phy: realtek: usb: Add driver for the Realtek SoC USB 3.0 PHY
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 134e6d2 commit adda6e8

File tree

3 files changed

+778
-0
lines changed

3 files changed

+778
-0
lines changed

drivers/phy/realtek/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,14 @@ config PHY_RTK_RTD_USB2PHY
1212
The DHC (digital home center) RTD series SoCs used the Synopsys
1313
DWC3 USB IP. This driver will do the PHY initialization
1414
of the parameters.
15+
16+
config PHY_RTK_RTD_USB3PHY
17+
tristate "Realtek RTD USB3 PHY Transceiver Driver"
18+
depends on USB_SUPPORT
19+
select GENERIC_PHY
20+
select USB_PHY
21+
help
22+
Enable this to support Realtek SoC USB3 phy transceiver.
23+
The DHC (digital home center) RTD series SoCs used the Synopsys
24+
DWC3 USB IP. This driver will do the PHY initialization
25+
of the parameters.

drivers/phy/realtek/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# SPDX-License-Identifier: GPL-2.0
22
obj-$(CONFIG_PHY_RTK_RTD_USB2PHY) += phy-rtk-usb2.o
3+
obj-$(CONFIG_PHY_RTK_RTD_USB3PHY) += phy-rtk-usb3.o

0 commit comments

Comments
 (0)