18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * tw9910 Driver header
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright (C) 2008 Renesas Solutions Corp.
68c2ecf20Sopenharmony_ci * Kuninori Morimoto <morimoto.kuninori@renesas.com>
78c2ecf20Sopenharmony_ci *
88c2ecf20Sopenharmony_ci * Based on ov772x.h
98c2ecf20Sopenharmony_ci *
108c2ecf20Sopenharmony_ci * Copyright (C) Kuninori Morimoto <morimoto.kuninori@renesas.com>
118c2ecf20Sopenharmony_ci */
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#ifndef __TW9910_H__
148c2ecf20Sopenharmony_ci#define __TW9910_H__
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci/**
178c2ecf20Sopenharmony_ci * tw9910_mpout_pin - MPOUT (multi-purpose output) pin functions
188c2ecf20Sopenharmony_ci */
198c2ecf20Sopenharmony_cienum tw9910_mpout_pin {
208c2ecf20Sopenharmony_ci	TW9910_MPO_VLOSS,
218c2ecf20Sopenharmony_ci	TW9910_MPO_HLOCK,
228c2ecf20Sopenharmony_ci	TW9910_MPO_SLOCK,
238c2ecf20Sopenharmony_ci	TW9910_MPO_VLOCK,
248c2ecf20Sopenharmony_ci	TW9910_MPO_MONO,
258c2ecf20Sopenharmony_ci	TW9910_MPO_DET50,
268c2ecf20Sopenharmony_ci	TW9910_MPO_FIELD,
278c2ecf20Sopenharmony_ci	TW9910_MPO_RTCO,
288c2ecf20Sopenharmony_ci};
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci/**
318c2ecf20Sopenharmony_ci * tw9910_video_info -	tw9910 driver interface structure
328c2ecf20Sopenharmony_ci * @buswidth:		Parallel data bus width (8 or 16).
338c2ecf20Sopenharmony_ci * @mpout:		Selected function of MPOUT (multi-purpose output) pin.
348c2ecf20Sopenharmony_ci *			See &enum tw9910_mpout_pin
358c2ecf20Sopenharmony_ci */
368c2ecf20Sopenharmony_cistruct tw9910_video_info {
378c2ecf20Sopenharmony_ci	unsigned long		buswidth;
388c2ecf20Sopenharmony_ci	enum tw9910_mpout_pin	mpout;
398c2ecf20Sopenharmony_ci};
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ci#endif /* __TW9910_H__ */
43