2019-05-27 14:55:06 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2009-12-19 01:07:39 +08:00
|
|
|
/* Texas Instruments Triple 8-/10-BIT 165-/110-MSPS Video and Graphics
|
|
|
|
* Digitizer with Horizontal PLL registers
|
|
|
|
*
|
|
|
|
* Copyright (C) 2009 Texas Instruments Inc
|
|
|
|
* Author: Santiago Nunez-Corrales <santiago.nunez@ridgerun.com>
|
|
|
|
*
|
|
|
|
* This code is partially based upon the TVP5150 driver
|
MAINTAINERS & files: Canonize the e-mails I use at files
From now on, I'll start using my @kernel.org as my development e-mail.
As such, let's remove the entries that point to the old
mchehab@s-opensource.com at MAINTAINERS file.
For the files written with a copyright with mchehab@s-opensource,
let's keep Samsung on their names, using mchehab+samsung@kernel.org,
in order to keep pointing to my employer, with sponsors the work.
For the files written before I join Samsung (on July, 4 2013),
let's just use mchehab@kernel.org.
For bug reports, we can simply point to just kernel.org, as
this will reach my mchehab+samsung inbox anyway.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Brian Warner <brian.warner@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-04-25 17:34:48 +08:00
|
|
|
* written by Mauro Carvalho Chehab <mchehab@kernel.org>,
|
2009-12-19 01:07:39 +08:00
|
|
|
* the TVP514x driver written by Vaibhav Hiremath <hvaibhav@ti.com>
|
|
|
|
* and the TVP7002 driver in the TI LSP 2.10.00.14
|
|
|
|
*/
|
|
|
|
#ifndef _TVP7002_H_
|
|
|
|
#define _TVP7002_H_
|
|
|
|
|
2013-05-03 15:17:19 +08:00
|
|
|
#define TVP7002_MODULE_NAME "tvp7002"
|
|
|
|
|
2013-05-14 17:45:31 +08:00
|
|
|
/**
|
|
|
|
* struct tvp7002_config - Platform dependent data
|
|
|
|
*@clk_polarity: Clock polarity
|
|
|
|
* 0 - Data clocked out on rising edge of DATACLK signal
|
|
|
|
* 1 - Data clocked out on falling edge of DATACLK signal
|
|
|
|
*@hs_polarity: HSYNC polarity
|
|
|
|
* 0 - Active low HSYNC output, 1 - Active high HSYNC output
|
|
|
|
*@vs_polarity: VSYNC Polarity
|
|
|
|
* 0 - Active low VSYNC output, 1 - Active high VSYNC output
|
|
|
|
*@fid_polarity: Active-high Field ID polarity.
|
|
|
|
* 0 - The field ID output is set to logic 1 for an odd field
|
|
|
|
* (field 1) and set to logic 0 for an even field (field 0).
|
|
|
|
* 1 - Operation with polarity inverted.
|
|
|
|
*@sog_polarity: Active high Sync on Green output polarity.
|
|
|
|
* 0 - Normal operation, 1 - Operation with polarity inverted
|
2009-12-19 01:07:39 +08:00
|
|
|
*/
|
|
|
|
struct tvp7002_config {
|
2013-05-14 17:45:31 +08:00
|
|
|
bool clk_polarity;
|
|
|
|
bool hs_polarity;
|
|
|
|
bool vs_polarity;
|
|
|
|
bool fid_polarity;
|
|
|
|
bool sog_polarity;
|
2009-12-19 01:07:39 +08:00
|
|
|
};
|
|
|
|
#endif
|