Skip to contentSkip to conversation

phy: qcom-usb: Remove unused ulpi phy header

PATCH In review Vivek Gautam 3 participants 9 messages May 11, 2017 – May 17, 2017

Subsystems (12)
lore
Share & tools
lore
#0 lore raw

PATCH v5 1/3 phy: qcom-usb: Remove unused ulpi phy header

Ulpi phy header is not used for anything. Remove the same from qcom-hs and qcom-hsic phy drivers.

Cc Kishon Vijay Abraham I <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc linux-arm-msm at vger.kernel.org
Cc linux-kernel at vger.kernel.org
Cc linux-usb at vger.kernel.org

---

Changes since v4:
- None.

Changes since v3:
- New patch added in the series.
Removing headers as per Stephen's suggestion.

 drivers/phy/phy-qcom-usb-hs.c   | 2 --
 drivers/phy/phy-qcom-usb-hsic.c | 2 --
 2 files changed, 4 deletions(-)
drivers/phy/phy-qcom-usb-hs.c +0 -2
index 94dfbfd739c3..43704f4f23e9 100644
@@ -15,8 +15,6 @@
 #include <linux/extcon.h>
 #include <linux/notifier.h>
 
-#include "ulpi_phy.h"
-
 #define ULPI_PWR_CLK_MNG_REG		0x88
 # define ULPI_PWR_OTG_COMP_DISABLE	BIT(0)
 
drivers/phy/phy-qcom-usb-hsic.c +0 -2
index 47690f9945b9..6dcaf04fa367 100644
@@ -13,8 +13,6 @@
 #include <linux/delay.h>
 #include <linux/clk.h>
 
-#include "ulpi_phy.h"
-
 #define ULPI_HSIC_CFG		0x30
 #define ULPI_HSIC_IO_CAL	0x33
 
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
#1 lore raw

PATCH v5 2/3 phy: Move ULPI phy header out of drivers to include path

Although ULPI phy is currently being used by tusb1210, there can be other consumers too in future. So move this to the includes path for phy.

Cc Stephen Boyd <[email protected]>
Cc Heikki Krogerus <[email protected]>
Cc Kishon Vijay Abraham I <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc linux-kernel at vger.kernel.org
Cc linux-omap at vger.kernel.org
Cc linux-usb at vger.kernel.org

---

Changes since v4:
- None.

Changes since v3:
- Removed qcom phy changes, since patch - 1/3 addressed that now.

Changes since v2:
- Updated the location for this header in drivers using it.

 drivers/phy/phy-tusb1210.c                | 3 +--
 {drivers => include/linux}/phy/ulpi_phy.h | 0
 2 files changed, 1 insertion(+), 2 deletions(-)
 rename {drivers => include/linux}/phy/ulpi_phy.h (100%)
drivers/phy/phy-tusb1210.c +1 -2
index 4f6d5e71507d..bb3fb031c478 100644
@@ -12,8 +12,7 @@
 #include <linux/module.h>
 #include <linux/ulpi/driver.h>
 #include <linux/gpio/consumer.h>
-
-#include "ulpi_phy.h"
+#include <linux/phy/ulpi_phy.h>
 
 #define TUSB1210_VENDOR_SPECIFIC2		0x80
 #define TUSB1210_VENDOR_SPECIFIC2_IHSTX_SHIFT	0
include/linux/phy/ulpi_phy.h renamed from drivers/phy/ulpi_phy.h +0 -0
similarity index 100%
rename from drivers/phy/ulpi_phy.h
rename to include/linux/phy/ulpi_phy.h
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
#3 lore raw

PATCH v5 3/3 phy: Group vendor specific phy drivers

In reply to Vivek Gautam

Adding vendor specific directories in phy to group phy drivers under their respective vendor umbrella.

Also updated the MAINTAINERS file to reflect the correct directory structure for phy drivers.

Cc Kishon Vijay Abraham I <[email protected]>
Cc David S. Miller <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Yoshihiro Shimoda <[email protected]>
Cc Guenter Roeck <[email protected]>
Cc Heiko Stuebner <[email protected]>
Cc Viresh Kumar <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Chen-Yu Tsai <[email protected]>
Cc Sylwester Nawrocki <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Jaehoon Chung <[email protected]>
Cc Stephen Boyd <[email protected]>
Cc Martin Blumenstingl <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc linux-arm-msm at vger.kernel.org
Cc linux-kernel at vger.kernel.org
Cc linux-omap at vger.kernel.org
Cc linux-renesas-soc at vger.kernel.org
Cc linux-rockchip at lists.infradead.org
Cc linux-samsung-soc at vger.kernel.org
Cc linux-usb at vger.kernel.org

---

Changes since v4:
- Reprepared the patch based on latest torvalds/master.
- Added new directory for amlogic, since there's a new patch [1] coming in for amlogic platforms.

Changes since v3:
- Added 'Acked-by' and 'Reviewed by' tags received for this patch.
- No functional change.

Changes since v2:
- Rebased on linux-phy/next.
- Took care of drivers added/removed for each vendors since v2.
- Updated the 'Signed-off-by' tag with my current email id.

Changes from v1:
- Updated the MAINTAINERS file to reflect the same change in directory structure.
- Removed PHY_PLAT config as pointed out by Kishon.
So we don't require the second patch in the v1 of this series:
[PATCH 2/2] arm: mach-spear: Enable PHY_PLAT to meet dependency
- Renamed sunxi --> allwinner; rcar --> renesas.
- Fixed error coming with qcom Makefile.

* Build tested multi_v7_defconfig.
* Build tested arm64 defconfig with all the involved configs enabled.

