Skip to content
This repository was archived by the owner on Oct 5, 2018. It is now read-only.

Commit 82ea179

Browse files
zhangfeigaokoenkooi
authored andcommitted
phy: add phy-hisi
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
1 parent 1c5cc1a commit 82ea179

File tree

4 files changed

+382
-1
lines changed

4 files changed

+382
-1
lines changed

drivers/usb/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
obj-$(CONFIG_USB) += core/
88

9+
obj-$(CONFIG_USB_SUPPORT) += phy/
910
obj-$(CONFIG_USB_DWC3) += dwc3/
1011
obj-$(CONFIG_USB_DWC2) += dwc2/
1112
obj-$(CONFIG_USB_ISP1760) += isp1760/
@@ -48,7 +49,6 @@ obj-$(CONFIG_USB_MICROTEK) += image/
4849
obj-$(CONFIG_USB_SERIAL) += serial/
4950

5051
obj-$(CONFIG_USB) += misc/
51-
obj-$(CONFIG_USB_SUPPORT) += phy/
5252
obj-$(CONFIG_EARLY_PRINTK_DBGP) += early/
5353

5454
obj-$(CONFIG_USB_ATM) += atm/

drivers/usb/phy/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,14 @@ config USB_MXS_PHY
173173

174174
MXS Phy is used by some of the i.MX SoCs, for example imx23/28/6x.
175175

176+
config USB_HISI_PHY
177+
tristate "hisi USB PHY support"
178+
select USB_PHY
179+
help
180+
Enable this to support the HISI USB PHY.
181+
182+
To compile this driver as a module, choose M here.
183+
176184
config USB_RCAR_PHY
177185
tristate "Renesas R-Car USB PHY support"
178186
depends on USB || USB_GADGET

drivers/usb/phy/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ obj-$(CONFIG_SAMSUNG_USBPHY) += phy-samsung-usb.o
1818
obj-$(CONFIG_TWL6030_USB) += phy-twl6030-usb.o
1919
obj-$(CONFIG_USB_EHCI_TEGRA) += phy-tegra-usb.o
2020
obj-$(CONFIG_USB_GPIO_VBUS) += phy-gpio-vbus-usb.o
21+
obj-$(CONFIG_USB_HISI_PHY) += phy-hisi.o
2122
obj-$(CONFIG_USB_ISP1301) += phy-isp1301.o
2223
obj-$(CONFIG_USB_MSM_OTG) += phy-msm-usb.o
2324
obj-$(CONFIG_USB_MV_OTG) += phy-mv-usb.o

0 commit comments

Comments
 (0)