All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sumit Garg <sumit.garg@linaro.org>
To: u-boot@lists.denx.de
Cc: rfried.dev@gmail.com, jorge.ramirez.ortiz@gmail.com,
	sjg@chromium.org, trini@konsulko.com, stephan@gerhold.net,
	mario.six@gdsys.cc, dsankouski@gmail.com,
	robert.marko@sartura.hr, luka.kovacic@sartura.hr,
	luka.perkov@sartura.hr, jh80.chung@samsung.com,
	nicolas.dechesne@linaro.org, vinod.koul@linaro.org,
	mworsfold@impinj.com, lgillham@impinj.com,
	daniel.thompson@linaro.org, pbrobinson@gmail.com,
	Sumit Garg <sumit.garg@linaro.org>
Subject: [PATCH 01/13] phy: Move qcom SoCs specific phy drivers to qcom folder
Date: Thu,  4 Aug 2022 19:57:09 +0530	[thread overview]
Message-ID: <20220804142721.536556-2-sumit.garg@linaro.org> (raw)
In-Reply-To: <20220804142721.536556-1-sumit.garg@linaro.org>

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
---
 drivers/phy/Kconfig                           | 15 +--------------
 drivers/phy/Makefile                          |  3 +--
 drivers/phy/qcom/Kconfig                      | 13 +++++++++++++
 drivers/phy/qcom/Makefile                     |  2 ++
 drivers/phy/{ => qcom}/msm8916-usbh-phy.c     |  0
 drivers/phy/{ => qcom}/phy-qcom-ipq4019-usb.c |  0
 6 files changed, 17 insertions(+), 16 deletions(-)
 create mode 100644 drivers/phy/qcom/Kconfig
 create mode 100644 drivers/phy/qcom/Makefile
 rename drivers/phy/{ => qcom}/msm8916-usbh-phy.c (100%)
 rename drivers/phy/{ => qcom}/phy-qcom-ipq4019-usb.c (100%)

diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index c25b42c68f..cf4d5908d7 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -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
diff --git a/drivers/phy/Makefile b/drivers/phy/Makefile
index d95439c425..a3b9f3c5b1 100644
--- a/drivers/phy/Makefile
+++ b/drivers/phy/Makefile
@@ -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
index 0000000000..f685a6455e
--- /dev/null
+++ b/drivers/phy/qcom/Kconfig
@@ -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
index 0000000000..4a340e33c8
--- /dev/null
+++ b/drivers/phy/qcom/Makefile
@@ -0,0 +1,2 @@
+obj-$(CONFIG_PHY_QCOM_IPQ4019_USB) += phy-qcom-ipq4019-usb.o
+obj-$(CONFIG_MSM8916_USB_PHY) += msm8916-usbh-phy.o
diff --git a/drivers/phy/msm8916-usbh-phy.c b/drivers/phy/qcom/msm8916-usbh-phy.c
similarity index 100%
rename from drivers/phy/msm8916-usbh-phy.c
rename to drivers/phy/qcom/msm8916-usbh-phy.c
diff --git a/drivers/phy/phy-qcom-ipq4019-usb.c b/drivers/phy/qcom/phy-qcom-ipq4019-usb.c
similarity index 100%
rename from drivers/phy/phy-qcom-ipq4019-usb.c
rename to drivers/phy/qcom/phy-qcom-ipq4019-usb.c
-- 
2.25.1


  reply	other threads:[~2022-08-04 14:28 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-04 14:27 [PATCH 00/13] USB support for QCS404 SoC Sumit Garg
2022-08-04 14:27 ` Sumit Garg [this message]
2022-08-26 18:49   ` [PATCH 01/13] phy: Move qcom SoCs specific phy drivers to qcom folder Tom Rini
2022-08-04 14:27 ` [PATCH 02/13] phy: Add support for drivers to enable USB on QCS404 SoC Sumit Garg
2022-08-26 18:50   ` Tom Rini
2022-08-04 14:27 ` [PATCH 03/13] reset: Convert ipq4019 driver to a generic Qcom driver Sumit Garg
2022-08-26 18:50   ` Tom Rini
2022-08-04 14:27 ` [PATCH 04/13] reset: qcom: Add support for QCS404 SoC reset table Sumit Garg
2022-08-06  7:41   ` Robert Marko
2022-08-09 13:25     ` Sumit Garg
2022-08-09 13:27       ` Robert Marko
2022-08-26 18:50   ` Tom Rini
2022-08-04 14:27 ` [PATCH 05/13] dts: qcs404-evb: Add reset controller node Sumit Garg
2022-08-26 18:50   ` Tom Rini
2022-08-04 14:27 ` [PATCH 06/13] clocks: qcom: Add clock enable callback support Sumit Garg
2022-08-26 18:50   ` Tom Rini
2022-08-04 14:27 ` [PATCH 07/13] clocks: qcs404: Add support for USB clocks Sumit Garg
2022-08-26 18:50   ` Tom Rini
2022-08-04 14:27 ` [PATCH 08/13] dts: qcs404-evb: Add USB controller and PHY nodes Sumit Garg
2022-08-26 18:50   ` Tom Rini
2022-08-04 14:27 ` [PATCH 09/13] pmic: Convert pm8916 driver to a generic Qcom PMIC driver Sumit Garg
2022-08-26 18:50   ` Tom Rini
2022-08-04 14:27 ` [PATCH 10/13] gpio: qcom_pmic: Add support for GPIO LV/MV subtype Sumit Garg
2022-08-26 18:50   ` Tom Rini
2022-08-04 14:27 ` [PATCH 11/13] dts: qcs404-evb: Add PMIC GPIO controller node Sumit Garg
2022-08-26 18:51   ` Tom Rini
2022-08-04 14:27 ` [PATCH 12/13] board: qcs404-evb: Enable USB3 specific PMIC GPIO Sumit Garg
2022-08-26 18:51   ` Tom Rini
2022-08-04 14:27 ` [PATCH 13/13] qcs404evb_defconfig: Enable USB configs Sumit Garg
2022-08-26 18:51   ` Tom Rini
2022-08-16  8:09 ` [PATCH 00/13] USB support for QCS404 SoC Sumit Garg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220804142721.536556-2-sumit.garg@linaro.org \
    --to=sumit.garg@linaro.org \
    --cc=daniel.thompson@linaro.org \
    --cc=dsankouski@gmail.com \
    --cc=jh80.chung@samsung.com \
    --cc=jorge.ramirez.ortiz@gmail.com \
    --cc=lgillham@impinj.com \
    --cc=luka.kovacic@sartura.hr \
    --cc=luka.perkov@sartura.hr \
    --cc=mario.six@gdsys.cc \
    --cc=mworsfold@impinj.com \
    --cc=nicolas.dechesne@linaro.org \
    --cc=pbrobinson@gmail.com \
    --cc=rfried.dev@gmail.com \
    --cc=robert.marko@sartura.hr \
    --cc=sjg@chromium.org \
    --cc=stephan@gerhold.net \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=vinod.koul@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.