1b5dcee22SMauro Carvalho Chehab /* 2b5dcee22SMauro Carvalho Chehab * tw9910 Driver header 3b5dcee22SMauro Carvalho Chehab * 4b5dcee22SMauro Carvalho Chehab * Copyright (C) 2008 Renesas Solutions Corp. 5b5dcee22SMauro Carvalho Chehab * Kuninori Morimoto <morimoto.kuninori@renesas.com> 6b5dcee22SMauro Carvalho Chehab * 7b5dcee22SMauro Carvalho Chehab * Based on ov772x.h 8b5dcee22SMauro Carvalho Chehab * 9b5dcee22SMauro Carvalho Chehab * Copyright (C) Kuninori Morimoto <morimoto.kuninori@renesas.com> 10b5dcee22SMauro Carvalho Chehab * 11b5dcee22SMauro Carvalho Chehab * This program is free software; you can redistribute it and/or modify 12b5dcee22SMauro Carvalho Chehab * it under the terms of the GNU General Public License version 2 as 13b5dcee22SMauro Carvalho Chehab * published by the Free Software Foundation. 14b5dcee22SMauro Carvalho Chehab */ 15b5dcee22SMauro Carvalho Chehab 16b5dcee22SMauro Carvalho Chehab #ifndef __TW9910_H__ 17b5dcee22SMauro Carvalho Chehab #define __TW9910_H__ 18b5dcee22SMauro Carvalho Chehab 19b5dcee22SMauro Carvalho Chehab #include <media/soc_camera.h> 20b5dcee22SMauro Carvalho Chehab 217b20f325SJacopo Mondi /** 227b20f325SJacopo Mondi * tw9910_mpout_pin - MPOUT (multi-purpose output) pin functions 237b20f325SJacopo Mondi */ 24b5dcee22SMauro Carvalho Chehab enum tw9910_mpout_pin { 25b5dcee22SMauro Carvalho Chehab TW9910_MPO_VLOSS, 26b5dcee22SMauro Carvalho Chehab TW9910_MPO_HLOCK, 27b5dcee22SMauro Carvalho Chehab TW9910_MPO_SLOCK, 28b5dcee22SMauro Carvalho Chehab TW9910_MPO_VLOCK, 29b5dcee22SMauro Carvalho Chehab TW9910_MPO_MONO, 30b5dcee22SMauro Carvalho Chehab TW9910_MPO_DET50, 31b5dcee22SMauro Carvalho Chehab TW9910_MPO_FIELD, 32b5dcee22SMauro Carvalho Chehab TW9910_MPO_RTCO, 33b5dcee22SMauro Carvalho Chehab }; 34b5dcee22SMauro Carvalho Chehab 357b20f325SJacopo Mondi /** 367b20f325SJacopo Mondi * tw9910_video_info - tw9910 driver interface structure 377b20f325SJacopo Mondi * @buswidth: Parallel data bus width (8 or 16). 387b20f325SJacopo Mondi * @mpout: Selected function of MPOUT (multi-purpose output) pin. 397b20f325SJacopo Mondi * See &enum tw9910_mpout_pin 407b20f325SJacopo Mondi */ 41b5dcee22SMauro Carvalho Chehab struct tw9910_video_info { 42b5dcee22SMauro Carvalho Chehab unsigned long buswidth; 43b5dcee22SMauro Carvalho Chehab enum tw9910_mpout_pin mpout; 44b5dcee22SMauro Carvalho Chehab }; 45b5dcee22SMauro Carvalho Chehab 46b5dcee22SMauro Carvalho Chehab 47b5dcee22SMauro Carvalho Chehab #endif /* __TW9910_H__ */ 48