Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * tw9910 Driver header
0004  *
0005  * Copyright (C) 2008 Renesas Solutions Corp.
0006  * Kuninori Morimoto <morimoto.kuninori@renesas.com>
0007  *
0008  * Based on ov772x.h
0009  *
0010  * Copyright (C) Kuninori Morimoto <morimoto.kuninori@renesas.com>
0011  */
0012 
0013 #ifndef __TW9910_H__
0014 #define __TW9910_H__
0015 
0016 /* MPOUT (multi-purpose output) pin functions */
0017 enum tw9910_mpout_pin {
0018     TW9910_MPO_VLOSS,
0019     TW9910_MPO_HLOCK,
0020     TW9910_MPO_SLOCK,
0021     TW9910_MPO_VLOCK,
0022     TW9910_MPO_MONO,
0023     TW9910_MPO_DET50,
0024     TW9910_MPO_FIELD,
0025     TW9910_MPO_RTCO,
0026 };
0027 
0028 /**
0029  * struct tw9910_video_info - tw9910 driver interface structure
0030  * @buswidth:       Parallel data bus width (8 or 16).
0031  * @mpout:      Selected function of MPOUT (multi-purpose output) pin.
0032  *          See enum tw9910_mpout_pin
0033  */
0034 struct tw9910_video_info {
0035     unsigned long       buswidth;
0036     enum tw9910_mpout_pin   mpout;
0037 };
0038 
0039 
0040 #endif /* __TW9910_H__ */