forked from torvalds/linux
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
USB: PHY: JZ4770: Use the generic PHY framework.
Used the generic PHY framework API to create the PHY, and move the driver to driver/phy/ingenic. Tested-by: 周正 (Zhou Zheng) <sernia.zhou@foxmail.com> Co-developed-by: 漆鹏振 (Qi Pengzhen) <aric.pzqi@ingenic.com> Signed-off-by: 漆鹏振 (Qi Pengzhen) <aric.pzqi@ingenic.com> Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
- Loading branch information
1 parent
b36c969
commit ab23f57
Showing
7 changed files
with
155 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ obj-y += allwinner/ \ | |
cadence/ \ | ||
freescale/ \ | ||
hisilicon/ \ | ||
ingenic/ \ | ||
intel/ \ | ||
lantiq/ \ | ||
marvell/ \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
# | ||
# Phy drivers for Ingenic platforms | ||
# | ||
config PHY_INGENIC_USB | ||
tristate "Ingenic SoCs USB PHY Driver" | ||
depends on (MACH_INGENIC && 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
obj-y += phy-ingenic-usb.o |
Oops, something went wrong.