xref: /linux/include/media/i2c/tw9910.h (revision 87c9c16317882dd6dbbc07e349bc3223e14f3244)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * tw9910 Driver header
4  *
5  * Copyright (C) 2008 Renesas Solutions Corp.
6  * Kuninori Morimoto <morimoto.kuninori@renesas.com>
7  *
8  * Based on ov772x.h
9  *
10  * Copyright (C) Kuninori Morimoto <morimoto.kuninori@renesas.com>
11  */
12 
13 #ifndef __TW9910_H__
14 #define __TW9910_H__
15 
16 /* MPOUT (multi-purpose output) pin functions */
17 enum tw9910_mpout_pin {
18 	TW9910_MPO_VLOSS,
19 	TW9910_MPO_HLOCK,
20 	TW9910_MPO_SLOCK,
21 	TW9910_MPO_VLOCK,
22 	TW9910_MPO_MONO,
23 	TW9910_MPO_DET50,
24 	TW9910_MPO_FIELD,
25 	TW9910_MPO_RTCO,
26 };
27 
28 /**
29  * struct tw9910_video_info - tw9910 driver interface structure
30  * @buswidth:		Parallel data bus width (8 or 16).
31  * @mpout:		Selected function of MPOUT (multi-purpose output) pin.
32  *			See enum tw9910_mpout_pin
33  */
34 struct tw9910_video_info {
35 	unsigned long		buswidth;
36 	enum tw9910_mpout_pin	mpout;
37 };
38 
39 
40 #endif /* __TW9910_H__ */
41