Commit e7eab491 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

media: staging/media/soc_camera: remove this driver



The soc_camera driver (and related soc_camera-dependent sensor
drivers) is obsolete and depends on BROKEN for a long time now.
Nobody is using it, so it is time to kill it off.

Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 63839882
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -42,8 +42,6 @@ source "drivers/staging/media/tegra-video/Kconfig"

source "drivers/staging/media/ipu3/Kconfig"

source "drivers/staging/media/soc_camera/Kconfig"

source "drivers/staging/media/phy-rockchip-dphy-rx0/Kconfig"

source "drivers/staging/media/rkisp1/Kconfig"
+0 −1
Original line number Diff line number Diff line
@@ -10,7 +10,6 @@ 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_SOC_CAMERA)	+= soc_camera/
obj-$(CONFIG_PHY_ROCKCHIP_DPHY_RX0)	+= phy-rockchip-dphy-rx0/
obj-$(CONFIG_VIDEO_ROCKCHIP_ISP1)	+= rkisp1/
obj-$(CONFIG_VIDEO_USBVISION)	+= usbvision/
+0 −51
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
config SOC_CAMERA
	tristate "SoC camera support"
	depends on VIDEO_V4L2 && HAS_DMA && I2C && BROKEN
	select VIDEOBUF2_CORE
	help
	  SoC Camera is a common API to several cameras, not connecting
	  over a bus like PCI or USB. For example some i2c camera connected
	  directly to the data bus of an SoC.

comment "soc_camera sensor drivers"

config SOC_CAMERA_MT9M111
	tristate "legacy soc_camera mt9m111, mt9m112 and mt9m131 support"
	depends on SOC_CAMERA && I2C
	select VIDEO_MT9M111
	help
	  This driver supports MT9M111, MT9M112 and MT9M131 cameras from
	  Micron/Aptina.
	  This is the legacy configuration which shouldn't be used anymore,
	  while VIDEO_MT9M111 should be used instead.

config SOC_CAMERA_MT9V022
	tristate "mt9v022 and mt9v024 support"
	depends on SOC_CAMERA && I2C
	help
	  This driver supports MT9V022 cameras from Micron

config SOC_CAMERA_OV5642
	tristate "ov5642 camera support"
	depends on SOC_CAMERA && I2C
	help
	  This is a V4L2 camera driver for the OmniVision OV5642 sensor

config SOC_CAMERA_OV9740
	tristate "ov9740 camera support"
	depends on SOC_CAMERA && I2C
	help
	  This is a ov9740 camera driver

config SOC_CAMERA_IMX074
	tristate "imx074 support (DEPRECATED)"
	depends on SOC_CAMERA && I2C
	help
	  This driver supports IMX074 cameras from Sony

config SOC_CAMERA_MT9T031
	tristate "mt9t031 support (DEPRECATED)"
	depends on SOC_CAMERA && I2C
	help
	  This driver supports MT9T031 cameras from Micron.
+0 −7
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_SOC_CAMERA)		+= soc_camera.o soc_mediabus.o
obj-$(CONFIG_SOC_CAMERA_MT9V022)	+= soc_mt9v022.o
obj-$(CONFIG_SOC_CAMERA_OV5642)		+= soc_ov5642.o
obj-$(CONFIG_SOC_CAMERA_OV9740)		+= soc_ov9740.o
obj-$(CONFIG_SOC_CAMERA_IMX074)		+= imx074.o
obj-$(CONFIG_SOC_CAMERA_MT9T031)	+= mt9t031.o
+0 −4
Original line number Diff line number Diff line
The SoC camera framework is obsolete and scheduled for removal in the near
future. Developers are encouraged to convert the drivers to use the
regular V4L2 API if these drivers are still needed (and if someone has the
hardware).
Loading