1d2912cb1SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */ 2b5dcee22SMauro Carvalho Chehab /* 3b5dcee22SMauro Carvalho Chehab * tw9910 Driver header 4b5dcee22SMauro Carvalho Chehab * 5b5dcee22SMauro Carvalho Chehab * Copyright (C) 2008 Renesas Solutions Corp. 6b5dcee22SMauro Carvalho Chehab * Kuninori Morimoto <morimoto.kuninori@renesas.com> 7b5dcee22SMauro Carvalho Chehab * 8b5dcee22SMauro Carvalho Chehab * Based on ov772x.h 9b5dcee22SMauro Carvalho Chehab * 10b5dcee22SMauro Carvalho Chehab * Copyright (C) Kuninori Morimoto <morimoto.kuninori@renesas.com> 11b5dcee22SMauro Carvalho Chehab */ 12b5dcee22SMauro Carvalho Chehab 13b5dcee22SMauro Carvalho Chehab #ifndef __TW9910_H__ 14b5dcee22SMauro Carvalho Chehab #define __TW9910_H__ 15b5dcee22SMauro Carvalho Chehab 167b20f325SJacopo Mondi /** 177b20f325SJacopo Mondi * tw9910_mpout_pin - MPOUT (multi-purpose output) pin functions 187b20f325SJacopo Mondi */ 19b5dcee22SMauro Carvalho Chehab enum tw9910_mpout_pin { 20b5dcee22SMauro Carvalho Chehab TW9910_MPO_VLOSS, 21b5dcee22SMauro Carvalho Chehab TW9910_MPO_HLOCK, 22b5dcee22SMauro Carvalho Chehab TW9910_MPO_SLOCK, 23b5dcee22SMauro Carvalho Chehab TW9910_MPO_VLOCK, 24b5dcee22SMauro Carvalho Chehab TW9910_MPO_MONO, 25b5dcee22SMauro Carvalho Chehab TW9910_MPO_DET50, 26b5dcee22SMauro Carvalho Chehab TW9910_MPO_FIELD, 27b5dcee22SMauro Carvalho Chehab TW9910_MPO_RTCO, 28b5dcee22SMauro Carvalho Chehab }; 29b5dcee22SMauro Carvalho Chehab 307b20f325SJacopo Mondi /** 317b20f325SJacopo Mondi * tw9910_video_info - tw9910 driver interface structure 327b20f325SJacopo Mondi * @buswidth: Parallel data bus width (8 or 16). 337b20f325SJacopo Mondi * @mpout: Selected function of MPOUT (multi-purpose output) pin. 347b20f325SJacopo Mondi * See &enum tw9910_mpout_pin 357b20f325SJacopo Mondi */ 36b5dcee22SMauro Carvalho Chehab struct tw9910_video_info { 37b5dcee22SMauro Carvalho Chehab unsigned long buswidth; 38b5dcee22SMauro Carvalho Chehab enum tw9910_mpout_pin mpout; 39b5dcee22SMauro Carvalho Chehab }; 40b5dcee22SMauro Carvalho Chehab 41b5dcee22SMauro Carvalho Chehab 42b5dcee22SMauro Carvalho Chehab #endif /* __TW9910_H__ */ 43