[1] https://patchwork.kernel.org/patch/9684303/

 MAINTAINERS                                        |  18 +-
 drivers/phy/Kconfig                                | 493 +--------------------
 drivers/phy/Makefile                               |  70 +--
 drivers/phy/allwinner/Kconfig                      |  31 ++
 drivers/phy/allwinner/Makefile                     |   2 +
 drivers/phy/{ => allwinner}/phy-sun4i-usb.c        |   0
 drivers/phy/{ => allwinner}/phy-sun9i-usb.c        |   0
 drivers/phy/amlogic/Kconfig                        |  14 +
 drivers/phy/amlogic/Makefile                       |   1 +
 drivers/phy/{ => amlogic}/phy-meson8b-usb2.c       |   0
 drivers/phy/broadcom/Kconfig                       |  55 +++
 drivers/phy/broadcom/Makefile                      |   6 +
 drivers/phy/{ => broadcom}/phy-bcm-cygnus-pcie.c   |   0
 drivers/phy/{ => broadcom}/phy-bcm-kona-usb2.c     |   0
 drivers/phy/{ => broadcom}/phy-bcm-ns-usb2.c       |   0
 drivers/phy/{ => broadcom}/phy-bcm-ns-usb3.c       |   0
 drivers/phy/{ => broadcom}/phy-bcm-ns2-pcie.c      |   0
 drivers/phy/{ => broadcom}/phy-brcm-sata.c         |   0
 drivers/phy/hisilicon/Kconfig                      |  20 +
 drivers/phy/hisilicon/Makefile                     |   2 +
 drivers/phy/{ => hisilicon}/phy-hi6220-usb.c       |   0
 drivers/phy/{ => hisilicon}/phy-hix5hd2-sata.c     |   0
 drivers/phy/marvell/Kconfig                        |  50 +++
 drivers/phy/marvell/Makefile                       |   6 +
 drivers/phy/{ => marvell}/phy-armada375-usb2.c     |   0
 drivers/phy/{ => marvell}/phy-berlin-sata.c        |   0
 drivers/phy/{ => marvell}/phy-berlin-usb.c         |   0
 drivers/phy/{ => marvell}/phy-mvebu-sata.c         |   0
 drivers/phy/{ => marvell}/phy-pxa-28nm-hsic.c      |   0
 drivers/phy/{ => marvell}/phy-pxa-28nm-usb2.c      |   0
 drivers/phy/qualcomm/Kconfig                       |  58 +++
 drivers/phy/qualcomm/Makefile                      |   9 +
 drivers/phy/{ => qualcomm}/phy-qcom-apq8064-sata.c |   0
 drivers/phy/{ => qualcomm}/phy-qcom-ipq806x-sata.c |   0
 drivers/phy/{ => qualcomm}/phy-qcom-qmp.c          |   0
 drivers/phy/{ => qualcomm}/phy-qcom-qusb2.c        |   0
 drivers/phy/{ => qualcomm}/phy-qcom-ufs-i.h        |   0
 drivers/phy/{ => qualcomm}/phy-qcom-ufs-qmp-14nm.c |   0
 drivers/phy/{ => qualcomm}/phy-qcom-ufs-qmp-14nm.h |   0
 drivers/phy/{ => qualcomm}/phy-qcom-ufs-qmp-20nm.c |   0
 drivers/phy/{ => qualcomm}/phy-qcom-ufs-qmp-20nm.h |   0
 drivers/phy/{ => qualcomm}/phy-qcom-ufs.c          |   0
 drivers/phy/{ => qualcomm}/phy-qcom-usb-hs.c       |   0
 drivers/phy/{ => qualcomm}/phy-qcom-usb-hsic.c     |   0
 drivers/phy/renesas/Kconfig                        |  17 +
 drivers/phy/renesas/Makefile                       |   2 +
 drivers/phy/{ => renesas}/phy-rcar-gen2.c          |   0
 drivers/phy/{ => renesas}/phy-rcar-gen3-usb2.c     |   0
 drivers/phy/rockchip/Kconfig                       |  51 +++
 drivers/phy/rockchip/Makefile                      |   6 +
 drivers/phy/{ => rockchip}/phy-rockchip-dp.c       |   0
 drivers/phy/{ => rockchip}/phy-rockchip-emmc.c     |   0
 .../phy/{ => rockchip}/phy-rockchip-inno-usb2.c    |   0
 drivers/phy/{ => rockchip}/phy-rockchip-pcie.c     |   0
 drivers/phy/{ => rockchip}/phy-rockchip-typec.c    |   0
 drivers/phy/{ => rockchip}/phy-rockchip-usb.c      |   0
 drivers/phy/samsung/Kconfig                        |  95 ++++
 drivers/phy/samsung/Makefile                       |  11 +
 drivers/phy/{ => samsung}/phy-exynos-dp-video.c    |   0
 drivers/phy/{ => samsung}/phy-exynos-mipi-video.c  |   0
 drivers/phy/{ => samsung}/phy-exynos-pcie.c        |   0
 drivers/phy/{ => samsung}/phy-exynos4210-usb2.c    |   0
 drivers/phy/{ => samsung}/phy-exynos4x12-usb2.c    |   0
 drivers/phy/{ => samsung}/phy-exynos5-usbdrd.c     |   0
 drivers/phy/{ => samsung}/phy-exynos5250-sata.c    |   0
 drivers/phy/{ => samsung}/phy-exynos5250-usb2.c    |   0
 drivers/phy/{ => samsung}/phy-s5pv210-usb2.c       |   0
 drivers/phy/{ => samsung}/phy-samsung-usb2.c       |   0
 drivers/phy/{ => samsung}/phy-samsung-usb2.h       |   0
 drivers/phy/st/Kconfig                             |  33 ++
 drivers/phy/st/Makefile                            |   4 +
 drivers/phy/{ => st}/phy-miphy28lp.c               |   0
 drivers/phy/{ => st}/phy-spear1310-miphy.c         |   0
 drivers/phy/{ => st}/phy-spear1340-miphy.c         |   0
 drivers/phy/{ => st}/phy-stih407-usb.c             |   0
 drivers/phy/ti/Kconfig                             |  78 ++++
 drivers/phy/ti/Makefile                            |   7 +
 drivers/phy/{ => ti}/phy-da8xx-usb.c               |   0
 drivers/phy/{ => ti}/phy-dm816x-usb.c              |   0
 drivers/phy/{ => ti}/phy-omap-control.c            |   0
 drivers/phy/{ => ti}/phy-omap-usb2.c               |   0
 drivers/phy/{ => ti}/phy-ti-pipe3.c                |   0
 drivers/phy/{ => ti}/phy-tusb1210.c                |   0
 drivers/phy/{ => ti}/phy-twl4030-usb.c             |   0
 84 files changed, 594 insertions(+), 545 deletions(-)
 create mode 100644 drivers/phy/allwinner/Kconfig
 create mode 100644 drivers/phy/allwinner/Makefile
 rename drivers/phy/{ => allwinner}/phy-sun4i-usb.c (100%)
 rename drivers/phy/{ => allwinner}/phy-sun9i-usb.c (100%)
 create mode 100644 drivers/phy/amlogic/Kconfig
 create mode 100644 drivers/phy/amlogic/Makefile
 rename drivers/phy/{ => amlogic}/phy-meson8b-usb2.c (100%)
 create mode 100644 drivers/phy/broadcom/Kconfig
 create mode 100644 drivers/phy/broadcom/Makefile
 rename drivers/phy/{ => broadcom}/phy-bcm-cygnus-pcie.c (100%)
 rename drivers/phy/{ => broadcom}/phy-bcm-kona-usb2.c (100%)
 rename drivers/phy/{ => broadcom}/phy-bcm-ns-usb2.c (100%)
 rename drivers/phy/{ => broadcom}/phy-bcm-ns-usb3.c (100%)
 rename drivers/phy/{ => broadcom}/phy-bcm-ns2-pcie.c (100%)
 rename drivers/phy/{ => broadcom}/phy-brcm-sata.c (100%)
 create mode 100644 drivers/phy/hisilicon/Kconfig
 create mode 100644 drivers/phy/hisilicon/Makefile
 rename drivers/phy/{ => hisilicon}/phy-hi6220-usb.c (100%)
 rename drivers/phy/{ => hisilicon}/phy-hix5hd2-sata.c (100%)
 create mode 100644 drivers/phy/marvell/Kconfig
 create mode 100644 drivers/phy/marvell/Makefile
 rename drivers/phy/{ => marvell}/phy-armada375-usb2.c (100%)
 rename drivers/phy/{ => marvell}/phy-berlin-sata.c (100%)
 rename drivers/phy/{ => marvell}/phy-berlin-usb.c (100%)
 rename drivers/phy/{ => marvell}/phy-mvebu-sata.c (100%)
 rename drivers/phy/{ => marvell}/phy-pxa-28nm-hsic.c (100%)
 rename drivers/phy/{ => marvell}/phy-pxa-28nm-usb2.c (100%)
 create mode 100644 drivers/phy/qualcomm/Kconfig
 create mode 100644 drivers/phy/qualcomm/Makefile
 rename drivers/phy/{ => qualcomm}/phy-qcom-apq8064-sata.c (100%)
 rename drivers/phy/{ => qualcomm}/phy-qcom-ipq806x-sata.c (100%)
 rename drivers/phy/{ => qualcomm}/phy-qcom-qmp.c (100%)
 rename drivers/phy/{ => qualcomm}/phy-qcom-qusb2.c (100%)
 rename drivers/phy/{ => qualcomm}/phy-qcom-ufs-i.h (100%)
 rename drivers/phy/{ => qualcomm}/phy-qcom-ufs-qmp-14nm.c (100%)
 rename drivers/phy/{ => qualcomm}/phy-qcom-ufs-qmp-14nm.h (100%)
 rename drivers/phy/{ => qualcomm}/phy-qcom-ufs-qmp-20nm.c (100%)
 rename drivers/phy/{ => qualcomm}/phy-qcom-ufs-qmp-20nm.h (100%)
 rename drivers/phy/{ => qualcomm}/phy-qcom-ufs.c (100%)
 rename drivers/phy/{ => qualcomm}/phy-qcom-usb-hs.c (100%)
 rename drivers/phy/{ => qualcomm}/phy-qcom-usb-hsic.c (100%)
 create mode 100644 drivers/phy/renesas/Kconfig
 create mode 100644 drivers/phy/renesas/Makefile
 rename drivers/phy/{ => renesas}/phy-rcar-gen2.c (100%)
 rename drivers/phy/{ => renesas}/phy-rcar-gen3-usb2.c (100%)
 create mode 100644 drivers/phy/rockchip/Kconfig
 create mode 100644 drivers/phy/rockchip/Makefile
 rename drivers/phy/{ => rockchip}/phy-rockchip-dp.c (100%)
 rename drivers/phy/{ => rockchip}/phy-rockchip-emmc.c (100%)
 rename drivers/phy/{ => rockchip}/phy-rockchip-inno-usb2.c (100%)
 rename drivers/phy/{ => rockchip}/phy-rockchip-pcie.c (100%)
 rename drivers/phy/{ => rockchip}/phy-rockchip-typec.c (100%)
 rename drivers/phy/{ => rockchip}/phy-rockchip-usb.c (100%)
 create mode 100644 drivers/phy/samsung/Kconfig
 create mode 100644 drivers/phy/samsung/Makefile
 rename drivers/phy/{ => samsung}/phy-exynos-dp-video.c (100%)
 rename drivers/phy/{ => samsung}/phy-exynos-mipi-video.c (100%)
 rename drivers/phy/{ => samsung}/phy-exynos-pcie.c (100%)
 rename drivers/phy/{ => samsung}/phy-exynos4210-usb2.c (100%)
 rename drivers/phy/{ => samsung}/phy-exynos4x12-usb2.c (100%)
 rename drivers/phy/{ => samsung}/phy-exynos5-usbdrd.c (100%)
 rename drivers/phy/{ => samsung}/phy-exynos5250-sata.c (100%)
 rename drivers/phy/{ => samsung}/phy-exynos5250-usb2.c (100%)
 rename drivers/phy/{ => samsung}/phy-s5pv210-usb2.c (100%)
 rename drivers/phy/{ => samsung}/phy-samsung-usb2.c (100%)
 rename drivers/phy/{ => samsung}/phy-samsung-usb2.h (100%)
 create mode 100644 drivers/phy/st/Kconfig
 create mode 100644 drivers/phy/st/Makefile
 rename drivers/phy/{ => st}/phy-miphy28lp.c (100%)
 rename drivers/phy/{ => st}/phy-spear1310-miphy.c (100%)
 rename drivers/phy/{ => st}/phy-spear1340-miphy.c (100%)
 rename drivers/phy/{ => st}/phy-stih407-usb.c (100%)
 create mode 100644 drivers/phy/ti/Kconfig
 create mode 100644 drivers/phy/ti/Makefile
 rename drivers/phy/{ => ti}/phy-da8xx-usb.c (100%)
 rename drivers/phy/{ => ti}/phy-dm816x-usb.c (100%)
 rename drivers/phy/{ => ti}/phy-omap-control.c (100%)
 rename drivers/phy/{ => ti}/phy-omap-usb2.c (100%)
 rename drivers/phy/{ => ti}/phy-ti-pipe3.c (100%)
 rename drivers/phy/{ => ti}/phy-tusb1210.c (100%)
 rename drivers/phy/{ => ti}/phy-twl4030-usb.c (100%)
