Commit 31de313d authored by 周琰杰 (Zhou Yanjie)'s avatar 周琰杰 (Zhou Yanjie) Committed by Vinod Koul

PHY: Ingenic: Add USB PHY driver using generic PHY framework.

Used the generic PHY framework API to create the PHY, this driver
supoorts USB OTG PHY used in JZ4770 SoC, JZ4775 SoC, JZ4780 SoC,
X1000 SoC, X1830 SoC and X2000 SoC.
Co-developed-by: default avatar漆鹏振 (Qi Pengzhen) <aric.pzqi@ingenic.com>
Signed-off-by: default avatar漆鹏振 (Qi Pengzhen) <aric.pzqi@ingenic.com>
Signed-off-by: default avatar周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Tested-by: default avatar周正 (Zhou Zheng) <sernia.zhou@foxmail.com>
Tested-by: default avatarH. Nikolaus Schaller <hns@goldelico.com>
Reviewed-by: default avatarPaul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20201116141906.11758-4-zhouyanjie@wanyeetech.comSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 4f6ecfaf
......@@ -66,6 +66,7 @@ source "drivers/phy/broadcom/Kconfig"
source "drivers/phy/cadence/Kconfig"
source "drivers/phy/freescale/Kconfig"
source "drivers/phy/hisilicon/Kconfig"
source "drivers/phy/ingenic/Kconfig"
source "drivers/phy/lantiq/Kconfig"
source "drivers/phy/marvell/Kconfig"
source "drivers/phy/mediatek/Kconfig"
......
......@@ -15,6 +15,7 @@ obj-y += allwinner/ \
cadence/ \
freescale/ \
hisilicon/ \
ingenic/ \
intel/ \
lantiq/ \
marvell/ \
......
# SPDX-License-Identifier: GPL-2.0
#
# Phy drivers for Ingenic platforms
#
config PHY_INGENIC_USB
tristate "Ingenic SoCs USB PHY Driver"
depends on MIPS || COMPILE_TEST
depends on USB_SUPPORT
select GENERIC_PHY
help
This driver provides USB PHY support for the USB controller found
on the JZ-series and X-series SoCs from Ingenic.
# SPDX-License-Identifier: GPL-2.0
obj-y += phy-ingenic-usb.o
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment