]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
phy: Move qcom SoCs specific phy drivers to qcom folder
authorSumit Garg <sumit.garg@linaro.org>
Thu, 4 Aug 2022 14:27:09 +0000 (19:57 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 26 Aug 2022 14:55:45 +0000 (10:55 -0400)
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
drivers/phy/Kconfig
drivers/phy/Makefile
drivers/phy/qcom/Kconfig [new file with mode: 0644]
drivers/phy/qcom/Makefile [new file with mode: 0644]
drivers/phy/qcom/msm8916-usbh-phy.c [moved from drivers/phy/msm8916-usbh-phy.c with 100% similarity]
drivers/phy/qcom/phy-qcom-ipq4019-usb.c [moved from drivers/phy/phy-qcom-ipq4019-usb.c with 100% similarity]

index c25b42c68f52718cb3154f9e2f9f817d73be79a2..cf4d5908d7378c5864b863cfeee99ffffe6faa20 100644 (file)
@@ -143,12 +143,6 @@ config STI_USB_PHY
          used by USB2 and USB3 Host controllers available on
          STiH407 SoC families.
 
-config PHY_QCOM_IPQ4019_USB
-       tristate "Qualcomm IPQ4019 USB PHY driver"
-       depends on PHY && ARCH_IPQ40XX
-       help
-         Support for the USB PHY-s on Qualcomm IPQ40xx SoC-s.
-
 config PHY_RCAR_GEN2
        tristate "Renesas R-Car Gen2 USB PHY"
        depends on PHY && RCAR_GEN2
@@ -220,14 +214,6 @@ config MESON_AXG_MIPI_PCIE_ANALOG_PHY
          This is the generic phy driver for the Amlogic Meson AXG
          MIPI PCIe Analog PHY.
 
-config MSM8916_USB_PHY
-       bool "Qualcomm MSM8916 USB PHY support"
-       depends on PHY
-       help
-          Support the USB PHY in msm8916
-
-         This PHY is found on qualcomm dragonboard410c development board.
-
 config OMAP_USB2_PHY
        bool "Support OMAP's USB2 PHY"
        depends on PHY
@@ -298,5 +284,6 @@ config PHY_XILINX_ZYNQMP
 source "drivers/phy/rockchip/Kconfig"
 source "drivers/phy/cadence/Kconfig"
 source "drivers/phy/ti/Kconfig"
+source "drivers/phy/qcom/Kconfig"
 
 endmenu
index d95439c4257b7cb41abf4c55078444477ed28699..a3b9f3c5b1888307f3995a7181179450b50043ff 100644 (file)
@@ -21,7 +21,6 @@ obj-$(CONFIG_PHY_SANDBOX) += sandbox-phy.o
 obj-$(CONFIG_$(SPL_)PIPE3_PHY) += ti-pipe3-phy.o
 obj-$(CONFIG_AM654_PHY) += phy-ti-am654.o
 obj-$(CONFIG_STI_USB_PHY) += sti_usb_phy.o
-obj-$(CONFIG_PHY_QCOM_IPQ4019_USB) += phy-qcom-ipq4019-usb.o
 obj-$(CONFIG_PHY_RCAR_GEN2) += phy-rcar-gen2.o
 obj-$(CONFIG_PHY_RCAR_GEN3) += phy-rcar-gen3.o
 obj-$(CONFIG_PHY_STM32_USBPHYC) += phy-stm32-usbphyc.o
@@ -30,7 +29,6 @@ obj-$(CONFIG_MESON_GXL_USB_PHY) += meson-gxl-usb2.o
 obj-$(CONFIG_MESON_G12A_USB_PHY) += meson-g12a-usb2.o meson-g12a-usb3-pcie.o
 obj-$(CONFIG_MESON_AXG_MIPI_DPHY) += meson-axg-mipi-dphy.o
 obj-$(CONFIG_MESON_AXG_MIPI_PCIE_ANALOG_PHY) += meson-axg-mipi-pcie-analog.o
-obj-$(CONFIG_MSM8916_USB_PHY) += msm8916-usbh-phy.o
 obj-$(CONFIG_OMAP_USB2_PHY) += omap-usb2-phy.o
 obj-$(CONFIG_KEYSTONE_USB_PHY) += keystone-usb-phy.o
 obj-$(CONFIG_MT7620_USB_PHY) += mt7620-usb-phy.o
@@ -42,3 +40,4 @@ obj-$(CONFIG_PHY_IMX8MQ_USB) += phy-imx8mq-usb.o
 obj-$(CONFIG_PHY_XILINX_ZYNQMP) += phy-zynqmp.o
 obj-y += cadence/
 obj-y += ti/
+obj-y += qcom/
diff --git a/drivers/phy/qcom/Kconfig b/drivers/phy/qcom/Kconfig
new file mode 100644 (file)
index 0000000..f685a64
--- /dev/null
@@ -0,0 +1,13 @@
+config MSM8916_USB_PHY
+       bool "Qualcomm MSM8916 USB PHY support"
+       depends on PHY
+       help
+          Support the USB PHY in msm8916
+
+         This PHY is found on qualcomm dragonboard410c development board.
+
+config PHY_QCOM_IPQ4019_USB
+       tristate "Qualcomm IPQ4019 USB PHY driver"
+       depends on PHY && ARCH_IPQ40XX
+       help
+         Support for the USB PHY-s on Qualcomm IPQ40xx SoC-s.
diff --git a/drivers/phy/qcom/Makefile b/drivers/phy/qcom/Makefile
new file mode 100644 (file)
index 0000000..4a340e3
--- /dev/null
@@ -0,0 +1,2 @@
+obj-$(CONFIG_PHY_QCOM_IPQ4019_USB) += phy-qcom-ipq4019-usb.o
+obj-$(CONFIG_MSM8916_USB_PHY) += msm8916-usbh-phy.o