MAINTAINERS +9 -9
index a4a9e31fed72..4550abed3b93 100644
@@ -1825,8 +1825,8 @@ F:	drivers/i2c/busses/i2c-st.c
 F:	drivers/media/rc/st_rc.c
 F:	drivers/media/platform/sti/c8sectpfe/
 F:	drivers/mmc/host/sdhci-st.c
-F:	drivers/phy/phy-miphy28lp.c
-F:	drivers/phy/phy-stih407-usb.c
+F:	drivers/phy/st/phy-miphy28lp.c
+F:	drivers/phy/st/phy-stih407-usb.c
 F:	drivers/pinctrl/pinctrl-st.c
 F:	drivers/remoteproc/st_remoteproc.c
 F:	drivers/remoteproc/st_slim_rproc.c
@@ -10810,7 +10810,7 @@ RENESAS USB2 PHY DRIVER
 M:	Yoshihiro Shimoda <[email protected]>
 L:	linux-renesas-soc at vger.kernel.org
 S:	Maintained
-F:	drivers/phy/phy-rcar-gen3-usb2.c
+F:	drivers/phy/renesas/phy-rcar-gen3-usb2.c
 
 RESET CONTROLLER FRAMEWORK
 M:	Philipp Zabel <[email protected]>
@@ -11212,12 +11212,12 @@ L:	linux-kernel at vger.kernel.org
 S:	Supported
 F:	Documentation/devicetree/bindings/phy/samsung-phy.txt
 F:	Documentation/phy/samsung-usb2.txt
-F:	drivers/phy/phy-exynos4210-usb2.c
-F:	drivers/phy/phy-exynos4x12-usb2.c
-F:	drivers/phy/phy-exynos5250-usb2.c
-F:	drivers/phy/phy-s5pv210-usb2.c
-F:	drivers/phy/phy-samsung-usb2.c
-F:	drivers/phy/phy-samsung-usb2.h
+F:	drivers/phy/samsung/phy-exynos4210-usb2.c
+F:	drivers/phy/samsung/phy-exynos4x12-usb2.c
+F:	drivers/phy/samsung/phy-exynos5250-usb2.c
+F:	drivers/phy/samsung/phy-s5pv210-usb2.c
+F:	drivers/phy/samsung/phy-samsung-usb2.c
+F:	drivers/phy/samsung/phy-samsung-usb2.h
 
 SERIAL DRIVERS
 M:	Greg Kroah-Hartman <[email protected]>
drivers/phy/Kconfig +14 -479

524 lines not on this page · raw message

drivers/phy/Makefile +13 -57

77 lines not on this page · raw message

drivers/phy/allwinner/Kconfig new file +31 -0
new file mode 100644
index 000000000000..cdc1e745ba47
@@ -0,0 +1,31 @@
+#
+# Phy drivers for Allwinner platforms
+#
+config PHY_SUN4I_USB
+	tristate "Allwinner sunxi SoC USB PHY driver"
+	depends on ARCH_SUNXI && HAS_IOMEM && OF
+	depends on RESET_CONTROLLER
+	depends on EXTCON
+	depends on POWER_SUPPLY
+	depends on USB_SUPPORT
+	select GENERIC_PHY
+	select USB_COMMON
+	help
+	  Enable this to support the transceiver that is part of Allwinner
+	  sunxi SoCs.
+
+	  This driver controls the entire USB PHY block, both the USB OTG
+	  parts, as well as the 2 regular USB 2 host PHYs.
+
+config PHY_SUN9I_USB
+	tristate "Allwinner sun9i SoC USB PHY driver"
+	depends on ARCH_SUNXI && HAS_IOMEM && OF
+	depends on RESET_CONTROLLER
+	depends on USB_SUPPORT
+	select USB_COMMON
+	select GENERIC_PHY
+	help
+	  Enable this to support the transceiver that is part of Allwinner
+	  sun9i SoCs.
+
+	  This driver controls each individual USB 2 host PHY.
drivers/phy/allwinner/Makefile new file +2 -0
new file mode 100644
index 000000000000..8605529c01a1
@@ -0,0 +1,2 @@
+obj-$(CONFIG_PHY_SUN4I_USB)		+= phy-sun4i-usb.o
+obj-$(CONFIG_PHY_SUN9I_USB)		+= phy-sun9i-usb.o
drivers/phy/allwinner/phy-sun4i-usb.c renamed from drivers/phy/phy-sun4i-usb.c +0 -0
similarity index 100%
rename from drivers/phy/phy-sun4i-usb.c
rename to drivers/phy/allwinner/phy-sun4i-usb.c
drivers/phy/allwinner/phy-sun9i-usb.c renamed from drivers/phy/phy-sun9i-usb.c +0 -0
similarity index 100%
rename from drivers/phy/phy-sun9i-usb.c
rename to drivers/phy/allwinner/phy-sun9i-usb.c
drivers/phy/amlogic/Kconfig new file +14 -0
new file mode 100644
index 000000000000..edcd5b65179f
@@ -0,0 +1,14 @@
+#
+# Phy drivers for Amlogic platforms
+#
+config PHY_MESON8B_USB2
+	tristate "Meson8b and GXBB USB2 PHY driver"
+	default ARCH_MESON
+	depends on OF && (ARCH_MESON || COMPILE_TEST)
+	depends on USB_SUPPORT
+	select USB_COMMON
+	select GENERIC_PHY
+	help
+	  Enable this to support the Meson USB2 PHYs found in Meson8b
+	  and GXBB SoCs.
+	  If unsure, say N.
drivers/phy/amlogic/Makefile new file +1 -0
new file mode 100644
index 000000000000..47b6eecc3864
@@ -0,0 +1 @@
+obj-$(CONFIG_PHY_MESON8B_USB2)		+= phy-meson8b-usb2.o
drivers/phy/amlogic/phy-meson8b-usb2.c renamed from drivers/phy/phy-meson8b-usb2.c +0 -0
similarity index 100%
rename from drivers/phy/phy-meson8b-usb2.c
rename to drivers/phy/amlogic/phy-meson8b-usb2.c
drivers/phy/broadcom/Kconfig new file +55 -0

