mirror of https://gitee.com/openkylin/linux.git
[media] STA2X11 VIP: new V4L2 driver
V4L2 driver for the Video Input Port within STA2X11 board Signed-off-by: Federico Vaga <federico.vaga@gmail.com> Acked-by: Giancarlo Asnaghi <giancarlo.asnaghi@st.com> Cc: Alan Cox <alan@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
a8f3c203e1
commit
efeb98b4e2
|
@ -797,6 +797,19 @@ source "drivers/media/video/saa7164/Kconfig"
|
|||
|
||||
source "drivers/media/video/zoran/Kconfig"
|
||||
|
||||
config STA2X11_VIP
|
||||
tristate "STA2X11 VIP Video For Linux"
|
||||
depends on STA2X11
|
||||
select VIDEO_ADV7180 if VIDEO_HELPER_CHIPS_AUTO
|
||||
select VIDEOBUF_DMA_CONTIG
|
||||
depends on PCI && VIDEO_V4L2 && VIRT_TO_BUS
|
||||
help
|
||||
Say Y for support for STA2X11 VIP (Video Input Port) capture
|
||||
device.
|
||||
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called sta2x11_vip.
|
||||
|
||||
endif # V4L_PCI_DRIVERS
|
||||
|
||||
#
|
||||
|
|
|
@ -123,6 +123,7 @@ obj-$(CONFIG_VIDEO_TM6000) += tm6000/
|
|||
obj-$(CONFIG_VIDEO_MXB) += mxb.o
|
||||
obj-$(CONFIG_VIDEO_HEXIUM_ORION) += hexium_orion.o
|
||||
obj-$(CONFIG_VIDEO_HEXIUM_GEMINI) += hexium_gemini.o
|
||||
obj-$(CONFIG_STA2X11_VIP) += sta2x11_vip.o
|
||||
obj-$(CONFIG_VIDEO_TIMBERDALE) += timblogiw.o
|
||||
|
||||
obj-$(CONFIG_VIDEOBUF_GEN) += videobuf-core.o
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,40 @@
|
|||
/*
|
||||
* Copyright (c) 2011 Wind River Systems, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* Author: Anders Wallin <anders.wallin@windriver.com>
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __STA2X11_VIP_H
|
||||
#define __STA2X11_VIP_H
|
||||
|
||||
/**
|
||||
* struct vip_config - video input configuration data
|
||||
* @pwr_name: ADV powerdown name
|
||||
* @pwr_pin: ADV powerdown pin
|
||||
* @reset_name: ADV reset name
|
||||
* @reset_pin: ADV reset pin
|
||||
*/
|
||||
struct vip_config {
|
||||
const char *pwr_name;
|
||||
int pwr_pin;
|
||||
const char *reset_name;
|
||||
int reset_pin;
|
||||
int i2c_id;
|
||||
int i2c_addr;
|
||||
};
|
||||
|
||||
#endif /* __STA2X11_VIP_H */
|
Loading…
Reference in New Issue