xref: /linux/drivers/media/pci/sta2x11/sta2x11_vip.h (revision ebf68996de0ab250c5d520eb2291ab65643e9a1e)
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  */
18 struct vip_config {
19 	const char *pwr_name;
20 	int pwr_pin;
21 	const char *reset_name;
22 	int reset_pin;
23 	int i2c_id;
24 	int i2c_addr;
25 };
26 
27 #endif /* __STA2X11_VIP_H */
28