xref: /linux/drivers/media/pci/sta2x11/sta2x11_vip.h (revision 791d3ef2e11100449837dc0b6fe884e60ca3a484)
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  * Author:  Anders Wallin <anders.wallin@windriver.com>
14  *
15  */
16 
17 #ifndef __STA2X11_VIP_H
18 #define __STA2X11_VIP_H
19 
20 /**
21  * struct vip_config - video input configuration data
22  * @pwr_name: ADV powerdown name
23  * @pwr_pin: ADV powerdown pin
24  * @reset_name: ADV reset name
25  * @reset_pin: ADV reset pin
26  */
27 struct vip_config {
28 	const char *pwr_name;
29 	int pwr_pin;
30 	const char *reset_name;
31 	int reset_pin;
32 	int i2c_id;
33 	int i2c_addr;
34 };
35 
36 #endif /* __STA2X11_VIP_H */
37