Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/include/media/i2c/tw9910.h
26283 views
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
/*
3
* tw9910 Driver header
4
*
5
* Copyright (C) 2008 Renesas Solutions Corp.
6
* Kuninori Morimoto <[email protected]>
7
*
8
* Based on ov772x.h
9
*
10
* Copyright (C) Kuninori Morimoto <[email protected]>
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
42