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 /** 17 * tw9910_mpout_pin - MPOUT (multi-purpose output) pin functions 18 */ 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, 28 }; 29 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 35 */ 36 struct tw9910_video_info { 37 unsigned long buswidth; 38 enum tw9910_mpout_pin mpout; 39 }; 40 41 42 #endif /* __TW9910_H__ */ 43