/* SPDX-License-Identifier: GPL-2.0-or-later */
/* 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
* written by Mauro Carvalho Chehab < mchehab @ kernel . org > ,
* the TVP514x driver written by Vaibhav Hiremath < hvaibhav @ ti . com >
* and the TVP7002 driver in the TI LSP 2 . 10 . 00 . 14
*/
/* Naming conventions
* - - - - - - - - - - - - - - - - - -
*
* FDBK : Feedback
* DIV : Divider
* CTL : Control
* SEL : Select
* IN : Input
* OUT : Output
* R : Red
* G : Green
* B : Blue
* OFF : Offset
* THRS : Threshold
* DGTL : Digital
* LVL : Level
* PWR : Power
* MVIS : Macrovision
* W : Width
* H : Height
* ALGN : Alignment
* CLK : Clocks
* TOL : Tolerance
* BWTH : Bandwidth
* COEF : Coefficient
* STAT : Status
* AUTO : Automatic
* FLD : Field
* L : Line
*/
#define TVP7002_CHIP_REV 0 x00
#define TVP7002_HPLL_FDBK_DIV_MSBS 0 x01
#define TVP7002_HPLL_FDBK_DIV_LSBS 0 x02
#define TVP7002_HPLL_CRTL 0 x03
#define TVP7002_HPLL_PHASE_SEL 0 x04
#define TVP7002_CLAMP_START 0 x05
#define TVP7002_CLAMP_W 0 x06
#define TVP7002_HSYNC_OUT_W 0 x07
#define TVP7002_B_FINE_GAIN 0 x08
#define TVP7002_G_FINE_GAIN 0 x09
#define TVP7002_R_FINE_GAIN 0 x0a
#define TVP7002_B_FINE_OFF_MSBS 0 x0b
#define TVP7002_G_FINE_OFF_MSBS 0 x0c
#define TVP7002_R_FINE_OFF_MSBS 0 x0d
#define TVP7002_SYNC_CTL_1 0 x0e
#define TVP7002_HPLL_AND_CLAMP_CTL 0 x0f
#define TVP7002_SYNC_ON_G_THRS 0 x10
#define TVP7002_SYNC_SEPARATOR_THRS 0 x11
#define TVP7002_HPLL_PRE_COAST 0 x12
#define TVP7002_HPLL_POST_COAST 0 x13
#define TVP7002_SYNC_DETECT_STAT 0 x14
#define TVP7002_OUT_FORMATTER 0 x15
#define TVP7002_MISC_CTL_1 0 x16
#define TVP7002_MISC_CTL_2 0 x17
#define TVP7002_MISC_CTL_3 0 x18
#define TVP7002_IN_MUX_SEL_1 0 x19
#define TVP7002_IN_MUX_SEL_2 0 x1a
#define TVP7002_B_AND_G_COARSE_GAIN 0 x1b
#define TVP7002_R_COARSE_GAIN 0 x1c
#define TVP7002_FINE_OFF_LSBS 0 x1d
#define TVP7002_B_COARSE_OFF 0 x1e
#define TVP7002_G_COARSE_OFF 0 x1f
#define TVP7002_R_COARSE_OFF 0 x20
#define TVP7002_HSOUT_OUT_START 0 x21
#define TVP7002_MISC_CTL_4 0 x22
#define TVP7002_B_DGTL_ALC_OUT_LSBS 0 x23
#define TVP7002_G_DGTL_ALC_OUT_LSBS 0 x24
#define TVP7002_R_DGTL_ALC_OUT_LSBS 0 x25
#define TVP7002_AUTO_LVL_CTL_ENABLE 0 x26
#define TVP7002_DGTL_ALC_OUT_MSBS 0 x27
#define TVP7002_AUTO_LVL_CTL_FILTER 0 x28
/* Reserved 0x29*/
#define TVP7002_FINE_CLAMP_CTL 0 x2a
#define TVP7002_PWR_CTL 0 x2b
#define TVP7002_ADC_SETUP 0 x2c
#define TVP7002_COARSE_CLAMP_CTL 0 x2d
#define TVP7002_SOG_CLAMP 0 x2e
#define TVP7002_RGB_COARSE_CLAMP_CTL 0 x2f
#define TVP7002_SOG_COARSE_CLAMP_CTL 0 x30
#define TVP7002_ALC_PLACEMENT 0 x31
/* Reserved 0x32 */
/* Reserved 0x33 */
#define TVP7002_MVIS_STRIPPER_W 0 x34
#define TVP7002_VSYNC_ALGN 0 x35
#define TVP7002_SYNC_BYPASS 0 x36
#define TVP7002_L_FRAME_STAT_LSBS 0 x37
#define TVP7002_L_FRAME_STAT_MSBS 0 x38
#define TVP7002_CLK_L_STAT_LSBS 0 x39
#define TVP7002_CLK_L_STAT_MSBS 0 x3a
#define TVP7002_HSYNC_W 0 x3b
#define TVP7002_VSYNC_W 0 x3c
#define TVP7002_L_LENGTH_TOL 0 x3d
/* Reserved 0x3e */
#define TVP7002_VIDEO_BWTH_CTL 0 x3f
#define TVP7002_AVID_START_PIXEL_LSBS 0 x40
#define TVP7002_AVID_START_PIXEL_MSBS 0 x41
#define TVP7002_AVID_STOP_PIXEL_LSBS 0 x42
#define TVP7002_AVID_STOP_PIXEL_MSBS 0 x43
#define TVP7002_VBLK_F_0_START_L_OFF 0 x44
#define TVP7002_VBLK_F_1_START_L_OFF 0 x45
#define TVP7002_VBLK_F_0_DURATION 0 x46
#define TVP7002_VBLK_F_1_DURATION 0 x47
#define TVP7002_FBIT_F_0_START_L_OFF 0 x48
#define TVP7002_FBIT_F_1_START_L_OFF 0 x49
#define TVP7002_YUV_Y_G_COEF_LSBS 0 x4a
#define TVP7002_YUV_Y_G_COEF_MSBS 0 x4b
#define TVP7002_YUV_Y_B_COEF_LSBS 0 x4c
#define TVP7002_YUV_Y_B_COEF_MSBS 0 x4d
#define TVP7002_YUV_Y_R_COEF_LSBS 0 x4e
#define TVP7002_YUV_Y_R_COEF_MSBS 0 x4f
#define TVP7002_YUV_U_G_COEF_LSBS 0 x50
#define TVP7002_YUV_U_G_COEF_MSBS 0 x51
#define TVP7002_YUV_U_B_COEF_LSBS 0 x52
#define TVP7002_YUV_U_B_COEF_MSBS 0 x53
#define TVP7002_YUV_U_R_COEF_LSBS 0 x54
#define TVP7002_YUV_U_R_COEF_MSBS 0 x55
#define TVP7002_YUV_V_G_COEF_LSBS 0 x56
#define TVP7002_YUV_V_G_COEF_MSBS 0 x57
#define TVP7002_YUV_V_B_COEF_LSBS 0 x58
#define TVP7002_YUV_V_B_COEF_MSBS 0 x59
#define TVP7002_YUV_V_R_COEF_LSBS 0 x5a
#define TVP7002_YUV_V_R_COEF_MSBS 0 x5b
Messung V0.5 in Prozent C=95 H=93 G=93
¤ Dauer der Verarbeitung: 0.3 Sekunden
¤
*© Formatika GbR, Deutschland