Skip to contentSkip to conversation

phy: Move phy-rockchip-dphy-rx0 out of staging

PATCH Applied Ezequiel Garcia 2 participants 2 messages Aug 25, 2020 – Aug 31, 2020

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

PATCH 1/1 phy: Move phy-rockchip-dphy-rx0 out of staging

There is no need for this driver to be in staging. Let's promote it!

---
 drivers/phy/rockchip/Kconfig                        | 12 ++++++++++++
 drivers/phy/rockchip/Makefile                       |  1 +
 .../rockchip}/phy-rockchip-dphy-rx0.c               |  0
 drivers/staging/media/Kconfig                       |  2 --
 drivers/staging/media/Makefile                      |  1 -
 drivers/staging/media/phy-rockchip-dphy-rx0/Kconfig | 13 -------------
 .../staging/media/phy-rockchip-dphy-rx0/Makefile    |  2 --
 drivers/staging/media/phy-rockchip-dphy-rx0/TODO    |  6 ------
 8 files changed, 13 insertions(+), 24 deletions(-)
 rename drivers/{staging/media/phy-rockchip-dphy-rx0 => phy/rockchip}/phy-rockchip-dphy-rx0.c (100%)
 delete mode 100644 drivers/staging/media/phy-rockchip-dphy-rx0/Kconfig
 delete mode 100644 drivers/staging/media/phy-rockchip-dphy-rx0/Makefile
 delete mode 100644 drivers/staging/media/phy-rockchip-dphy-rx0/TODO
drivers/phy/rockchip/Kconfig +12 -0
index 0824b9dd5683..c2f22f90736c 100644
@@ -9,6 +9,18 @@ config PHY_ROCKCHIP_DP
 	help
 	  Enable this to support the Rockchip Display Port PHY.
 
+config PHY_ROCKCHIP_DPHY_RX0
+	tristate "Rockchip MIPI Synopsys DPHY RX0 driver"
+	depends on ARCH_ROCKCHIP || COMPILE_TEST
+	select GENERIC_PHY_MIPI_DPHY
+	select GENERIC_PHY
+	help
+	  Enable this to support the Rockchip MIPI Synopsys DPHY RX0
+	  associated to the Rockchip ISP module present in RK3399 SoCs.
+
+	  To compile this driver as a module, choose M here: the module
+	  will be called phy-rockchip-dphy-rx0.
+
 config PHY_ROCKCHIP_EMMC
 	tristate "Rockchip EMMC PHY Driver"
 	depends on ARCH_ROCKCHIP && OF
drivers/phy/rockchip/Makefile +1 -0
index 9f59a81e4e0d..c3cfc7f0af5c 100644
@@ -1,5 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_PHY_ROCKCHIP_DP)		+= phy-rockchip-dp.o
+obj-$(CONFIG_PHY_ROCKCHIP_DPHY_RX0)     += phy-rockchip-dphy-rx0.o
 obj-$(CONFIG_PHY_ROCKCHIP_EMMC)		+= phy-rockchip-emmc.o
 obj-$(CONFIG_PHY_ROCKCHIP_INNO_DSIDPHY)	+= phy-rockchip-inno-dsidphy.o
 obj-$(CONFIG_PHY_ROCKCHIP_INNO_HDMI)	+= phy-rockchip-inno-hdmi.o
drivers/phy/rockchip/phy-rockchip-dphy-rx0.c renamed from drivers/staging/media/phy-rockchip-dphy-rx0/phy-rockchip-dphy-rx0.c +0 -0
similarity index 100%
rename from drivers/staging/media/phy-rockchip-dphy-rx0/phy-rockchip-dphy-rx0.c
rename to drivers/phy/rockchip/phy-rockchip-dphy-rx0.c
drivers/staging/media/Kconfig +0 -2
index 71d077762698..63d3bc61b529 100644
@@ -42,8 +42,6 @@ source "drivers/staging/media/tegra-video/Kconfig"
 
 source "drivers/staging/media/ipu3/Kconfig"
 
-source "drivers/staging/media/phy-rockchip-dphy-rx0/Kconfig"
-
 source "drivers/staging/media/rkisp1/Kconfig"
 
 if MEDIA_ANALOG_TV_SUPPORT
drivers/staging/media/Makefile +0 -1
index 17ececa1e095..fee9c9b2aaaf 100644
@@ -10,6 +10,5 @@ obj-$(CONFIG_VIDEO_TEGRA)	+= tegra-video/
 obj-$(CONFIG_TEGRA_VDE)		+= tegra-vde/
 obj-$(CONFIG_VIDEO_HANTRO)	+= hantro/
 obj-$(CONFIG_VIDEO_IPU3_IMGU)	+= ipu3/
-obj-$(CONFIG_PHY_ROCKCHIP_DPHY_RX0)	+= phy-rockchip-dphy-rx0/
 obj-$(CONFIG_VIDEO_ROCKCHIP_ISP1)	+= rkisp1/
 obj-$(CONFIG_VIDEO_USBVISION)	+= usbvision/
drivers/staging/media/phy-rockchip-dphy-rx0/Kconfig deleted +0 -13
deleted file mode 100644
index fb74df829371..000000000000
@@ -1,13 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-
-config PHY_ROCKCHIP_DPHY_RX0
-	tristate "Rockchip MIPI Synopsys DPHY RX0 driver"
-	depends on ARCH_ROCKCHIP || COMPILE_TEST
-	select GENERIC_PHY_MIPI_DPHY
-	select GENERIC_PHY
-	help
-	  Enable this to support the Rockchip MIPI Synopsys DPHY RX0
-	  associated to the Rockchip ISP module present in RK3399 SoCs.
-
-	  To compile this driver as a module, choose M here: the module
-	  will be called phy-rockchip-dphy-rx0.
drivers/staging/media/phy-rockchip-dphy-rx0/Makefile deleted +0 -2
deleted file mode 100644
index 507e5d0593ab..000000000000
@@ -1,2 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-obj-$(CONFIG_PHY_ROCKCHIP_DPHY_RX0)		+= phy-rockchip-dphy-rx0.o
drivers/staging/media/phy-rockchip-dphy-rx0/TODO deleted +0 -6
deleted file mode 100644
index ab612e5b27dc..000000000000
@@ -1,6 +0,0 @@
-The main reason for keeping this in staging is because the only driver
-that uses this is rkisp1, which is also in staging. It should be moved together
-with rkisp1.
-
-Please CC patches to Linux Media <[email protected]> and
-Helen Koike <[email protected]>.
Signature · 1 line
2.27.0
maintainer Applied
#1 lore raw
Quoted 2 lines · Ezequiel Garcia

There is no need for this driver to be in staging. Let's promote it!

Applied, thanks

Signature · 1 line
~Vinod