xref: /openbmc/linux/include/media/i2c/tw9910.h (revision 2645d8d0)
1 /*
2  * tw9910 Driver header
3  *
4  * Copyright (C) 2008 Renesas Solutions Corp.
5  * Kuninori Morimoto <morimoto.kuninori@renesas.com>
6  *
7  * Based on ov772x.h
8  *
9  * Copyright (C) Kuninori Morimoto <morimoto.kuninori@renesas.com>
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License version 2 as
13  * published by the Free Software Foundation.
14  */
15 
16 #ifndef __TW9910_H__
17 #define __TW9910_H__
18 
19 /**
20  * tw9910_mpout_pin - MPOUT (multi-purpose output) pin functions
21  */
22 enum tw9910_mpout_pin {
23 	TW9910_MPO_VLOSS,
24 	TW9910_MPO_HLOCK,
25 	TW9910_MPO_SLOCK,
26 	TW9910_MPO_VLOCK,
27 	TW9910_MPO_MONO,
28 	TW9910_MPO_DET50,
29 	TW9910_MPO_FIELD,
30 	TW9910_MPO_RTCO,
31 };
32 
33 /**
34  * tw9910_video_info -	tw9910 driver interface structure
35  * @buswidth:		Parallel data bus width (8 or 16).
36  * @mpout:		Selected function of MPOUT (multi-purpose output) pin.
37  *			See &enum tw9910_mpout_pin
38  */
39 struct tw9910_video_info {
40 	unsigned long		buswidth;
41 	enum tw9910_mpout_pin	mpout;
42 };
43 
44 
45 #endif /* __TW9910_H__ */
46