55 lines not on this page · raw message

drivers/phy/broadcom/Makefile new file +6 -0
new file mode 100644
index 000000000000..357a7d16529f
@@ -0,0 +1,6 @@
+obj-$(CONFIG_PHY_CYGNUS_PCIE)		+= phy-bcm-cygnus-pcie.o
+obj-$(CONFIG_BCM_KONA_USB2_PHY)		+= phy-bcm-kona-usb2.o
+obj-$(CONFIG_PHY_BCM_NS_USB2)		+= phy-bcm-ns-usb2.o
+obj-$(CONFIG_PHY_BCM_NS_USB3)		+= phy-bcm-ns-usb3.o
+obj-$(CONFIG_PHY_NS2_PCIE)		+= phy-bcm-ns2-pcie.o
+obj-$(CONFIG_PHY_BRCM_SATA)		+= phy-brcm-sata.o
drivers/phy/broadcom/phy-bcm-cygnus-pcie.c renamed from drivers/phy/phy-bcm-cygnus-pcie.c +0 -0
similarity index 100%
rename from drivers/phy/phy-bcm-cygnus-pcie.c
rename to drivers/phy/broadcom/phy-bcm-cygnus-pcie.c
drivers/phy/broadcom/phy-bcm-kona-usb2.c renamed from drivers/phy/phy-bcm-kona-usb2.c +0 -0
similarity index 100%
rename from drivers/phy/phy-bcm-kona-usb2.c
rename to drivers/phy/broadcom/phy-bcm-kona-usb2.c
drivers/phy/broadcom/phy-bcm-ns-usb2.c renamed from drivers/phy/phy-bcm-ns-usb2.c +0 -0
similarity index 100%
rename from drivers/phy/phy-bcm-ns-usb2.c
rename to drivers/phy/broadcom/phy-bcm-ns-usb2.c
drivers/phy/broadcom/phy-bcm-ns-usb3.c renamed from drivers/phy/phy-bcm-ns-usb3.c +0 -0
similarity index 100%
rename from drivers/phy/phy-bcm-ns-usb3.c
rename to drivers/phy/broadcom/phy-bcm-ns-usb3.c
drivers/phy/broadcom/phy-bcm-ns2-pcie.c renamed from drivers/phy/phy-bcm-ns2-pcie.c +0 -0
similarity index 100%
rename from drivers/phy/phy-bcm-ns2-pcie.c
rename to drivers/phy/broadcom/phy-bcm-ns2-pcie.c
drivers/phy/broadcom/phy-brcm-sata.c renamed from drivers/phy/phy-brcm-sata.c +0 -0
similarity index 100%
rename from drivers/phy/phy-brcm-sata.c
rename to drivers/phy/broadcom/phy-brcm-sata.c
drivers/phy/hisilicon/Kconfig new file +20 -0
new file mode 100644
index 000000000000..6164c4cd0f65
@@ -0,0 +1,20 @@
+#
+# Phy drivers for Hisilicon platforms
+#
+config PHY_HI6220_USB
+	tristate "hi6220 USB PHY support"
+	depends on (ARCH_HISI && ARM64) || COMPILE_TEST
+	select GENERIC_PHY
+	select MFD_SYSCON
+	help
+	  Enable this to support the HISILICON HI6220 USB PHY.
+
+	  To compile this driver as a module, choose M here.
+
+config PHY_HIX5HD2_SATA
+	tristate "HIX5HD2 SATA PHY Driver"
+	depends on ARCH_HIX5HD2 && OF && HAS_IOMEM
+	select GENERIC_PHY
+	select MFD_SYSCON
+	help
+	  Support for SATA PHY on Hisilicon hix5hd2 Soc.
drivers/phy/hisilicon/Makefile new file +2 -0
new file mode 100644
index 000000000000..541b348187a8
@@ -0,0 +1,2 @@
+obj-$(CONFIG_PHY_HI6220_USB)		+= phy-hi6220-usb.o
+obj-$(CONFIG_PHY_HIX5HD2_SATA)		+= phy-hix5hd2-sata.o
drivers/phy/hisilicon/phy-hi6220-usb.c renamed from drivers/phy/phy-hi6220-usb.c +0 -0
similarity index 100%
rename from drivers/phy/phy-hi6220-usb.c
rename to drivers/phy/hisilicon/phy-hi6220-usb.c
drivers/phy/hisilicon/phy-hix5hd2-sata.c renamed from drivers/phy/phy-hix5hd2-sata.c +0 -0
similarity index 100%
rename from drivers/phy/phy-hix5hd2-sata.c
rename to drivers/phy/hisilicon/phy-hix5hd2-sata.c
drivers/phy/marvell/Kconfig new file +50 -0

50 lines not on this page · raw message

drivers/phy/marvell/Makefile new file +6 -0
new file mode 100644
index 000000000000..3fc188f59118
@@ -0,0 +1,6 @@
+obj-$(CONFIG_ARMADA375_USBCLUSTER_PHY)	+= phy-armada375-usb2.o
+obj-$(CONFIG_PHY_BERLIN_SATA)		+= phy-berlin-sata.o
+obj-$(CONFIG_PHY_BERLIN_USB)		+= phy-berlin-usb.o
+obj-$(CONFIG_PHY_MVEBU_SATA)		+= phy-mvebu-sata.o
+obj-$(CONFIG_PHY_PXA_28NM_HSIC)		+= phy-pxa-28nm-hsic.o
+obj-$(CONFIG_PHY_PXA_28NM_USB2)		+= phy-pxa-28nm-usb2.o
drivers/phy/marvell/phy-armada375-usb2.c renamed from drivers/phy/phy-armada375-usb2.c +0 -0
similarity index 100%
rename from drivers/phy/phy-armada375-usb2.c
rename to drivers/phy/marvell/phy-armada375-usb2.c
drivers/phy/marvell/phy-berlin-sata.c renamed from drivers/phy/phy-berlin-sata.c +0 -0
similarity index 100%
rename from drivers/phy/phy-berlin-sata.c
rename to drivers/phy/marvell/phy-berlin-sata.c
drivers/phy/marvell/phy-berlin-usb.c renamed from drivers/phy/phy-berlin-usb.c +0 -0
similarity index 100%
rename from drivers/phy/phy-berlin-usb.c
rename to drivers/phy/marvell/phy-berlin-usb.c
drivers/phy/marvell/phy-mvebu-sata.c renamed from drivers/phy/phy-mvebu-sata.c +0 -0
similarity index 100%
rename from drivers/phy/phy-mvebu-sata.c
rename to drivers/phy/marvell/phy-mvebu-sata.c
drivers/phy/marvell/phy-pxa-28nm-hsic.c renamed from drivers/phy/phy-pxa-28nm-hsic.c +0 -0
similarity index 100%
rename from drivers/phy/phy-pxa-28nm-hsic.c
rename to drivers/phy/marvell/phy-pxa-28nm-hsic.c
drivers/phy/marvell/phy-pxa-28nm-usb2.c renamed from drivers/phy/phy-pxa-28nm-usb2.c +0 -0
similarity index 100%
rename from drivers/phy/phy-pxa-28nm-usb2.c
rename to drivers/phy/marvell/phy-pxa-28nm-usb2.c
drivers/phy/qualcomm/Kconfig new file +58 -0

