2019-06-04 16:11:33 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2008-12-29 17:04:06 +08:00
|
|
|
/*
|
|
|
|
* tw9910 Driver header
|
|
|
|
*
|
|
|
|
* Copyright (C) 2008 Renesas Solutions Corp.
|
|
|
|
* Kuninori Morimoto <morimoto.kuninori@renesas.com>
|
|
|
|
*
|
|
|
|
* Based on ov772x.h
|
|
|
|
*
|
|
|
|
* Copyright (C) Kuninori Morimoto <morimoto.kuninori@renesas.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __TW9910_H__
|
|
|
|
#define __TW9910_H__
|
|
|
|
|
2018-02-22 01:48:03 +08:00
|
|
|
/**
|
|
|
|
* tw9910_mpout_pin - MPOUT (multi-purpose output) pin functions
|
|
|
|
*/
|
2008-12-29 17:04:06 +08:00
|
|
|
enum tw9910_mpout_pin {
|
|
|
|
TW9910_MPO_VLOSS,
|
|
|
|
TW9910_MPO_HLOCK,
|
|
|
|
TW9910_MPO_SLOCK,
|
|
|
|
TW9910_MPO_VLOCK,
|
|
|
|
TW9910_MPO_MONO,
|
|
|
|
TW9910_MPO_DET50,
|
|
|
|
TW9910_MPO_FIELD,
|
|
|
|
TW9910_MPO_RTCO,
|
|
|
|
};
|
|
|
|
|
2018-02-22 01:48:03 +08:00
|
|
|
/**
|
|
|
|
* tw9910_video_info - tw9910 driver interface structure
|
|
|
|
* @buswidth: Parallel data bus width (8 or 16).
|
|
|
|
* @mpout: Selected function of MPOUT (multi-purpose output) pin.
|
|
|
|
* See &enum tw9910_mpout_pin
|
|
|
|
*/
|
2008-12-29 17:04:06 +08:00
|
|
|
struct tw9910_video_info {
|
2010-02-04 18:24:00 +08:00
|
|
|
unsigned long buswidth;
|
|
|
|
enum tw9910_mpout_pin mpout;
|
2008-12-29 17:04:06 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* __TW9910_H__ */
|