Linux 5.4.31
[linux/fpc-iii.git] / include / media / i2c / tw9910.h
blob92d31bd1afe644439c01f0c34acf8f242943c2ec
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * tw9910 Driver header
5 * Copyright (C) 2008 Renesas Solutions Corp.
6 * Kuninori Morimoto <morimoto.kuninori@renesas.com>
8 * Based on ov772x.h
10 * Copyright (C) Kuninori Morimoto <morimoto.kuninori@renesas.com>
13 #ifndef __TW9910_H__
14 #define __TW9910_H__
16 /**
17 * tw9910_mpout_pin - MPOUT (multi-purpose output) pin functions
19 enum tw9910_mpout_pin {
20 TW9910_MPO_VLOSS,
21 TW9910_MPO_HLOCK,
22 TW9910_MPO_SLOCK,
23 TW9910_MPO_VLOCK,
24 TW9910_MPO_MONO,
25 TW9910_MPO_DET50,
26 TW9910_MPO_FIELD,
27 TW9910_MPO_RTCO,
30 /**
31 * tw9910_video_info - tw9910 driver interface structure
32 * @buswidth: Parallel data bus width (8 or 16).
33 * @mpout: Selected function of MPOUT (multi-purpose output) pin.
34 * See &enum tw9910_mpout_pin
36 struct tw9910_video_info {
37 unsigned long buswidth;
38 enum tw9910_mpout_pin mpout;
42 #endif /* __TW9910_H__ */