2005-04-17 06:20:36 +08:00
|
|
|
#
|
|
|
|
# Makefile for the video capture/playback device drivers.
|
|
|
|
#
|
|
|
|
|
2008-04-23 01:41:49 +08:00
|
|
|
tuner-objs := tuner-core.o
|
2007-04-08 12:09:11 +08:00
|
|
|
|
2006-01-10 01:32:39 +08:00
|
|
|
msp3400-objs := msp3400-driver.o msp3400-kthreads.o
|
|
|
|
|
2008-01-12 17:48:14 +08:00
|
|
|
stkwebcam-objs := stk-webcam.o stk-sensor.o
|
|
|
|
|
2008-12-02 02:40:09 +08:00
|
|
|
omap2cam-objs := omap24xxcam.o omap24xxcam-dma.o
|
|
|
|
|
2010-03-01 16:14:18 +08:00
|
|
|
videodev-objs := v4l2-dev.o v4l2-ioctl.o v4l2-device.o v4l2-fh.o \
|
2010-08-02 01:32:42 +08:00
|
|
|
v4l2-event.o v4l2-ctrls.o
|
2008-07-20 19:43:17 +08:00
|
|
|
|
2009-06-12 14:38:15 +08:00
|
|
|
# V4L2 core modules
|
|
|
|
|
2008-12-24 02:02:16 +08: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-30 05:32:35 +08:00
|
|
|
|
|
|
|
obj-$(CONFIG_VIDEO_V4L2_COMMON) += v4l2-common.o
|
2006-05-24 02:56:20 +08:00
|
|
|
|
2009-06-12 14:38:15 +08:00
|
|
|
# All i2c modules must come first:
|
2008-09-04 03:48:20 +08:00
|
|
|
|
2009-06-12 14:38:15 +08:00
|
|
|
obj-$(CONFIG_VIDEO_TUNER) += tuner.o
|
2006-09-01 20:25:30 +08:00
|
|
|
obj-$(CONFIG_VIDEO_TVAUDIO) += tvaudio.o
|
|
|
|
obj-$(CONFIG_VIDEO_TDA7432) += tda7432.o
|
2005-11-09 13:38:41 +08:00
|
|
|
obj-$(CONFIG_VIDEO_SAA6588) += saa6588.o
|
2006-08-23 02:38:18 +08: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 17:26:17 +08:00
|
|
|
obj-$(CONFIG_VIDEO_SAA717X) += saa717x.o
|
2006-08-23 02:38:18 +08: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 08:17:20 +08:00
|
|
|
obj-$(CONFIG_VIDEO_ADV7180) += adv7180.o
|
2009-05-07 20:30:01 +08:00
|
|
|
obj-$(CONFIG_VIDEO_ADV7343) += adv7343.o
|
2006-08-23 02:38:18 +08: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-09-01 02:31:07 +08:00
|
|
|
obj-$(CONFIG_VIDEO_KS0127) += ks0127.o
|
2009-05-07 20:29:25 +08:00
|
|
|
obj-$(CONFIG_VIDEO_THS7303) += ths7303.o
|
2009-06-12 14:38:15 +08:00
|
|
|
obj-$(CONFIG_VIDEO_VINO) += indycam.o
|
|
|
|
obj-$(CONFIG_VIDEO_TVP5150) += tvp5150.o
|
|
|
|
obj-$(CONFIG_VIDEO_TVP514X) += tvp514x.o
|
2009-12-19 01:07:57 +08:00
|
|
|
obj-$(CONFIG_VIDEO_TVP7002) += tvp7002.o
|
2009-06-12 14:38:15 +08: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 16:41:26 +08:00
|
|
|
obj-$(CONFIG_VIDEO_MT9V011) += mt9v011.o
|
2010-10-12 00:33:57 +08:00
|
|
|
obj-$(CONFIG_VIDEO_SR030PC30) += sr030pc30.o
|
2006-08-23 02:38:18 +08:00
|
|
|
|
2010-10-05 23:33:25 +08:00
|
|
|
obj-$(CONFIG_SOC_CAMERA_IMX074) += imx074.o
|
2009-06-12 14:38:15 +08: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 22:53:55 +08:00
|
|
|
obj-$(CONFIG_SOC_CAMERA_MT9T112) += mt9t112.o
|
2009-06-12 14:38:15 +08:00
|
|
|
obj-$(CONFIG_SOC_CAMERA_MT9V022) += mt9v022.o
|
2010-12-02 22:53:28 +08:00
|
|
|
obj-$(CONFIG_SOC_CAMERA_OV2640) += ov2640.o
|
2010-10-05 22:52:45 +08:00
|
|
|
obj-$(CONFIG_SOC_CAMERA_OV6650) += ov6650.o
|
2009-06-12 14:38:15 +08:00
|
|
|
obj-$(CONFIG_SOC_CAMERA_OV772X) += ov772x.o
|
2009-09-23 15:59:24 +08:00
|
|
|
obj-$(CONFIG_SOC_CAMERA_OV9640) += ov9640.o
|
2009-10-05 23:54:04 +08:00
|
|
|
obj-$(CONFIG_SOC_CAMERA_RJ54N1) += rj54n1cb0c.o
|
2009-06-12 14:38:15 +08:00
|
|
|
obj-$(CONFIG_SOC_CAMERA_TW9910) += tw9910.o
|
|
|
|
|
|
|
|
# And now the v4l2 drivers:
|
2006-08-23 02:38:18 +08:00
|
|
|
|
2009-06-12 14:38:15 +08: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-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_VIDEO_PMS) += pms.o
|
2009-06-12 14:38:15 +08:00
|
|
|
obj-$(CONFIG_VIDEO_VINO) += vino.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_VIDEO_MEYE) += meye.o
|
2007-06-26 02:42:01 +08:00
|
|
|
obj-$(CONFIG_VIDEO_SAA7134) += saa7134/
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_VIDEO_CX88) += cx88/
|
2005-11-09 13:38:30 +08:00
|
|
|
obj-$(CONFIG_VIDEO_EM28XX) += em28xx/
|
2010-02-02 15:07:47 +08:00
|
|
|
obj-$(CONFIG_VIDEO_TLG2300) += tlg2300/
|
2009-03-04 01:37:50 +08:00
|
|
|
obj-$(CONFIG_VIDEO_CX231XX) += cx231xx/
|
2006-12-04 19:30:53 +08:00
|
|
|
obj-$(CONFIG_VIDEO_USBVISION) += usbvision/
|
2006-06-27 07:58:46 +08:00
|
|
|
obj-$(CONFIG_VIDEO_PVRUSB2) += pvrusb2/
|
2006-02-27 11:09:05 +08:00
|
|
|
obj-$(CONFIG_VIDEO_CPIA2) += cpia2/
|
2006-08-23 02:38:18 +08:00
|
|
|
obj-$(CONFIG_VIDEO_MXB) += mxb.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_VIDEO_HEXIUM_ORION) += hexium_orion.o
|
|
|
|
obj-$(CONFIG_VIDEO_HEXIUM_GEMINI) += hexium_gemini.o
|
2010-11-08 21:45:44 +08:00
|
|
|
obj-$(CONFIG_VIDEO_TIMBERDALE) += timblogiw.o
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2007-08-24 03:37:49 +08:00
|
|
|
obj-$(CONFIG_VIDEOBUF_GEN) += videobuf-core.o
|
|
|
|
obj-$(CONFIG_VIDEOBUF_DMA_SG) += videobuf-dma-sg.o
|
2008-07-17 08:33:39 +08:00
|
|
|
obj-$(CONFIG_VIDEOBUF_DMA_CONTIG) += videobuf-dma-contig.o
|
2007-08-03 10:31:33 +08:00
|
|
|
obj-$(CONFIG_VIDEOBUF_VMALLOC) += videobuf-vmalloc.o
|
2007-08-24 05:12:08 +08:00
|
|
|
obj-$(CONFIG_VIDEOBUF_DVB) += videobuf-dvb.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_VIDEO_BTCX) += btcx-risc.o
|
|
|
|
|
2010-10-11 21:56:41 +08:00
|
|
|
obj-$(CONFIG_VIDEOBUF2_CORE) += videobuf2-core.o
|
2010-12-09 21:20:47 +08:00
|
|
|
obj-$(CONFIG_VIDEOBUF2_MEMOPS) += videobuf2-memops.o
|
2010-10-11 21:58:53 +08:00
|
|
|
obj-$(CONFIG_VIDEOBUF2_VMALLOC) += videobuf2-vmalloc.o
|
2010-10-11 21:56:41 +08:00
|
|
|
|
2010-04-23 16:38:37 +08:00
|
|
|
obj-$(CONFIG_V4L2_MEM2MEM_DEV) += v4l2-mem2mem.o
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_VIDEO_M32R_AR_M64278) += arv.o
|
|
|
|
|
2006-06-19 01:40:30 +08:00
|
|
|
obj-$(CONFIG_VIDEO_CX2341X) += cx2341x.o
|
2005-11-14 08:07:59 +08:00
|
|
|
|
2006-11-04 20:25:53 +08:00
|
|
|
obj-$(CONFIG_VIDEO_CAFE_CCIC) += cafe_ccic.o
|
2007-07-19 05:04:17 +08:00
|
|
|
|
2010-10-20 08:32:11 +08:00
|
|
|
obj-$(CONFIG_VIDEO_VIA_CAMERA) += via-camera.o
|
|
|
|
|
2007-04-27 23:30:59 +08:00
|
|
|
obj-$(CONFIG_USB_ZR364XX) += zr364xx.o
|
2008-01-12 17:48:14 +08:00
|
|
|
obj-$(CONFIG_USB_STKWEBCAM) += stkwebcam.o
|
2006-03-25 20:05:39 +08:00
|
|
|
|
|
|
|
obj-$(CONFIG_USB_SN9C102) += sn9c102/
|
|
|
|
obj-$(CONFIG_USB_ET61X251) += et61x251/
|
|
|
|
obj-$(CONFIG_USB_PWC) += pwc/
|
2008-07-01 02:50:11 +08:00
|
|
|
obj-$(CONFIG_USB_GSPCA) += gspca/
|
2006-03-25 20:05:39 +08:00
|
|
|
|
2009-03-19 05:10:04 +08:00
|
|
|
obj-$(CONFIG_VIDEO_HDPVR) += hdpvr/
|
|
|
|
|
2008-06-27 10:15:51 +08:00
|
|
|
obj-$(CONFIG_USB_S2255) += s2255drv.o
|
2006-03-25 20:05:39 +08:00
|
|
|
|
2007-07-22 23:52:40 +08:00
|
|
|
obj-$(CONFIG_VIDEO_IVTV) += ivtv/
|
2008-04-29 07:24:33 +08:00
|
|
|
obj-$(CONFIG_VIDEO_CX18) += cx18/
|
2007-07-22 23:52:40 +08:00
|
|
|
|
2010-07-02 21:10:09 +08:00
|
|
|
obj-$(CONFIG_VIDEO_VIU) += fsl-viu.o
|
2006-04-10 02:51:18 +08:00
|
|
|
obj-$(CONFIG_VIDEO_VIVI) += vivi.o
|
2010-04-23 16:38:38 +08:00
|
|
|
obj-$(CONFIG_VIDEO_MEM2MEM_TESTDEV) += mem2mem_testdev.o
|
2007-03-12 07:44:05 +08:00
|
|
|
obj-$(CONFIG_VIDEO_CX23885) += cx23885/
|
2006-04-10 02:51:18 +08:00
|
|
|
|
2010-03-29 15:45:22 +08:00
|
|
|
obj-$(CONFIG_VIDEO_AK881X) += ak881x.o
|
|
|
|
|
2008-12-02 02:40:09 +08: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 22:41:28 +08:00
|
|
|
obj-$(CONFIG_SOC_CAMERA) += soc_camera.o soc_mediabus.o
|
2008-07-17 10:02:08 +08:00
|
|
|
obj-$(CONFIG_SOC_CAMERA_PLATFORM) += soc_camera_platform.o
|
2009-04-24 23:57:42 +08:00
|
|
|
# soc-camera host drivers have to be linked after camera drivers
|
|
|
|
obj-$(CONFIG_VIDEO_MX1) += mx1_camera.o
|
2010-07-04 12:55:10 +08:00
|
|
|
obj-$(CONFIG_VIDEO_MX2) += mx2_camera.o
|
2009-04-24 23:57:42 +08:00
|
|
|
obj-$(CONFIG_VIDEO_MX3) += mx3_camera.o
|
|
|
|
obj-$(CONFIG_VIDEO_PXA27x) += pxa_camera.o
|
2010-07-26 22:12:43 +08:00
|
|
|
obj-$(CONFIG_VIDEO_SH_MOBILE_CSI2) += sh_mobile_csi2.o
|
2009-04-24 23:57:42 +08: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 19:35:49 +08:00
|
|
|
obj-$(CONFIG_VIDEO_OMAP1) += omap1_camera.o
|
2010-08-03 20:50:29 +08:00
|
|
|
obj-$(CONFIG_VIDEO_SAMSUNG_S5P_FIMC) += s5p-fimc/
|
2008-04-23 01:42:03 +08:00
|
|
|
|
2010-03-17 22:21:13 +08:00
|
|
|
obj-$(CONFIG_ARCH_DAVINCI) += davinci/
|
|
|
|
|
|
|
|
obj-$(CONFIG_VIDEO_SH_VOU) += sh_vou.o
|
|
|
|
|
2008-04-19 08:34:00 +08:00
|
|
|
obj-$(CONFIG_VIDEO_AU0828) += au0828/
|
|
|
|
|
2008-07-01 02:04:50 +08:00
|
|
|
obj-$(CONFIG_USB_VIDEO_CLASS) += uvc/
|
2009-05-10 08:17:28 +08:00
|
|
|
obj-$(CONFIG_VIDEO_SAA7164) += saa7164/
|
2008-07-01 02:04:50 +08:00
|
|
|
|
2009-06-12 14:38:15 +08:00
|
|
|
obj-$(CONFIG_VIDEO_IR_I2C) += ir-kbd-i2c.o
|
|
|
|
|
2010-06-12 20:09:56 +08:00
|
|
|
obj-y += davinci/
|
2009-06-09 17:38:58 +08:00
|
|
|
|
2010-04-11 21:41:49 +08:00
|
|
|
obj-$(CONFIG_ARCH_OMAP) += omap/
|
|
|
|
|
2006-04-04 06:35:36 +08:00
|
|
|
EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core
|
2008-01-25 21:01:40 +08:00
|
|
|
EXTRA_CFLAGS += -Idrivers/media/dvb/frontends
|
2008-04-30 08:38:44 +08:00
|
|
|
EXTRA_CFLAGS += -Idrivers/media/common/tuners
|