xref: /openbmc/linux/include/media/i2c/tw9910.h (revision bc5aa3a0)
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 #include <media/soc_camera.h>
20 
21 enum tw9910_mpout_pin {
22 	TW9910_MPO_VLOSS,
23 	TW9910_MPO_HLOCK,
24 	TW9910_MPO_SLOCK,
25 	TW9910_MPO_VLOCK,
26 	TW9910_MPO_MONO,
27 	TW9910_MPO_DET50,
28 	TW9910_MPO_FIELD,
29 	TW9910_MPO_RTCO,
30 };
31 
32 struct tw9910_video_info {
33 	unsigned long		buswidth;
34 	enum tw9910_mpout_pin	mpout;
35 };
36 
37 
38 #endif /* __TW9910_H__ */
39