1/* 2 * Copyright (c) 2011 Wind River Systems, Inc. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 as 6 * published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 11 * See the GNU General Public License for more details. 12 * 13 * You should have received a copy of the GNU General Public License 14 * along with this program; if not, write to the Free Software 15 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 16 * 17 * Author: Anders Wallin <anders.wallin@windriver.com> 18 * 19 */ 20 21#ifndef __STA2X11_VIP_H 22#define __STA2X11_VIP_H 23 24/** 25 * struct vip_config - video input configuration data 26 * @pwr_name: ADV powerdown name 27 * @pwr_pin: ADV powerdown pin 28 * @reset_name: ADV reset name 29 * @reset_pin: ADV reset pin 30 */ 31struct vip_config { 32 const char *pwr_name; 33 int pwr_pin; 34 const char *reset_name; 35 int reset_pin; 36 int i2c_id; 37 int i2c_addr; 38}; 39 40#endif /* __STA2X11_VIP_H */ 41