58 lines not on this page · raw message

drivers/phy/qualcomm/Makefile new file +9 -0
new file mode 100644
index 000000000000..2e183d7695fd
@@ -0,0 +1,9 @@
+obj-$(CONFIG_PHY_QCOM_APQ8064_SATA)	+= phy-qcom-apq8064-sata.o
+obj-$(CONFIG_PHY_QCOM_IPQ806X_SATA)	+= phy-qcom-ipq806x-sata.o
+obj-$(CONFIG_PHY_QCOM_QMP)		+= phy-qcom-qmp.o
+obj-$(CONFIG_PHY_QCOM_QUSB2)		+= phy-qcom-qusb2.o
+obj-$(CONFIG_PHY_QCOM_UFS)		+= phy-qcom-ufs.o
+obj-$(CONFIG_PHY_QCOM_UFS)		+= phy-qcom-ufs-qmp-14nm.o
+obj-$(CONFIG_PHY_QCOM_UFS)		+= phy-qcom-ufs-qmp-20nm.o
+obj-$(CONFIG_PHY_QCOM_USB_HS) 		+= phy-qcom-usb-hs.o
+obj-$(CONFIG_PHY_QCOM_USB_HSIC) 	+= phy-qcom-usb-hsic.o
drivers/phy/qualcomm/phy-qcom-apq8064-sata.c renamed from drivers/phy/phy-qcom-apq8064-sata.c +0 -0
similarity index 100%
rename from drivers/phy/phy-qcom-apq8064-sata.c
rename to drivers/phy/qualcomm/phy-qcom-apq8064-sata.c
drivers/phy/qualcomm/phy-qcom-ipq806x-sata.c renamed from drivers/phy/phy-qcom-ipq806x-sata.c +0 -0
similarity index 100%
rename from drivers/phy/phy-qcom-ipq806x-sata.c
rename to drivers/phy/qualcomm/phy-qcom-ipq806x-sata.c
drivers/phy/qualcomm/phy-qcom-qmp.c renamed from drivers/phy/phy-qcom-qmp.c +0 -0
similarity index 100%
rename from drivers/phy/phy-qcom-qmp.c
rename to drivers/phy/qualcomm/phy-qcom-qmp.c
drivers/phy/qualcomm/phy-qcom-qusb2.c renamed from drivers/phy/phy-qcom-qusb2.c +0 -0
similarity index 100%
rename from drivers/phy/phy-qcom-qusb2.c
rename to drivers/phy/qualcomm/phy-qcom-qusb2.c
drivers/phy/qualcomm/phy-qcom-ufs-i.h renamed from drivers/phy/phy-qcom-ufs-i.h +0 -0
similarity index 100%
rename from drivers/phy/phy-qcom-ufs-i.h
rename to drivers/phy/qualcomm/phy-qcom-ufs-i.h
drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c renamed from drivers/phy/phy-qcom-ufs-qmp-14nm.c +0 -0
similarity index 100%
rename from drivers/phy/phy-qcom-ufs-qmp-14nm.c
rename to drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c
drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.h renamed from drivers/phy/phy-qcom-ufs-qmp-14nm.h +0 -0
similarity index 100%
rename from drivers/phy/phy-qcom-ufs-qmp-14nm.h
rename to drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.h
drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c renamed from drivers/phy/phy-qcom-ufs-qmp-20nm.c +0 -0
similarity index 100%
rename from drivers/phy/phy-qcom-ufs-qmp-20nm.c
rename to drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c
drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.h renamed from drivers/phy/phy-qcom-ufs-qmp-20nm.h +0 -0
similarity index 100%
rename from drivers/phy/phy-qcom-ufs-qmp-20nm.h
rename to drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.h
drivers/phy/qualcomm/phy-qcom-ufs.c renamed from drivers/phy/phy-qcom-ufs.c +0 -0
similarity index 100%
rename from drivers/phy/phy-qcom-ufs.c
rename to drivers/phy/qualcomm/phy-qcom-ufs.c
drivers/phy/qualcomm/phy-qcom-usb-hs.c renamed from drivers/phy/phy-qcom-usb-hs.c +0 -0
similarity index 100%
rename from drivers/phy/phy-qcom-usb-hs.c
rename to drivers/phy/qualcomm/phy-qcom-usb-hs.c
drivers/phy/qualcomm/phy-qcom-usb-hsic.c renamed from drivers/phy/phy-qcom-usb-hsic.c +0 -0
similarity index 100%
rename from drivers/phy/phy-qcom-usb-hsic.c
rename to drivers/phy/qualcomm/phy-qcom-usb-hsic.c
drivers/phy/renesas/Kconfig new file +17 -0
new file mode 100644
index 000000000000..432e2715e9c4
@@ -0,0 +1,17 @@
+#
+# Phy drivers for Renesas platforms
+#
+config PHY_RCAR_GEN2
+	tristate "Renesas R-Car generation 2 USB PHY driver"
+	depends on ARCH_RENESAS
+	depends on GENERIC_PHY
+	help
+	  Support for USB PHY found on Renesas R-Car generation 2 SoCs.
+
+config PHY_RCAR_GEN3_USB2
+	tristate "Renesas R-Car generation 3 USB 2.0 PHY driver"
+	depends on ARCH_RENESAS
+	depends on EXTCON
+	select GENERIC_PHY
+	help
+	  Support for USB 2.0 PHY found on Renesas R-Car generation 3 SoCs.
drivers/phy/renesas/Makefile new file +2 -0
new file mode 100644
index 000000000000..695241aebf69
@@ -0,0 +1,2 @@
+obj-$(CONFIG_PHY_RCAR_GEN2)		+= phy-rcar-gen2.o
+obj-$(CONFIG_PHY_RCAR_GEN3_USB2)	+= phy-rcar-gen3-usb2.o
drivers/phy/renesas/phy-rcar-gen2.c renamed from drivers/phy/phy-rcar-gen2.c +0 -0
similarity index 100%
rename from drivers/phy/phy-rcar-gen2.c
rename to drivers/phy/renesas/phy-rcar-gen2.c
drivers/phy/renesas/phy-rcar-gen3-usb2.c renamed from drivers/phy/phy-rcar-gen3-usb2.c +0 -0
similarity index 100%
rename from drivers/phy/phy-rcar-gen3-usb2.c
rename to drivers/phy/renesas/phy-rcar-gen3-usb2.c
drivers/phy/rockchip/Kconfig new file +51 -0

51 lines not on this page · raw message

