media: meye: deprecate this driver
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 11 Aug 2022 09:17:43 +0000 (11:17 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 29 Aug 2022 14:42:52 +0000 (16:42 +0200)
Deprecate the meye driver. This driver does not use the vb2 framework
for video streaming, instead it implements its own version.

We want to get rid of these old drivers, so deprecated it for future
removal.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
MAINTAINERS
drivers/media/pci/Kconfig
drivers/media/pci/Makefile
drivers/staging/media/Kconfig
drivers/staging/media/Makefile
drivers/staging/media/deprecated/meye/Kconfig [moved from drivers/media/pci/meye/Kconfig with 73% similarity]
drivers/staging/media/deprecated/meye/Makefile [moved from drivers/media/pci/meye/Makefile with 100% similarity]
drivers/staging/media/deprecated/meye/TODO [new file with mode: 0644]
drivers/staging/media/deprecated/meye/meye.c [moved from drivers/media/pci/meye/meye.c with 100% similarity]
drivers/staging/media/deprecated/meye/meye.h [moved from drivers/media/pci/meye/meye.h with 100% similarity]

index 16ee869..47b9118 100644 (file)
@@ -13775,7 +13775,7 @@ MOTION EYE VAIO PICTUREBOOK CAMERA DRIVER
 S:     Orphan
 W:     http://popies.net/meye/
 F:     Documentation/userspace-api/media/drivers/meye*
-F:     drivers/media/pci/meye/
+F:     drivers/staging/media/deprecated/meye/
 F:     include/uapi/linux/meye.h
 
 MOTORCOMM PHY DRIVER
index 7a229dd..4801945 100644 (file)
@@ -13,7 +13,6 @@ if MEDIA_PCI_SUPPORT
 if MEDIA_CAMERA_SUPPORT
        comment "Media capture support"
 
-source "drivers/media/pci/meye/Kconfig"
 source "drivers/media/pci/solo6x10/Kconfig"
 source "drivers/media/pci/sta2x11/Kconfig"
 source "drivers/media/pci/tw5864/Kconfig"
index 00d740b..8bed619 100644 (file)
@@ -32,7 +32,6 @@ obj-$(CONFIG_VIDEO_CX25821) += cx25821/
 obj-$(CONFIG_VIDEO_CX88) += cx88/
 obj-$(CONFIG_VIDEO_DT3155) += dt3155/
 obj-$(CONFIG_VIDEO_IVTV) += ivtv/
-obj-$(CONFIG_VIDEO_MEYE) += meye/
 obj-$(CONFIG_VIDEO_SAA7134) += saa7134/
 obj-$(CONFIG_VIDEO_SAA7164) += saa7164/
 obj-$(CONFIG_VIDEO_SOLO6X10) += solo6x10/
index 9781080..ed3e484 100644 (file)
@@ -56,6 +56,7 @@ menuconfig STAGING_MEDIA_DEPRECATED
 
 if STAGING_MEDIA_DEPRECATED
 source "drivers/staging/media/deprecated/cpia2/Kconfig"
+source "drivers/staging/media/deprecated/meye/Kconfig"
 source "drivers/staging/media/deprecated/stkwebcam/Kconfig"
 endif
 
index adcf128..822c70a 100644 (file)
@@ -4,6 +4,7 @@ obj-$(CONFIG_VIDEO_CPIA2)       += deprecated/cpia2/
 obj-$(CONFIG_VIDEO_IMX_MEDIA)  += imx/
 obj-$(CONFIG_VIDEO_MAX96712)   += max96712/
 obj-$(CONFIG_VIDEO_MESON_VDEC) += meson/vdec/
+obj-$(CONFIG_VIDEO_MEYE)       += deprecated/meye/
 obj-$(CONFIG_VIDEO_OMAP4)      += omap4iss/
 obj-$(CONFIG_VIDEO_ROCKCHIP_VDEC)      += rkvdec/
 obj-$(CONFIG_VIDEO_STKWEBCAM)  += deprecated/stkwebcam/
similarity index 73%
rename from drivers/media/pci/meye/Kconfig
rename to drivers/staging/media/deprecated/meye/Kconfig
index 3e69b66..f135f85 100644 (file)
@@ -1,6 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config VIDEO_MEYE
-       tristate "Sony Vaio Picturebook Motion Eye Video For Linux"
+       tristate "Sony Vaio Picturebook Motion Eye Video For Linux (DEPRECATED)"
        depends on PCI && VIDEO_DEV
        depends on SONY_LAPTOP
        depends on X86 || COMPILE_TEST
@@ -12,5 +12,8 @@ config VIDEO_MEYE
          If you say Y or M here, you need to say Y or M to "Sony Laptop
          Extras" in the misc device section.
 
+         This driver is deprecated and is scheduled for removal by
+         the beginning of 2023. See the TODO file for more information.
+
          To compile this driver as a module, choose M here: the
          module will be called meye.
diff --git a/drivers/staging/media/deprecated/meye/TODO b/drivers/staging/media/deprecated/meye/TODO
new file mode 100644 (file)
index 0000000..6d1d143
--- /dev/null
@@ -0,0 +1,6 @@
+The meye driver does not use the vb2 framework for streaming
+video, instead it implements this in the driver.
+
+To prevent removal of this driver early 2023 it has to be
+converted to use vb2. Contact the linux-media@vger.kernel.org
+mailing list if you want to do this.