2005-04-16 22:20:36 +00:00
|
|
|
#
|
|
|
|
# Makefile for the video capture/playback device drivers.
|
|
|
|
#
|
|
|
|
|
2008-04-22 17:41:49 +00:00
|
|
|
tuner-objs := tuner-core.o
|
2007-04-08 04:09:11 +00:00
|
|
|
|
2006-01-09 17:32:39 +00:00
|
|
|
msp3400-objs := msp3400-driver.o msp3400-kthreads.o
|
|
|
|
|
2008-01-12 09:48:14 +00:00
|
|
|
stkwebcam-objs := stk-webcam.o stk-sensor.o
|
|
|
|
|
2008-12-01 18:40:09 +00:00
|
|
|
omap2cam-objs := omap24xxcam.o omap24xxcam-dma.o
|
|
|
|
|
2010-03-01 08:14:18 +00:00
|
|
|
videodev-objs := v4l2-dev.o v4l2-ioctl.o v4l2-device.o v4l2-fh.o \
|
2010-08-01 17:32:42 +00:00
|
|
|
v4l2-event.o v4l2-ctrls.o
|
2008-07-20 11:43:17 +00:00
|
|
|
|
2009-06-12 06:38:15 +00:00
|
|
|
# V4L2 core modules
|
|
|
|
|
2008-12-23 18:02:16 +00:00
|
|
|
obj-$(CONFIG_VIDEO_DEV) += videodev.o v4l2-int-device.o
|
|
|
|
ifeq ($(CONFIG_COMPAT),y)
|
|
|
|
obj-$(CONFIG_VIDEO_DEV) += v4l2-compat-ioctl32.o
|
|
|
|
endif
|
2008-01-29 21:32:35 +00:00
|
|
|
|
|
|
|
obj-$(CONFIG_VIDEO_V4L2_COMMON) += v4l2-common.o
|
2006-05-23 18:56:20 +00:00
|
|
|
|
2009-06-12 06:38:15 +00:00
|
|
|
# All i2c modules must come first:
|
2008-09-03 19:48:20 +00:00
|
|
|
|
2009-06-12 06:38:15 +00:00
|
|
|
obj-$(CONFIG_VIDEO_TUNER) += tuner.o
|
2006-09-01 12:25:30 +00:00
|
|
|
obj-$(CONFIG_VIDEO_TVAUDIO) += tvaudio.o
|
|
|
|
obj-$(CONFIG_VIDEO_TDA7432) += tda7432.o
|
2005-11-09 05:38:41 +00:00
|
|
|
obj-$(CONFIG_VIDEO_SAA6588) += saa6588.o
|
2006-08-22 18:38:18 +00:00
|
|
|
obj-$(CONFIG_VIDEO_TDA9840) += tda9840.o
|
|
|
|
obj-$(CONFIG_VIDEO_TEA6415C) += tea6415c.o
|
|
|
|
obj-$(CONFIG_VIDEO_TEA6420) += tea6420.o
|
|
|
|
obj-$(CONFIG_VIDEO_SAA7110) += saa7110.o
|
|
|
|
obj-$(CONFIG_VIDEO_SAA711X) += saa7115.o
|
2008-04-09 09:26:17 +00:00
|
|
|
obj-$(CONFIG_VIDEO_SAA717X) += saa717x.o
|
2006-08-22 18:38:18 +00:00
|
|
|
obj-$(CONFIG_VIDEO_SAA7127) += saa7127.o
|
|
|
|
obj-$(CONFIG_VIDEO_SAA7185) += saa7185.o
|
|
|
|
obj-$(CONFIG_VIDEO_SAA7191) += saa7191.o
|
|
|
|
obj-$(CONFIG_VIDEO_ADV7170) += adv7170.o
|
|
|
|
obj-$(CONFIG_VIDEO_ADV7175) += adv7175.o
|
2009-09-19 00:17:20 +00:00
|
|
|
obj-$(CONFIG_VIDEO_ADV7180) += adv7180.o
|
2009-05-07 12:30:01 +00:00
|
|
|
obj-$(CONFIG_VIDEO_ADV7343) += adv7343.o
|
2006-08-22 18:38:18 +00:00
|
|
|
obj-$(CONFIG_VIDEO_VPX3220) += vpx3220.o
|
|
|
|
obj-$(CONFIG_VIDEO_BT819) += bt819.o
|
|
|
|
obj-$(CONFIG_VIDEO_BT856) += bt856.o
|
|
|
|
obj-$(CONFIG_VIDEO_BT866) += bt866.o
|
2006-08-31 18:31:07 +00:00
|
|
|
obj-$(CONFIG_VIDEO_KS0127) += ks0127.o
|
2009-05-07 12:29:25 +00:00
|
|
|
obj-$(CONFIG_VIDEO_THS7303) += ths7303.o
|
2009-06-12 06:38:15 +00:00
|
|
|
obj-$(CONFIG_VIDEO_VINO) += indycam.o
|
|
|
|
obj-$(CONFIG_VIDEO_TVP5150) += tvp5150.o
|
|
|
|
obj-$(CONFIG_VIDEO_TVP514X) += tvp514x.o
|
2009-12-18 17:07:57 +00:00
|
|
|
obj-$(CONFIG_VIDEO_TVP7002) += tvp7002.o
|
2009-06-12 06:38:15 +00:00
|
|
|
obj-$(CONFIG_VIDEO_MSP3400) += msp3400.o
|
|
|
|
obj-$(CONFIG_VIDEO_CS5345) += cs5345.o
|
|
|
|
obj-$(CONFIG_VIDEO_CS53L32A) += cs53l32a.o
|
|
|
|
obj-$(CONFIG_VIDEO_M52790) += m52790.o
|
|
|
|
obj-$(CONFIG_VIDEO_TLV320AIC23B) += tlv320aic23b.o
|
|
|
|
obj-$(CONFIG_VIDEO_WM8775) += wm8775.o
|
|
|
|
obj-$(CONFIG_VIDEO_WM8739) += wm8739.o
|
|
|
|
obj-$(CONFIG_VIDEO_VP27SMPX) += vp27smpx.o
|
|
|
|
obj-$(CONFIG_VIDEO_CX25840) += cx25840/
|
|
|
|
obj-$(CONFIG_VIDEO_UPD64031A) += upd64031a.o
|
|
|
|
obj-$(CONFIG_VIDEO_UPD64083) += upd64083.o
|
|
|
|
obj-$(CONFIG_VIDEO_OV7670) += ov7670.o
|
|
|
|
obj-$(CONFIG_VIDEO_TCM825X) += tcm825x.o
|
|
|
|
obj-$(CONFIG_VIDEO_TVEEPROM) += tveeprom.o
|
2009-06-29 08:41:26 +00:00
|
|
|
obj-$(CONFIG_VIDEO_MT9V011) += mt9v011.o
|
2010-10-11 16:33:57 +00:00
|
|
|
obj-$(CONFIG_VIDEO_SR030PC30) += sr030pc30.o
|
2006-08-22 18:38:18 +00:00
|
|
|
|
2010-10-05 15:33:25 +00:00
|
|
|
obj-$(CONFIG_SOC_CAMERA_IMX074) += imx074.o
|
2009-06-12 06:38:15 +00:00
|
|
|
obj-$(CONFIG_SOC_CAMERA_MT9M001) += mt9m001.o
|
|
|
|
obj-$(CONFIG_SOC_CAMERA_MT9M111) += mt9m111.o
|
|
|
|
obj-$(CONFIG_SOC_CAMERA_MT9T031) += mt9t031.o
|
2009-12-11 14:53:55 +00:00
|
|
|
obj-$(CONFIG_SOC_CAMERA_MT9T112) += mt9t112.o
|
2009-06-12 06:38:15 +00:00
|
|
|
obj-$(CONFIG_SOC_CAMERA_MT9V022) += mt9v022.o
|
2010-12-02 14:53:28 +00:00
|
|
|
obj-$(CONFIG_SOC_CAMERA_OV2640) += ov2640.o
|
2010-10-05 14:52:45 +00:00
|
|
|
obj-$(CONFIG_SOC_CAMERA_OV6650) += ov6650.o
|
2009-06-12 06:38:15 +00:00
|
|
|
obj-$(CONFIG_SOC_CAMERA_OV772X) += ov772x.o
|
2009-09-23 07:59:24 +00:00
|
|
|
obj-$(CONFIG_SOC_CAMERA_OV9640) += ov9640.o
|
2009-10-05 15:54:04 +00:00
|
|
|
obj-$(CONFIG_SOC_CAMERA_RJ54N1) += rj54n1cb0c.o
|
2009-06-12 06:38:15 +00:00
|
|
|
obj-$(CONFIG_SOC_CAMERA_TW9910) += tw9910.o
|
|
|
|
|
|
|
|
# And now the v4l2 drivers:
|
2006-08-22 18:38:18 +00:00
|
|
|
|
2009-06-12 06:38:15 +00:00
|
|
|
obj-$(CONFIG_VIDEO_BT848) += bt8xx/
|
|
|
|
obj-$(CONFIG_VIDEO_ZORAN) += zoran/
|
|
|
|
obj-$(CONFIG_VIDEO_CQCAM) += c-qcam.o
|
|
|
|
obj-$(CONFIG_VIDEO_BWQCAM) += bw-qcam.o
|
|
|
|
obj-$(CONFIG_VIDEO_W9966) += w9966.o
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_VIDEO_PMS) += pms.o
|
2009-06-12 06:38:15 +00:00
|
|
|
obj-$(CONFIG_VIDEO_VINO) += vino.o
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_VIDEO_MEYE) += meye.o
|
2007-06-25 18:42:01 +00:00
|
|
|
obj-$(CONFIG_VIDEO_SAA7134) += saa7134/
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_VIDEO_CX88) += cx88/
|
2005-11-09 05:38:30 +00:00
|
|
|
obj-$(CONFIG_VIDEO_EM28XX) += em28xx/
|
2010-02-02 07:07:47 +00:00
|
|
|
obj-$(CONFIG_VIDEO_TLG2300) += tlg2300/
|
2009-03-03 17:37:50 +00:00
|
|
|
obj-$(CONFIG_VIDEO_CX231XX) += cx231xx/
|
2006-12-04 11:30:53 +00:00
|
|
|
obj-$(CONFIG_VIDEO_USBVISION) += usbvision/
|
2006-06-26 23:58:46 +00:00
|
|
|
obj-$(CONFIG_VIDEO_PVRUSB2) += pvrusb2/
|
2006-02-27 03:09:05 +00:00
|
|
|
obj-$(CONFIG_VIDEO_CPIA2) += cpia2/
|
2006-08-22 18:38:18 +00:00
|
|
|
obj-$(CONFIG_VIDEO_MXB) += mxb.o
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_VIDEO_HEXIUM_ORION) += hexium_orion.o
|
|
|
|
obj-$(CONFIG_VIDEO_HEXIUM_GEMINI) += hexium_gemini.o
|
2010-11-08 13:45:44 +00:00
|
|
|
obj-$(CONFIG_VIDEO_TIMBERDALE) += timblogiw.o
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2007-08-23 19:37:49 +00:00
|
|
|
obj-$(CONFIG_VIDEOBUF_GEN) += videobuf-core.o
|
|
|
|
obj-$(CONFIG_VIDEOBUF_DMA_SG) += videobuf-dma-sg.o
|
2008-07-17 00:33:39 +00:00
|
|
|
obj-$(CONFIG_VIDEOBUF_DMA_CONTIG) += videobuf-dma-contig.o
|
2007-08-03 02:31:33 +00:00
|
|
|
obj-$(CONFIG_VIDEOBUF_VMALLOC) += videobuf-vmalloc.o
|
2007-08-23 21:12:08 +00:00
|
|
|
obj-$(CONFIG_VIDEOBUF_DVB) += videobuf-dvb.o
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_VIDEO_BTCX) += btcx-risc.o
|
|
|
|
|
2010-04-23 08:38:37 +00:00
|
|
|
obj-$(CONFIG_V4L2_MEM2MEM_DEV) += v4l2-mem2mem.o
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_VIDEO_M32R_AR_M64278) += arv.o
|
|
|
|
|
2006-06-18 17:40:30 +00:00
|
|
|
obj-$(CONFIG_VIDEO_CX2341X) += cx2341x.o
|
2005-11-14 00:07:59 +00:00
|
|
|
|
2006-11-04 12:25:53 +00:00
|
|
|
obj-$(CONFIG_VIDEO_CAFE_CCIC) += cafe_ccic.o
|
2007-07-18 21:04:17 +00:00
|
|
|
|
2010-10-20 00:32:11 +00:00
|
|
|
obj-$(CONFIG_VIDEO_VIA_CAMERA) += via-camera.o
|
|
|
|
|
2007-04-27 15:30:59 +00:00
|
|
|
obj-$(CONFIG_USB_ZR364XX) += zr364xx.o
|
2008-01-12 09:48:14 +00:00
|
|
|
obj-$(CONFIG_USB_STKWEBCAM) += stkwebcam.o
|
2006-03-25 12:05:39 +00:00
|
|
|
|
|
|
|
obj-$(CONFIG_USB_SN9C102) += sn9c102/
|
|
|
|
obj-$(CONFIG_USB_ET61X251) += et61x251/
|
|
|
|
obj-$(CONFIG_USB_PWC) += pwc/
|
2008-06-30 18:50:11 +00:00
|
|
|
obj-$(CONFIG_USB_GSPCA) += gspca/
|
2006-03-25 12:05:39 +00:00
|
|
|
|
2009-03-18 21:10:04 +00:00
|
|
|
obj-$(CONFIG_VIDEO_HDPVR) += hdpvr/
|
|
|
|
|
2008-06-27 02:15:51 +00:00
|
|
|
obj-$(CONFIG_USB_S2255) += s2255drv.o
|
2006-03-25 12:05:39 +00:00
|
|
|
|
2007-07-22 15:52:40 +00:00
|
|
|
obj-$(CONFIG_VIDEO_IVTV) += ivtv/
|
2008-04-28 23:24:33 +00:00
|
|
|
obj-$(CONFIG_VIDEO_CX18) += cx18/
|
2007-07-22 15:52:40 +00:00
|
|
|
|
2010-07-02 13:10:09 +00:00
|
|
|
obj-$(CONFIG_VIDEO_VIU) += fsl-viu.o
|
2006-04-09 18:51:18 +00:00
|
|
|
obj-$(CONFIG_VIDEO_VIVI) += vivi.o
|
2010-04-23 08:38:38 +00:00
|
|
|
obj-$(CONFIG_VIDEO_MEM2MEM_TESTDEV) += mem2mem_testdev.o
|
2007-03-11 23:44:05 +00:00
|
|
|
obj-$(CONFIG_VIDEO_CX23885) += cx23885/
|
2006-04-09 18:51:18 +00:00
|
|
|
|
2010-03-29 07:45:22 +00:00
|
|
|
obj-$(CONFIG_VIDEO_AK881X) += ak881x.o
|
|
|
|
|
2008-12-01 18:40:09 +00:00
|
|
|
obj-$(CONFIG_VIDEO_OMAP2) += omap2cam.o
|
V4L/DVB (13658): v4l: add a media-bus API for configuring v4l2 subdev pixel and frame formats
Video subdevices, like cameras, decoders, connect to video bridges over
specialised busses. Data is being transferred over these busses in various
formats, which only loosely correspond to fourcc codes, describing how video
data is stored in RAM. This is not a one-to-one correspondence, therefore we
cannot use fourcc codes to configure subdevice output data formats. This patch
adds codes for several such on-the-bus formats and an API, similar to the
familiar .s_fmt(), .g_fmt(), .try_fmt(), .enum_fmt() API for configuring those
codes. After all users of the old API in struct v4l2_subdev_video_ops are
converted, it will be removed. Also add helper routines to support generic
pass-through mode for the soc-camera framework.
create mode 100644 drivers/media/video/soc_mediabus.c
create mode 100644 include/media/soc_mediabus.h
create mode 100644 include/media/v4l2-mediabus.h
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-12-11 14:41:28 +00:00
|
|
|
obj-$(CONFIG_SOC_CAMERA) += soc_camera.o soc_mediabus.o
|
2008-07-17 02:02:08 +00:00
|
|
|
obj-$(CONFIG_SOC_CAMERA_PLATFORM) += soc_camera_platform.o
|
2009-04-24 15:57:42 +00:00
|
|
|
# soc-camera host drivers have to be linked after camera drivers
|
|
|
|
obj-$(CONFIG_VIDEO_MX1) += mx1_camera.o
|
2010-07-04 04:55:10 +00:00
|
|
|
obj-$(CONFIG_VIDEO_MX2) += mx2_camera.o
|
2009-04-24 15:57:42 +00:00
|
|
|
obj-$(CONFIG_VIDEO_MX3) += mx3_camera.o
|
|
|
|
obj-$(CONFIG_VIDEO_PXA27x) += pxa_camera.o
|
2010-07-26 14:12:43 +00:00
|
|
|
obj-$(CONFIG_VIDEO_SH_MOBILE_CSI2) += sh_mobile_csi2.o
|
2009-04-24 15:57:42 +00:00
|
|
|
obj-$(CONFIG_VIDEO_SH_MOBILE_CEU) += sh_mobile_ceu_camera.o
|
[media] SoC Camera: add driver for OMAP1 camera interface
This is a V4L2 driver for TI OMAP1 SoC camera interface.
Both videobuf-dma versions are supported, contig and sg, selectable with a
module option. The former uses less processing power, but often fails to
allocate contignuous buffer memory. The latter is free of this problem, but
generates tens of DMA interrupts per frame. If contig memory allocation ever
fails, the driver falls back to sg automatically on next open, but still can
be switched back to contig manually. Both paths work stable for me, even
under heavy load, on my OMAP1510 based Amstrad Delta videophone, that is the
oldest, least powerfull OMAP1 implementation.
The interface generally works in pass-through mode. Since input data byte
endianess can be swapped, it provides up to two v4l2 pixel formats per each of
several soc_mbus formats that have their swapped endian counterparts.
Boards using this driver can provide it with the following platform data:
- if and what freqency clock is expected by an on-board camera sensor,
- what is the maximum pixel clock that should be accepted from the sensor,
- what is the polarity of the sensor provided pixel clock,
- if the interface GPIO line is connected to a sensor reset/powerdown input
and what is the input polarity.
Created and tested against linux-2.6.36-rc5 on Amstrad Delta.
Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-09-30 11:35:49 +00:00
|
|
|
obj-$(CONFIG_VIDEO_OMAP1) += omap1_camera.o
|
2010-08-03 12:50:29 +00:00
|
|
|
obj-$(CONFIG_VIDEO_SAMSUNG_S5P_FIMC) += s5p-fimc/
|
2008-04-22 17:42:03 +00:00
|
|
|
|
2010-03-17 14:21:13 +00:00
|
|
|
obj-$(CONFIG_ARCH_DAVINCI) += davinci/
|
|
|
|
|
|
|
|
obj-$(CONFIG_VIDEO_SH_VOU) += sh_vou.o
|
|
|
|
|
2008-04-19 00:34:00 +00:00
|
|
|
obj-$(CONFIG_VIDEO_AU0828) += au0828/
|
|
|
|
|
2008-06-30 18:04:50 +00:00
|
|
|
obj-$(CONFIG_USB_VIDEO_CLASS) += uvc/
|
2009-05-10 00:17:28 +00:00
|
|
|
obj-$(CONFIG_VIDEO_SAA7164) += saa7164/
|
2008-06-30 18:04:50 +00:00
|
|
|
|
2009-06-12 06:38:15 +00:00
|
|
|
obj-$(CONFIG_VIDEO_IR_I2C) += ir-kbd-i2c.o
|
|
|
|
|
2010-06-12 12:09:56 +00:00
|
|
|
obj-y += davinci/
|
2009-06-09 09:38:58 +00:00
|
|
|
|
2010-04-11 13:41:49 +00:00
|
|
|
obj-$(CONFIG_ARCH_OMAP) += omap/
|
|
|
|
|
2006-04-03 22:35:36 +00:00
|
|
|
EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core
|
2008-01-25 13:01:40 +00:00
|
|
|
EXTRA_CFLAGS += -Idrivers/media/dvb/frontends
|
2008-04-30 00:38:44 +00:00
|
|
|
EXTRA_CFLAGS += -Idrivers/media/common/tuners
|