drivers/phy/rockchip/Makefile new file +6 -0
new file mode 100644
index 000000000000..bd0acdf38e0f
@@ -0,0 +1,6 @@
+obj-$(CONFIG_PHY_ROCKCHIP_DP)		+= phy-rockchip-dp.o
+obj-$(CONFIG_PHY_ROCKCHIP_EMMC)		+= phy-rockchip-emmc.o
+obj-$(CONFIG_PHY_ROCKCHIP_INNO_USB2)	+= phy-rockchip-inno-usb2.o
+obj-$(CONFIG_PHY_ROCKCHIP_PCIE)		+= phy-rockchip-pcie.o
+obj-$(CONFIG_PHY_ROCKCHIP_TYPEC)	+= phy-rockchip-typec.o
+obj-$(CONFIG_PHY_ROCKCHIP_USB)		+= phy-rockchip-usb.o
drivers/phy/rockchip/phy-rockchip-dp.c renamed from drivers/phy/phy-rockchip-dp.c +0 -0
similarity index 100%
rename from drivers/phy/phy-rockchip-dp.c
rename to drivers/phy/rockchip/phy-rockchip-dp.c
drivers/phy/rockchip/phy-rockchip-emmc.c renamed from drivers/phy/phy-rockchip-emmc.c +0 -0
similarity index 100%
rename from drivers/phy/phy-rockchip-emmc.c
rename to drivers/phy/rockchip/phy-rockchip-emmc.c
drivers/phy/rockchip/phy-rockchip-inno-usb2.c renamed from drivers/phy/phy-rockchip-inno-usb2.c +0 -0
similarity index 100%
rename from drivers/phy/phy-rockchip-inno-usb2.c
rename to drivers/phy/rockchip/phy-rockchip-inno-usb2.c
drivers/phy/rockchip/phy-rockchip-pcie.c renamed from drivers/phy/phy-rockchip-pcie.c +0 -0
similarity index 100%
rename from drivers/phy/phy-rockchip-pcie.c
rename to drivers/phy/rockchip/phy-rockchip-pcie.c
drivers/phy/rockchip/phy-rockchip-typec.c renamed from drivers/phy/phy-rockchip-typec.c +0 -0
similarity index 100%
rename from drivers/phy/phy-rockchip-typec.c
rename to drivers/phy/rockchip/phy-rockchip-typec.c
drivers/phy/rockchip/phy-rockchip-usb.c renamed from drivers/phy/phy-rockchip-usb.c +0 -0
similarity index 100%
rename from drivers/phy/phy-rockchip-usb.c
rename to drivers/phy/rockchip/phy-rockchip-usb.c
drivers/phy/samsung/Kconfig new file +95 -0

95 lines not on this page · raw message

drivers/phy/samsung/Makefile new file +11 -0
new file mode 100644
index 000000000000..20d7f2424772
@@ -0,0 +1,11 @@
+obj-$(CONFIG_PHY_EXYNOS_DP_VIDEO)	+= phy-exynos-dp-video.o
+obj-$(CONFIG_PHY_EXYNOS_MIPI_VIDEO)	+= phy-exynos-mipi-video.o
+obj-$(CONFIG_PHY_EXYNOS_PCIE)		+= phy-exynos-pcie.o
+obj-$(CONFIG_PHY_SAMSUNG_USB2)		+= phy-exynos-usb2.o
+phy-exynos-usb2-y			+= phy-samsung-usb2.o
+phy-exynos-usb2-$(CONFIG_PHY_EXYNOS4210_USB2)	+= phy-exynos4210-usb2.o
+phy-exynos-usb2-$(CONFIG_PHY_EXYNOS4X12_USB2)	+= phy-exynos4x12-usb2.o
+phy-exynos-usb2-$(CONFIG_PHY_EXYNOS5250_USB2)	+= phy-exynos5250-usb2.o
+phy-exynos-usb2-$(CONFIG_PHY_S5PV210_USB2)	+= phy-s5pv210-usb2.o
+obj-$(CONFIG_PHY_EXYNOS5_USBDRD)	+= phy-exynos5-usbdrd.o
+obj-$(CONFIG_PHY_EXYNOS5250_SATA)	+= phy-exynos5250-sata.o
drivers/phy/samsung/phy-exynos-dp-video.c renamed from drivers/phy/phy-exynos-dp-video.c +0 -0
similarity index 100%
rename from drivers/phy/phy-exynos-dp-video.c
rename to drivers/phy/samsung/phy-exynos-dp-video.c
drivers/phy/samsung/phy-exynos-mipi-video.c renamed from drivers/phy/phy-exynos-mipi-video.c +0 -0
similarity index 100%
rename from drivers/phy/phy-exynos-mipi-video.c
rename to drivers/phy/samsung/phy-exynos-mipi-video.c
drivers/phy/samsung/phy-exynos-pcie.c renamed from drivers/phy/phy-exynos-pcie.c +0 -0
similarity index 100%
rename from drivers/phy/phy-exynos-pcie.c
rename to drivers/phy/samsung/phy-exynos-pcie.c
drivers/phy/samsung/phy-exynos4210-usb2.c renamed from drivers/phy/phy-exynos4210-usb2.c +0 -0
similarity index 100%
rename from drivers/phy/phy-exynos4210-usb2.c
rename to drivers/phy/samsung/phy-exynos4210-usb2.c
drivers/phy/samsung/phy-exynos4x12-usb2.c renamed from drivers/phy/phy-exynos4x12-usb2.c +0 -0
similarity index 100%
rename from drivers/phy/phy-exynos4x12-usb2.c
rename to drivers/phy/samsung/phy-exynos4x12-usb2.c
drivers/phy/samsung/phy-exynos5-usbdrd.c renamed from drivers/phy/phy-exynos5-usbdrd.c +0 -0
similarity index 100%
rename from drivers/phy/phy-exynos5-usbdrd.c
rename to drivers/phy/samsung/phy-exynos5-usbdrd.c
drivers/phy/samsung/phy-exynos5250-sata.c renamed from drivers/phy/phy-exynos5250-sata.c +0 -0
similarity index 100%
rename from drivers/phy/phy-exynos5250-sata.c
rename to drivers/phy/samsung/phy-exynos5250-sata.c
drivers/phy/samsung/phy-exynos5250-usb2.c renamed from drivers/phy/phy-exynos5250-usb2.c +0 -0
similarity index 100%
rename from drivers/phy/phy-exynos5250-usb2.c
rename to drivers/phy/samsung/phy-exynos5250-usb2.c
drivers/phy/samsung/phy-s5pv210-usb2.c renamed from drivers/phy/phy-s5pv210-usb2.c +0 -0
similarity index 100%
rename from drivers/phy/phy-s5pv210-usb2.c
rename to drivers/phy/samsung/phy-s5pv210-usb2.c
drivers/phy/samsung/phy-samsung-usb2.c renamed from drivers/phy/phy-samsung-usb2.c +0 -0
similarity index 100%
rename from drivers/phy/phy-samsung-usb2.c
rename to drivers/phy/samsung/phy-samsung-usb2.c
drivers/phy/samsung/phy-samsung-usb2.h renamed from drivers/phy/phy-samsung-usb2.h +0 -0
similarity index 100%
rename from drivers/phy/phy-samsung-usb2.h
rename to drivers/phy/samsung/phy-samsung-usb2.h
drivers/phy/st/Kconfig new file +33 -0
new file mode 100644
index 000000000000..0814d3f87ec6
@@ -0,0 +1,33 @@
+#
+# Phy drivers for STMicro platforms
+#
+config PHY_MIPHY28LP
+	tristate "STMicroelectronics MIPHY28LP PHY driver for STiH407"
+	depends on ARCH_STI
+	select GENERIC_PHY
+	help
+	  Enable this to support the miphy transceiver (for SATA/PCIE/USB3)
+	  that is part of STMicroelectronics STiH407 SoC.
+
+config PHY_ST_SPEAR1310_MIPHY
+	tristate "ST SPEAR1310-MIPHY driver"
+	select GENERIC_PHY
+	depends on MACH_SPEAR1310 || COMPILE_TEST
+	help
+	  Support for ST SPEAr1310 MIPHY which can be used for PCIe and SATA.
+
+config PHY_ST_SPEAR1340_MIPHY
+	tristate "ST SPEAR1340-MIPHY driver"
+	select GENERIC_PHY
+	depends on MACH_SPEAR1340 || COMPILE_TEST
+	help
+	  Support for ST SPEAr1340 MIPHY which can be used for PCIe and SATA.
+
+config PHY_STIH407_USB
+	tristate "STMicroelectronics USB2 picoPHY driver for STiH407 family"
+	depends on RESET_CONTROLLER
+	depends on ARCH_STI || COMPILE_TEST
+	select GENERIC_PHY
+	help
+	  Enable this support to enable the picoPHY device used by USB2
+	  and USB3 controllers on STMicroelectronics STiH407 SoC families.
drivers/phy/st/Makefile new file +4 -0
new file mode 100644
index 000000000000..e2adfe2166d2
@@ -0,0 +1,4 @@
+obj-$(CONFIG_PHY_MIPHY28LP) 		+= phy-miphy28lp.o
+obj-$(CONFIG_PHY_ST_SPEAR1310_MIPHY)	+= phy-spear1310-miphy.o
+obj-$(CONFIG_PHY_ST_SPEAR1340_MIPHY)	+= phy-spear1340-miphy.o
+obj-$(CONFIG_PHY_STIH407_USB)		+= phy-stih407-usb.o
drivers/phy/st/phy-miphy28lp.c renamed from drivers/phy/phy-miphy28lp.c +0 -0
similarity index 100%
rename from drivers/phy/phy-miphy28lp.c
rename to drivers/phy/st/phy-miphy28lp.c
drivers/phy/st/phy-spear1310-miphy.c renamed from drivers/phy/phy-spear1310-miphy.c +0 -0
similarity index 100%
rename from drivers/phy/phy-spear1310-miphy.c
rename to drivers/phy/st/phy-spear1310-miphy.c
drivers/phy/st/phy-spear1340-miphy.c renamed from drivers/phy/phy-spear1340-miphy.c +0 -0
similarity index 100%
rename from drivers/phy/phy-spear1340-miphy.c
rename to drivers/phy/st/phy-spear1340-miphy.c
drivers/phy/st/phy-stih407-usb.c renamed from drivers/phy/phy-stih407-usb.c +0 -0
similarity index 100%
rename from drivers/phy/phy-stih407-usb.c
rename to drivers/phy/st/phy-stih407-usb.c
drivers/phy/ti/Kconfig new file +78 -0

