xref: /linux/drivers/media/pci/sta2x11/sta2x11_vip.h (revision 0526b56cbc3c489642bd6a5fe4b718dea7ef0ee8)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2011 Wind River Systems, Inc.
4  *
5  * Author:  Anders Wallin <anders.wallin@windriver.com>
6  */
7 
8 #ifndef __STA2X11_VIP_H
9 #define __STA2X11_VIP_H
10 
11 /**
12  * struct vip_config - video input configuration data
13  * @pwr_name: ADV powerdown name
14  * @pwr_pin: ADV powerdown pin
15  * @reset_name: ADV reset name
16  * @reset_pin: ADV reset pin
17  * @i2c_id: ADV i2c adapter ID
18  * @i2c_addr: ADV i2c address
19  */
20 struct vip_config {
21 	const char *pwr_name;
22 	int pwr_pin;
23 	const char *reset_name;
24 	int reset_pin;
25 	int i2c_id;
26 	int i2c_addr;
27 };
28 
29 #endif /* __STA2X11_VIP_H */
30