Skip to content

Commit

Permalink
V4L/DVB (7170): soc_camera V4L2 driver for directly-connected SoC-bas…
Browse files Browse the repository at this point in the history
…ed cameras

This driver provides an interface between platform-specific camera
busses and camera devices. It should be used if the camera is connected
not over a "proper" bus like PCI or USB, but over a special bus, like,
for example, the Quick Capture interface on PXA270 SoCs. Later it should
also be used for i.MX31 SoCs from Freescale.  It can handle multiple
cameras and / or multiple busses, which can be used, e.g., in
stereo-vision applications.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Guennadi Liakhovetski authored and Mauro Carvalho Chehab committed Apr 24, 2008
1 parent a7c7402 commit e55222e
Show file tree
Hide file tree
Showing 4 changed files with 1,131 additions and 0 deletions.
9 changes: 9 additions & 0 deletions drivers/media/video/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -836,4 +836,13 @@ config USB_STKWEBCAM

endif # V4L_USB_DRIVERS

config SOC_CAMERA
tristate "SoC camera support"
depends on VIDEO_V4L2
select VIDEOBUF_DMA_SG
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.

endif # VIDEO_CAPTURE_DRIVERS
2 changes: 2 additions & 0 deletions drivers/media/video/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,7 @@ obj-$(CONFIG_VIDEO_IVTV) += ivtv/
obj-$(CONFIG_VIDEO_VIVI) += vivi.o
obj-$(CONFIG_VIDEO_CX23885) += cx23885/

obj-$(CONFIG_SOC_CAMERA) += soc_camera.o

EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core
EXTRA_CFLAGS += -Idrivers/media/dvb/frontends
Loading

0 comments on commit e55222e

Please sign in to comment.