phy: Move phy-rockchip-dphy-rx0 out of staging
authorEzequiel Garcia <ezequiel@collabora.com>
Tue, 25 Aug 2020 22:07:10 +0000 (19:07 -0300)
committerVinod Koul <vkoul@kernel.org>
Mon, 31 Aug 2020 12:58:21 +0000 (18:28 +0530)
There is no need for this driver to be in staging.
Let's promote it!

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Link: https://lore.kernel.org/r/20200825220710.634106-1-ezequiel@collabora.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/Kconfig
drivers/phy/rockchip/Makefile
drivers/phy/rockchip/phy-rockchip-dphy-rx0.c [moved from drivers/staging/media/phy-rockchip-dphy-rx0/phy-rockchip-dphy-rx0.c with 100% similarity]
drivers/staging/media/Kconfig
drivers/staging/media/Makefile
drivers/staging/media/phy-rockchip-dphy-rx0/Kconfig [deleted file]
drivers/staging/media/phy-rockchip-dphy-rx0/Makefile [deleted file]
drivers/staging/media/phy-rockchip-dphy-rx0/TODO [deleted file]

index 0824b9d..c2f22f9 100644 (file)
@@ -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
index 9f59a81..c3cfc7f 100644 (file)
@@ -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
index 71d0777..63d3bc6 100644 (file)
@@ -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
index 17ececa..fee9c9b 100644 (file)
@@ -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/
diff --git a/drivers/staging/media/phy-rockchip-dphy-rx0/Kconfig b/drivers/staging/media/phy-rockchip-dphy-rx0/Kconfig
deleted file mode 100644 (file)
index fb74df8..0000000
+++ /dev/null
@@ -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.
diff --git a/drivers/staging/media/phy-rockchip-dphy-rx0/Makefile b/drivers/staging/media/phy-rockchip-dphy-rx0/Makefile
deleted file mode 100644 (file)
index 507e5d0..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-obj-$(CONFIG_PHY_ROCKCHIP_DPHY_RX0)            += phy-rockchip-dphy-rx0.o
diff --git a/drivers/staging/media/phy-rockchip-dphy-rx0/TODO b/drivers/staging/media/phy-rockchip-dphy-rx0/TODO
deleted file mode 100644 (file)
index ab612e5..0000000
+++ /dev/null
@@ -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 <linux-media@vger.kernel.org> and
-Helen Koike <helen.koike@collabora.com>.