diff options
author | Federico Vaga <federico.vaga@gmail.com> | 2012-04-12 12:39:38 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-20 12:05:46 -0300 |
commit | efeb98b4e2b2ce50e008affce4c493e58167144a (patch) | |
tree | 10c3faa7d25de18698a1b261642030542215b40f /drivers/media/video/sta2x11_vip.h | |
parent | a8f3c203e19b702fa5e8e83a9b6fb3c5a6d1cce4 (diff) | |
download | op-kernel-dev-efeb98b4e2b2ce50e008affce4c493e58167144a.zip op-kernel-dev-efeb98b4e2b2ce50e008affce4c493e58167144a.tar.gz |
[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>
Diffstat (limited to 'drivers/media/video/sta2x11_vip.h')
-rw-r--r-- | drivers/media/video/sta2x11_vip.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/drivers/media/video/sta2x11_vip.h b/drivers/media/video/sta2x11_vip.h new file mode 100644 index 0000000..4f81a13 --- /dev/null +++ b/drivers/media/video/sta2x11_vip.h @@ -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 */ |