78 lines not on this page · raw message

drivers/phy/ti/Makefile new file +7 -0
new file mode 100644
index 000000000000..0cc3a1a557a3
@@ -0,0 +1,7 @@
+obj-$(CONFIG_PHY_DA8XX_USB)		+= phy-da8xx-usb.o
+obj-$(CONFIG_PHY_DM816X_USB)		+= phy-dm816x-usb.o
+obj-$(CONFIG_OMAP_CONTROL_PHY)		+= phy-omap-control.o
+obj-$(CONFIG_OMAP_USB2)			+= phy-omap-usb2.o
+obj-$(CONFIG_TI_PIPE3)			+= phy-ti-pipe3.o
+obj-$(CONFIG_PHY_TUSB1210)		+= phy-tusb1210.o
+obj-$(CONFIG_TWL4030_USB)		+= phy-twl4030-usb.o
drivers/phy/ti/phy-da8xx-usb.c renamed from drivers/phy/phy-da8xx-usb.c +0 -0
similarity index 100%
rename from drivers/phy/phy-da8xx-usb.c
rename to drivers/phy/ti/phy-da8xx-usb.c
drivers/phy/ti/phy-dm816x-usb.c renamed from drivers/phy/phy-dm816x-usb.c +0 -0
similarity index 100%
rename from drivers/phy/phy-dm816x-usb.c
rename to drivers/phy/ti/phy-dm816x-usb.c
drivers/phy/ti/phy-omap-control.c renamed from drivers/phy/phy-omap-control.c +0 -0
similarity index 100%
rename from drivers/phy/phy-omap-control.c
rename to drivers/phy/ti/phy-omap-control.c
drivers/phy/ti/phy-omap-usb2.c renamed from drivers/phy/phy-omap-usb2.c +0 -0
similarity index 100%
rename from drivers/phy/phy-omap-usb2.c
rename to drivers/phy/ti/phy-omap-usb2.c
drivers/phy/ti/phy-ti-pipe3.c renamed from drivers/phy/phy-ti-pipe3.c +0 -0
similarity index 100%
rename from drivers/phy/phy-ti-pipe3.c
rename to drivers/phy/ti/phy-ti-pipe3.c
drivers/phy/ti/phy-tusb1210.c renamed from drivers/phy/phy-tusb1210.c +0 -0
similarity index 100%
rename from drivers/phy/phy-tusb1210.c
rename to drivers/phy/ti/phy-tusb1210.c
drivers/phy/ti/phy-twl4030-usb.c renamed from drivers/phy/phy-twl4030-usb.c +0 -0
similarity index 100%
rename from drivers/phy/phy-twl4030-usb.c
rename to drivers/phy/ti/phy-twl4030-usb.c
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
Acked-by on v5 2/3
#2 lore raw

Re: [PATCH v5 2/3] phy: Move ULPI phy header out of drivers to include path

In reply to Vivek Gautam
Quoted 12 lines · Vivek Gautam

Although ULPI phy is currently being used by tusb1210, there can be other consumers too in future. So move this to the includes path for phy.

Cc Stephen Boyd <[email protected]>
Cc Heikki Krogerus <[email protected]>
Cc Kishon Vijay Abraham I <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc linux-kernel at vger.kernel.org
Cc linux-omap at vger.kernel.org
Cc linux-usb at vger.kernel.org
Quoted 1 line

---

Quoted 35 lines

Changes since v4:
- None.

Changes since v3:
- Removed qcom phy changes, since patch - 1/3 addressed that now.

Changes since v2:
- Updated the location for this header in drivers using it.

 drivers/phy/phy-tusb1210.c                | 3 +--
 {drivers => include/linux}/phy/ulpi_phy.h | 0
 2 files changed, 1 insertion(+), 2 deletions(-)
 rename {drivers => include/linux}/phy/ulpi_phy.h (100%)
drivers/phy/phy-tusb1210.c +1 -2
index 4f6d5e71507d..bb3fb031c478 100644
@@ -12,8 +12,7 @@
 #include <linux/module.h>
 #include <linux/ulpi/driver.h>
 #include <linux/gpio/consumer.h>
-
-#include "ulpi_phy.h"
+#include <linux/phy/ulpi_phy.h>
 
 #define TUSB1210_VENDOR_SPECIFIC2		0x80
 #define TUSB1210_VENDOR_SPECIFIC2_IHSTX_SHIFT	0
include/linux/phy/ulpi_phy.h renamed from drivers/phy/ulpi_phy.h +0 -0
similarity index 100%
rename from drivers/phy/ulpi_phy.h
rename to include/linux/phy/ulpi_phy.h
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
Signature · 1 line
heikki
#4 lore raw

Re: [PATCH v5 3/3] phy: Group vendor specific phy drivers

In reply to Vivek Gautam

Hi Vivek,

Quoted 34 lines · Vivek Gautam

Adding vendor specific directories in phy to group phy drivers under their respective vendor umbrella.

Also updated the MAINTAINERS file to reflect the correct directory structure for phy drivers.

Cc Kishon Vijay Abraham I <[email protected]>
Cc David S. Miller <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Yoshihiro Shimoda <[email protected]>
Cc Guenter Roeck <[email protected]>
Cc Heiko Stuebner <[email protected]>
Cc Viresh Kumar <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Chen-Yu Tsai <[email protected]>
Cc Sylwester Nawrocki <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Jaehoon Chung <[email protected]>
Cc Stephen Boyd <[email protected]>
Cc Martin Blumenstingl <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc linux-arm-msm at vger.kernel.org
Cc linux-kernel at vger.kernel.org
Cc linux-omap at vger.kernel.org
Cc linux-renesas-soc at vger.kernel.org
Cc linux-rockchip at lists.infradead.org
Cc linux-samsung-soc at vger.kernel.org
Cc linux-usb at vger.kernel.org
Quoted 6 lines

---

Changes since v4:
- Reprepared the patch based on latest torvalds/master.
- Added new directory for amlogic, since there's a new patch [1] coming in for amlogic platforms.

I don't prefer placeholder directories but this is not a placeholder directory since phy-meson8b-usb2.c is already added in amlogic.

Btw, thank you for sending this patch. Will queue this once -rc1 is tagged.

Cheers
Kishon

#5 lore raw

Re: [PATCH v5 3/3] phy: Group vendor specific phy drivers

Quoted 39 lines · Kishon Vijay Abraham I

Hi Vivek,

Quoted 36 lines · Vivek Gautam

Adding vendor specific directories in phy to group phy drivers under their respective vendor umbrella.

Also updated the MAINTAINERS file to reflect the correct directory structure for phy drivers.

Cc Kishon Vijay Abraham I <[email protected]>
Cc David S. Miller <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Yoshihiro Shimoda <[email protected]>
Cc Guenter Roeck <[email protected]>
Cc Heiko Stuebner <[email protected]>
Cc Viresh Kumar <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Chen-Yu Tsai <[email protected]>
Cc Sylwester Nawrocki <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Jaehoon Chung <[email protected]>
Cc Stephen Boyd <[email protected]>
Cc Martin Blumenstingl <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc linux-arm-msm at vger.kernel.org
Cc linux-kernel at vger.kernel.org
Cc linux-omap at vger.kernel.org
Cc linux-renesas-soc at vger.kernel.org
Cc linux-rockchip at lists.infradead.org
Cc linux-samsung-soc at vger.kernel.org
Cc linux-usb at vger.kernel.org

---

Quoted 6 lines
Quoted 4 lines

Changes since v4:
- Reprepared the patch based on latest torvalds/master.
- Added new directory for amlogic, since there's a new patch [1] coming in for amlogic platforms.

I don't prefer placeholder directories but this is not a placeholder directory since phy-meson8b-usb2.c is already added in amlogic.

Right, since phy-meson8b-usb2.c was already there and phy-meson-gxl-usb2.c is also coming, i decided to add this directory.

Quoted 1 line

Btw, thank you for sending this patch. Will queue this once -rc1 is tagged.

Cool. Thanks Kishon.

Regards
Vivek

Quoted 7 lines

Cheers
Kishon
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
#8 lore raw
In reply to Vivek Gautam

Hi Vivek,

Quoted 10 lines · Vivek Gautam

Ulpi phy header is not used for anything. Remove the same from qcom-hs and qcom-hsic phy drivers.

Cc Kishon Vijay Abraham I <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc linux-arm-msm at vger.kernel.org
Cc linux-kernel at vger.kernel.org
Cc linux-usb at vger.kernel.org

this patch introduced a bunch of compiler errors because of missing "#include <linux/phy/phy.h>". I fixed it and merged to linux-phy fixes.

Thanks
Kishon

#6 lore raw

Re: [PATCH v5 3/3] phy: Group vendor specific phy drivers

In reply to Vivek Gautam

Hi Vivek,

Quoted 59 lines · Vivek Gautam

Adding vendor specific directories in phy to group phy drivers under their respective vendor umbrella.

Also updated the MAINTAINERS file to reflect the correct directory structure for phy drivers.

Cc Kishon Vijay Abraham I <[email protected]>
Cc David S. Miller <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Yoshihiro Shimoda <[email protected]>
Cc Guenter Roeck <[email protected]>
Cc Heiko Stuebner <[email protected]>
Cc Viresh Kumar <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Chen-Yu Tsai <[email protected]>
Cc Sylwester Nawrocki <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Jaehoon Chung <[email protected]>
Cc Stephen Boyd <[email protected]>
Cc Martin Blumenstingl <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc linux-arm-msm at vger.kernel.org
Cc linux-kernel at vger.kernel.org
Cc linux-omap at vger.kernel.org
Cc linux-renesas-soc at vger.kernel.org
Cc linux-rockchip at lists.infradead.org
Cc linux-samsung-soc at vger.kernel.org
Cc linux-usb at vger.kernel.org

---

Changes since v4:
- Reprepared the patch based on latest torvalds/master.
- Added new directory for amlogic, since there's a new patch [1] coming in for amlogic platforms.

Changes since v3:
- Added 'Acked-by' and 'Reviewed by' tags received for this patch.
- No functional change.

Changes since v2:
- Rebased on linux-phy/next.
- Took care of drivers added/removed for each vendors since v2.
- Updated the 'Signed-off-by' tag with my current email id.

Changes from v1:
- Updated the MAINTAINERS file to reflect the same change in directory structure.
- Removed PHY_PLAT config as pointed out by Kishon.
So we don't require the second patch in the v1 of this series:
[PATCH 2/2] arm: mach-spear: Enable PHY_PLAT to meet dependency
- Renamed sunxi --> allwinner; rcar --> renesas.
- Fixed error coming with qcom Makefile.

Quoted 5 lines

* Build tested multi_v7_defconfig.
* Build tested arm64 defconfig with all the involved configs enabled.

[1] https://patchwork.kernel.org/patch/9684303/

.
.
<snip>
.
.

drivers/phy/Kconfig config GENERIC_PHY · line 15

Quoted 6 lines
drivers/phy/Kconfig +0 -0
index afaf7b643eeb..b353ac603ea0 100644
@@ -15,73 +15,6 @@ config GENERIC_PHY
 	  phy users can obtain reference to the PHY. All the users of this

.
.
<snip>
.
.

drivers/phy/Kconfig config PHY_XGENE · line 51

Quoted 2 lines
drivers/phy/Kconfig +1 -1
-
+menu "Platform Phy drivers"

I don't think creating a new menu is required. I removed it and merged into linux-phy.

Thanks
Kishon

#7 lore raw

Re: [PATCH v5 3/3] phy: Group vendor specific phy drivers

Quoted 83 lines · Kishon Vijay Abraham I

Hi Vivek,

Quoted 59 lines · Vivek Gautam

Adding vendor specific directories in phy to group phy drivers under their respective vendor umbrella.

Also updated the MAINTAINERS file to reflect the correct directory structure for phy drivers.

Cc Kishon Vijay Abraham I <[email protected]>
Cc David S. Miller <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Yoshihiro Shimoda <[email protected]>
Cc Guenter Roeck <[email protected]>
Cc Heiko Stuebner <[email protected]>
Cc Viresh Kumar <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Chen-Yu Tsai <[email protected]>
Cc Sylwester Nawrocki <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Jaehoon Chung <[email protected]>
Cc Stephen Boyd <[email protected]>
Cc Martin Blumenstingl <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc linux-arm-msm at vger.kernel.org
Cc linux-kernel at vger.kernel.org
Cc linux-omap at vger.kernel.org
Cc linux-renesas-soc at vger.kernel.org
Cc linux-rockchip at lists.infradead.org
Cc linux-samsung-soc at vger.kernel.org
Cc linux-usb at vger.kernel.org

---

Changes since v4:
- Reprepared the patch based on latest torvalds/master.
- Added new directory for amlogic, since there's a new patch [1] coming in for amlogic platforms.

Changes since v3:
- Added 'Acked-by' and 'Reviewed by' tags received for this patch.
- No functional change.

Changes since v2:
- Rebased on linux-phy/next.
- Took care of drivers added/removed for each vendors since v2.
- Updated the 'Signed-off-by' tag with my current email id.

Changes from v1:
- Updated the MAINTAINERS file to reflect the same change in directory structure.
- Removed PHY_PLAT config as pointed out by Kishon.
So we don't require the second patch in the v1 of this series:
[PATCH 2/2] arm: mach-spear: Enable PHY_PLAT to meet dependency
- Renamed sunxi --> allwinner; rcar --> renesas.
- Fixed error coming with qcom Makefile.

Quoted 5 lines

* Build tested multi_v7_defconfig.
* Build tested arm64 defconfig with all the involved configs enabled.

[1] https://patchwork.kernel.org/patch/9684303/

.
.
<snip>
.
.

drivers/phy/Kconfig config GENERIC_PHY · line 15

Quoted 6 lines
drivers/phy/Kconfig +0 -0
index afaf7b643eeb..b353ac603ea0 100644
@@ -15,73 +15,6 @@ config GENERIC_PHY
  	  phy users can obtain reference to the PHY. All the users of this

.
.
<snip>
.
.

Quoted 4 lines

drivers/phy/Kconfig config PHY_XGENE · line 51

Quoted 2 lines
drivers/phy/Kconfig +1 -1
-
+menu "Platform Phy drivers"

I don't think creating a new menu is required. I removed it and merged into linux-phy.

Right. No need for a new menu. Thank you for fixing it and pushing out.

Best Regards
Vivek

Quoted 7 lines

Thanks
Kishon
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project