xref: /linux/drivers/media/i2c/saa711x_regs.h (revision 8b77dfdd8c5838939251cf135ea8363dff108e28)
1cb7a01acSMauro Carvalho Chehab /* saa711x - Philips SAA711x video decoder register specifications
2cb7a01acSMauro Carvalho Chehab  *
3cb7a01acSMauro Carvalho Chehab  * Copyright (c) 2006 Mauro Carvalho Chehab <mchehab@infradead.org>
4cb7a01acSMauro Carvalho Chehab  *
5cb7a01acSMauro Carvalho Chehab  * This program is free software; you can redistribute it and/or
6cb7a01acSMauro Carvalho Chehab  * modify it under the terms of the GNU General Public License
7cb7a01acSMauro Carvalho Chehab  * as published by the Free Software Foundation; either version 2
8cb7a01acSMauro Carvalho Chehab  * of the License, or (at your option) any later version.
9cb7a01acSMauro Carvalho Chehab  *
10cb7a01acSMauro Carvalho Chehab  * This program is distributed in the hope that it will be useful,
11cb7a01acSMauro Carvalho Chehab  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12cb7a01acSMauro Carvalho Chehab  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13cb7a01acSMauro Carvalho Chehab  * GNU General Public License for more details.
14cb7a01acSMauro Carvalho Chehab  */
15cb7a01acSMauro Carvalho Chehab 
16cb7a01acSMauro Carvalho Chehab #define R_00_CHIP_VERSION                             0x00
17cb7a01acSMauro Carvalho Chehab /* Video Decoder */
18cb7a01acSMauro Carvalho Chehab 	/* Video Decoder - Frontend part */
19cb7a01acSMauro Carvalho Chehab #define R_01_INC_DELAY                                0x01
20cb7a01acSMauro Carvalho Chehab #define R_02_INPUT_CNTL_1                             0x02
21cb7a01acSMauro Carvalho Chehab #define R_03_INPUT_CNTL_2                             0x03
22cb7a01acSMauro Carvalho Chehab #define R_04_INPUT_CNTL_3                             0x04
23cb7a01acSMauro Carvalho Chehab #define R_05_INPUT_CNTL_4                             0x05
24cb7a01acSMauro Carvalho Chehab 	/* Video Decoder - Decoder part */
25cb7a01acSMauro Carvalho Chehab #define R_06_H_SYNC_START                             0x06
26cb7a01acSMauro Carvalho Chehab #define R_07_H_SYNC_STOP                              0x07
27cb7a01acSMauro Carvalho Chehab #define R_08_SYNC_CNTL                                0x08
28cb7a01acSMauro Carvalho Chehab #define R_09_LUMA_CNTL                                0x09
29cb7a01acSMauro Carvalho Chehab #define R_0A_LUMA_BRIGHT_CNTL                         0x0a
30cb7a01acSMauro Carvalho Chehab #define R_0B_LUMA_CONTRAST_CNTL                       0x0b
31cb7a01acSMauro Carvalho Chehab #define R_0C_CHROMA_SAT_CNTL                          0x0c
32cb7a01acSMauro Carvalho Chehab #define R_0D_CHROMA_HUE_CNTL                          0x0d
33cb7a01acSMauro Carvalho Chehab #define R_0E_CHROMA_CNTL_1                            0x0e
34cb7a01acSMauro Carvalho Chehab #define R_0F_CHROMA_GAIN_CNTL                         0x0f
35cb7a01acSMauro Carvalho Chehab #define R_10_CHROMA_CNTL_2                            0x10
36cb7a01acSMauro Carvalho Chehab #define R_11_MODE_DELAY_CNTL                          0x11
37cb7a01acSMauro Carvalho Chehab #define R_12_RT_SIGNAL_CNTL                           0x12
38cb7a01acSMauro Carvalho Chehab #define R_13_RT_X_PORT_OUT_CNTL                       0x13
39cb7a01acSMauro Carvalho Chehab #define R_14_ANAL_ADC_COMPAT_CNTL                     0x14
40cb7a01acSMauro Carvalho Chehab #define R_15_VGATE_START_FID_CHG                      0x15
41cb7a01acSMauro Carvalho Chehab #define R_16_VGATE_STOP                               0x16
42cb7a01acSMauro Carvalho Chehab #define R_17_MISC_VGATE_CONF_AND_MSB                  0x17
43cb7a01acSMauro Carvalho Chehab #define R_18_RAW_DATA_GAIN_CNTL                       0x18
44cb7a01acSMauro Carvalho Chehab #define R_19_RAW_DATA_OFF_CNTL                        0x19
45cb7a01acSMauro Carvalho Chehab #define R_1A_COLOR_KILL_LVL_CNTL                      0x1a
46cb7a01acSMauro Carvalho Chehab #define R_1B_MISC_TVVCRDET                            0x1b
47cb7a01acSMauro Carvalho Chehab #define R_1C_ENHAN_COMB_CTRL1                         0x1c
48cb7a01acSMauro Carvalho Chehab #define R_1D_ENHAN_COMB_CTRL2                         0x1d
49cb7a01acSMauro Carvalho Chehab #define R_1E_STATUS_BYTE_1_VD_DEC                     0x1e
50cb7a01acSMauro Carvalho Chehab #define R_1F_STATUS_BYTE_2_VD_DEC                     0x1f
51cb7a01acSMauro Carvalho Chehab 
52cb7a01acSMauro Carvalho Chehab /* Component processing and interrupt masking part */
53cb7a01acSMauro Carvalho Chehab #define R_23_INPUT_CNTL_5                             0x23
54cb7a01acSMauro Carvalho Chehab #define R_24_INPUT_CNTL_6                             0x24
55cb7a01acSMauro Carvalho Chehab #define R_25_INPUT_CNTL_7                             0x25
56cb7a01acSMauro Carvalho Chehab #define R_29_COMP_DELAY                               0x29
57cb7a01acSMauro Carvalho Chehab #define R_2A_COMP_BRIGHT_CNTL                         0x2a
58cb7a01acSMauro Carvalho Chehab #define R_2B_COMP_CONTRAST_CNTL                       0x2b
59cb7a01acSMauro Carvalho Chehab #define R_2C_COMP_SAT_CNTL                            0x2c
60cb7a01acSMauro Carvalho Chehab #define R_2D_INTERRUPT_MASK_1                         0x2d
61cb7a01acSMauro Carvalho Chehab #define R_2E_INTERRUPT_MASK_2                         0x2e
62cb7a01acSMauro Carvalho Chehab #define R_2F_INTERRUPT_MASK_3                         0x2f
63cb7a01acSMauro Carvalho Chehab 
64cb7a01acSMauro Carvalho Chehab /* Audio clock generator part */
65cb7a01acSMauro Carvalho Chehab #define R_30_AUD_MAST_CLK_CYCLES_PER_FIELD            0x30
66cb7a01acSMauro Carvalho Chehab #define R_34_AUD_MAST_CLK_NOMINAL_INC                 0x34
67cb7a01acSMauro Carvalho Chehab #define R_38_CLK_RATIO_AMXCLK_TO_ASCLK                0x38
68cb7a01acSMauro Carvalho Chehab #define R_39_CLK_RATIO_ASCLK_TO_ALRCLK                0x39
69cb7a01acSMauro Carvalho Chehab #define R_3A_AUD_CLK_GEN_BASIC_SETUP                  0x3a
70cb7a01acSMauro Carvalho Chehab 
71cb7a01acSMauro Carvalho Chehab /* General purpose VBI data slicer part */
72cb7a01acSMauro Carvalho Chehab #define R_40_SLICER_CNTL_1                            0x40
73cb7a01acSMauro Carvalho Chehab #define R_41_LCR_BASE                                 0x41
74cb7a01acSMauro Carvalho Chehab #define R_58_PROGRAM_FRAMING_CODE                     0x58
75cb7a01acSMauro Carvalho Chehab #define R_59_H_OFF_FOR_SLICER                         0x59
76cb7a01acSMauro Carvalho Chehab #define R_5A_V_OFF_FOR_SLICER                         0x5a
77cb7a01acSMauro Carvalho Chehab #define R_5B_FLD_OFF_AND_MSB_FOR_H_AND_V_OFF          0x5b
78cb7a01acSMauro Carvalho Chehab #define R_5D_DID                                      0x5d
79cb7a01acSMauro Carvalho Chehab #define R_5E_SDID                                     0x5e
80cb7a01acSMauro Carvalho Chehab #define R_60_SLICER_STATUS_BYTE_0                     0x60
81cb7a01acSMauro Carvalho Chehab #define R_61_SLICER_STATUS_BYTE_1                     0x61
82cb7a01acSMauro Carvalho Chehab #define R_62_SLICER_STATUS_BYTE_2                     0x62
83cb7a01acSMauro Carvalho Chehab 
84cb7a01acSMauro Carvalho Chehab /* X port, I port and the scaler part */
85cb7a01acSMauro Carvalho Chehab 	/* Task independent global settings */
86cb7a01acSMauro Carvalho Chehab #define R_80_GLOBAL_CNTL_1                            0x80
87cb7a01acSMauro Carvalho Chehab #define R_81_V_SYNC_FLD_ID_SRC_SEL_AND_RETIMED_V_F    0x81
88cb7a01acSMauro Carvalho Chehab #define R_83_X_PORT_I_O_ENA_AND_OUT_CLK               0x83
89cb7a01acSMauro Carvalho Chehab #define R_84_I_PORT_SIGNAL_DEF                        0x84
90cb7a01acSMauro Carvalho Chehab #define R_85_I_PORT_SIGNAL_POLAR                      0x85
91cb7a01acSMauro Carvalho Chehab #define R_86_I_PORT_FIFO_FLAG_CNTL_AND_ARBIT          0x86
92cb7a01acSMauro Carvalho Chehab #define R_87_I_PORT_I_O_ENA_OUT_CLK_AND_GATED         0x87
93cb7a01acSMauro Carvalho Chehab #define R_88_POWER_SAVE_ADC_PORT_CNTL                 0x88
94cb7a01acSMauro Carvalho Chehab #define R_8F_STATUS_INFO_SCALER                       0x8f
95cb7a01acSMauro Carvalho Chehab 	/* Task A definition */
96cb7a01acSMauro Carvalho Chehab 		/* Basic settings and acquisition window definition */
97cb7a01acSMauro Carvalho Chehab #define R_90_A_TASK_HANDLING_CNTL                     0x90
98cb7a01acSMauro Carvalho Chehab #define R_91_A_X_PORT_FORMATS_AND_CONF                0x91
99cb7a01acSMauro Carvalho Chehab #define R_92_A_X_PORT_INPUT_REFERENCE_SIGNAL          0x92
100cb7a01acSMauro Carvalho Chehab #define R_93_A_I_PORT_OUTPUT_FORMATS_AND_CONF         0x93
101cb7a01acSMauro Carvalho Chehab #define R_94_A_HORIZ_INPUT_WINDOW_START               0x94
102cb7a01acSMauro Carvalho Chehab #define R_95_A_HORIZ_INPUT_WINDOW_START_MSB           0x95
103cb7a01acSMauro Carvalho Chehab #define R_96_A_HORIZ_INPUT_WINDOW_LENGTH              0x96
104cb7a01acSMauro Carvalho Chehab #define R_97_A_HORIZ_INPUT_WINDOW_LENGTH_MSB          0x97
105cb7a01acSMauro Carvalho Chehab #define R_98_A_VERT_INPUT_WINDOW_START                0x98
106cb7a01acSMauro Carvalho Chehab #define R_99_A_VERT_INPUT_WINDOW_START_MSB            0x99
107cb7a01acSMauro Carvalho Chehab #define R_9A_A_VERT_INPUT_WINDOW_LENGTH               0x9a
108cb7a01acSMauro Carvalho Chehab #define R_9B_A_VERT_INPUT_WINDOW_LENGTH_MSB           0x9b
109cb7a01acSMauro Carvalho Chehab #define R_9C_A_HORIZ_OUTPUT_WINDOW_LENGTH             0x9c
110cb7a01acSMauro Carvalho Chehab #define R_9D_A_HORIZ_OUTPUT_WINDOW_LENGTH_MSB         0x9d
111cb7a01acSMauro Carvalho Chehab #define R_9E_A_VERT_OUTPUT_WINDOW_LENGTH              0x9e
112cb7a01acSMauro Carvalho Chehab #define R_9F_A_VERT_OUTPUT_WINDOW_LENGTH_MSB          0x9f
113cb7a01acSMauro Carvalho Chehab 		/* FIR filtering and prescaling */
114cb7a01acSMauro Carvalho Chehab #define R_A0_A_HORIZ_PRESCALING                       0xa0
115cb7a01acSMauro Carvalho Chehab #define R_A1_A_ACCUMULATION_LENGTH                    0xa1
116cb7a01acSMauro Carvalho Chehab #define R_A2_A_PRESCALER_DC_GAIN_AND_FIR_PREFILTER    0xa2
117cb7a01acSMauro Carvalho Chehab #define R_A4_A_LUMA_BRIGHTNESS_CNTL                   0xa4
118cb7a01acSMauro Carvalho Chehab #define R_A5_A_LUMA_CONTRAST_CNTL                     0xa5
119cb7a01acSMauro Carvalho Chehab #define R_A6_A_CHROMA_SATURATION_CNTL                 0xa6
120cb7a01acSMauro Carvalho Chehab 		/* Horizontal phase scaling */
121cb7a01acSMauro Carvalho Chehab #define R_A8_A_HORIZ_LUMA_SCALING_INC                 0xa8
122cb7a01acSMauro Carvalho Chehab #define R_A9_A_HORIZ_LUMA_SCALING_INC_MSB             0xa9
123cb7a01acSMauro Carvalho Chehab #define R_AA_A_HORIZ_LUMA_PHASE_OFF                   0xaa
124cb7a01acSMauro Carvalho Chehab #define R_AC_A_HORIZ_CHROMA_SCALING_INC               0xac
125cb7a01acSMauro Carvalho Chehab #define R_AD_A_HORIZ_CHROMA_SCALING_INC_MSB           0xad
126cb7a01acSMauro Carvalho Chehab #define R_AE_A_HORIZ_CHROMA_PHASE_OFF                 0xae
127cb7a01acSMauro Carvalho Chehab #define R_AF_A_HORIZ_CHROMA_PHASE_OFF_MSB             0xaf
128cb7a01acSMauro Carvalho Chehab 		/* Vertical scaling */
129cb7a01acSMauro Carvalho Chehab #define R_B0_A_VERT_LUMA_SCALING_INC                  0xb0
130cb7a01acSMauro Carvalho Chehab #define R_B1_A_VERT_LUMA_SCALING_INC_MSB              0xb1
131cb7a01acSMauro Carvalho Chehab #define R_B2_A_VERT_CHROMA_SCALING_INC                0xb2
132cb7a01acSMauro Carvalho Chehab #define R_B3_A_VERT_CHROMA_SCALING_INC_MSB            0xb3
133cb7a01acSMauro Carvalho Chehab #define R_B4_A_VERT_SCALING_MODE_CNTL                 0xb4
134cb7a01acSMauro Carvalho Chehab #define R_B8_A_VERT_CHROMA_PHASE_OFF_00               0xb8
135cb7a01acSMauro Carvalho Chehab #define R_B9_A_VERT_CHROMA_PHASE_OFF_01               0xb9
136cb7a01acSMauro Carvalho Chehab #define R_BA_A_VERT_CHROMA_PHASE_OFF_10               0xba
137cb7a01acSMauro Carvalho Chehab #define R_BB_A_VERT_CHROMA_PHASE_OFF_11               0xbb
138cb7a01acSMauro Carvalho Chehab #define R_BC_A_VERT_LUMA_PHASE_OFF_00                 0xbc
139cb7a01acSMauro Carvalho Chehab #define R_BD_A_VERT_LUMA_PHASE_OFF_01                 0xbd
140cb7a01acSMauro Carvalho Chehab #define R_BE_A_VERT_LUMA_PHASE_OFF_10                 0xbe
141cb7a01acSMauro Carvalho Chehab #define R_BF_A_VERT_LUMA_PHASE_OFF_11                 0xbf
142cb7a01acSMauro Carvalho Chehab 	/* Task B definition */
143cb7a01acSMauro Carvalho Chehab 		/* Basic settings and acquisition window definition */
144cb7a01acSMauro Carvalho Chehab #define R_C0_B_TASK_HANDLING_CNTL                     0xc0
145cb7a01acSMauro Carvalho Chehab #define R_C1_B_X_PORT_FORMATS_AND_CONF                0xc1
146cb7a01acSMauro Carvalho Chehab #define R_C2_B_INPUT_REFERENCE_SIGNAL_DEFINITION      0xc2
147cb7a01acSMauro Carvalho Chehab #define R_C3_B_I_PORT_FORMATS_AND_CONF                0xc3
148cb7a01acSMauro Carvalho Chehab #define R_C4_B_HORIZ_INPUT_WINDOW_START               0xc4
149cb7a01acSMauro Carvalho Chehab #define R_C5_B_HORIZ_INPUT_WINDOW_START_MSB           0xc5
150cb7a01acSMauro Carvalho Chehab #define R_C6_B_HORIZ_INPUT_WINDOW_LENGTH              0xc6
151cb7a01acSMauro Carvalho Chehab #define R_C7_B_HORIZ_INPUT_WINDOW_LENGTH_MSB          0xc7
152cb7a01acSMauro Carvalho Chehab #define R_C8_B_VERT_INPUT_WINDOW_START                0xc8
153cb7a01acSMauro Carvalho Chehab #define R_C9_B_VERT_INPUT_WINDOW_START_MSB            0xc9
154cb7a01acSMauro Carvalho Chehab #define R_CA_B_VERT_INPUT_WINDOW_LENGTH               0xca
155cb7a01acSMauro Carvalho Chehab #define R_CB_B_VERT_INPUT_WINDOW_LENGTH_MSB           0xcb
156cb7a01acSMauro Carvalho Chehab #define R_CC_B_HORIZ_OUTPUT_WINDOW_LENGTH             0xcc
157cb7a01acSMauro Carvalho Chehab #define R_CD_B_HORIZ_OUTPUT_WINDOW_LENGTH_MSB         0xcd
158cb7a01acSMauro Carvalho Chehab #define R_CE_B_VERT_OUTPUT_WINDOW_LENGTH              0xce
159cb7a01acSMauro Carvalho Chehab #define R_CF_B_VERT_OUTPUT_WINDOW_LENGTH_MSB          0xcf
160cb7a01acSMauro Carvalho Chehab 		/* FIR filtering and prescaling */
161cb7a01acSMauro Carvalho Chehab #define R_D0_B_HORIZ_PRESCALING                       0xd0
162cb7a01acSMauro Carvalho Chehab #define R_D1_B_ACCUMULATION_LENGTH                    0xd1
163cb7a01acSMauro Carvalho Chehab #define R_D2_B_PRESCALER_DC_GAIN_AND_FIR_PREFILTER    0xd2
164cb7a01acSMauro Carvalho Chehab #define R_D4_B_LUMA_BRIGHTNESS_CNTL                   0xd4
165cb7a01acSMauro Carvalho Chehab #define R_D5_B_LUMA_CONTRAST_CNTL                     0xd5
166cb7a01acSMauro Carvalho Chehab #define R_D6_B_CHROMA_SATURATION_CNTL                 0xd6
167cb7a01acSMauro Carvalho Chehab 		/* Horizontal phase scaling */
168cb7a01acSMauro Carvalho Chehab #define R_D8_B_HORIZ_LUMA_SCALING_INC                 0xd8
169cb7a01acSMauro Carvalho Chehab #define R_D9_B_HORIZ_LUMA_SCALING_INC_MSB             0xd9
170cb7a01acSMauro Carvalho Chehab #define R_DA_B_HORIZ_LUMA_PHASE_OFF                   0xda
171cb7a01acSMauro Carvalho Chehab #define R_DC_B_HORIZ_CHROMA_SCALING                   0xdc
172cb7a01acSMauro Carvalho Chehab #define R_DD_B_HORIZ_CHROMA_SCALING_MSB               0xdd
173cb7a01acSMauro Carvalho Chehab #define R_DE_B_HORIZ_PHASE_OFFSET_CRHOMA              0xde
174cb7a01acSMauro Carvalho Chehab 		/* Vertical scaling */
175cb7a01acSMauro Carvalho Chehab #define R_E0_B_VERT_LUMA_SCALING_INC                  0xe0
176cb7a01acSMauro Carvalho Chehab #define R_E1_B_VERT_LUMA_SCALING_INC_MSB              0xe1
177cb7a01acSMauro Carvalho Chehab #define R_E2_B_VERT_CHROMA_SCALING_INC                0xe2
178cb7a01acSMauro Carvalho Chehab #define R_E3_B_VERT_CHROMA_SCALING_INC_MSB            0xe3
179cb7a01acSMauro Carvalho Chehab #define R_E4_B_VERT_SCALING_MODE_CNTL                 0xe4
180cb7a01acSMauro Carvalho Chehab #define R_E8_B_VERT_CHROMA_PHASE_OFF_00               0xe8
181cb7a01acSMauro Carvalho Chehab #define R_E9_B_VERT_CHROMA_PHASE_OFF_01               0xe9
182cb7a01acSMauro Carvalho Chehab #define R_EA_B_VERT_CHROMA_PHASE_OFF_10               0xea
183cb7a01acSMauro Carvalho Chehab #define R_EB_B_VERT_CHROMA_PHASE_OFF_11               0xeb
184cb7a01acSMauro Carvalho Chehab #define R_EC_B_VERT_LUMA_PHASE_OFF_00                 0xec
185cb7a01acSMauro Carvalho Chehab #define R_ED_B_VERT_LUMA_PHASE_OFF_01                 0xed
186cb7a01acSMauro Carvalho Chehab #define R_EE_B_VERT_LUMA_PHASE_OFF_10                 0xee
187cb7a01acSMauro Carvalho Chehab #define R_EF_B_VERT_LUMA_PHASE_OFF_11                 0xef
188cb7a01acSMauro Carvalho Chehab 
189cb7a01acSMauro Carvalho Chehab /* second PLL (PLL2) and Pulsegenerator Programming */
190cb7a01acSMauro Carvalho Chehab #define R_F0_LFCO_PER_LINE                            0xf0
191cb7a01acSMauro Carvalho Chehab #define R_F1_P_I_PARAM_SELECT                         0xf1
192cb7a01acSMauro Carvalho Chehab #define R_F2_NOMINAL_PLL2_DTO                         0xf2
193cb7a01acSMauro Carvalho Chehab #define R_F3_PLL_INCREMENT                            0xf3
194cb7a01acSMauro Carvalho Chehab #define R_F4_PLL2_STATUS                              0xf4
195cb7a01acSMauro Carvalho Chehab #define R_F5_PULSGEN_LINE_LENGTH                      0xf5
196cb7a01acSMauro Carvalho Chehab #define R_F6_PULSE_A_POS_LSB_AND_PULSEGEN_CONFIG      0xf6
197cb7a01acSMauro Carvalho Chehab #define R_F7_PULSE_A_POS_MSB                          0xf7
198cb7a01acSMauro Carvalho Chehab #define R_F8_PULSE_B_POS                              0xf8
199cb7a01acSMauro Carvalho Chehab #define R_F9_PULSE_B_POS_MSB                          0xf9
200cb7a01acSMauro Carvalho Chehab #define R_FA_PULSE_C_POS                              0xfa
201cb7a01acSMauro Carvalho Chehab #define R_FB_PULSE_C_POS_MSB                          0xfb
202cb7a01acSMauro Carvalho Chehab #define R_FF_S_PLL_MAX_PHASE_ERR_THRESH_NUM_LINES     0xff
203cb7a01acSMauro Carvalho Chehab 
204*8b77dfddSJon Arne Jørgensen /* SAA7113 bit-masks */
205*8b77dfddSJon Arne Jørgensen #define SAA7113_R_08_FSEL 0x40
206*8b77dfddSJon Arne Jørgensen #define SAA7113_R_08_AUFD 0x80
207*8b77dfddSJon Arne Jørgensen 
208cb7a01acSMauro Carvalho Chehab #if 0
209cb7a01acSMauro Carvalho Chehab /* Those structs will be used in the future for debug purposes */
210cb7a01acSMauro Carvalho Chehab struct saa711x_reg_descr {
211cb7a01acSMauro Carvalho Chehab 	u8 reg;
212cb7a01acSMauro Carvalho Chehab 	int count;
213cb7a01acSMauro Carvalho Chehab 	char *name;
214cb7a01acSMauro Carvalho Chehab };
215cb7a01acSMauro Carvalho Chehab 
216cb7a01acSMauro Carvalho Chehab struct saa711x_reg_descr saa711x_regs[] = {
217cb7a01acSMauro Carvalho Chehab 	/* REG COUNT NAME */
218cb7a01acSMauro Carvalho Chehab 	{R_00_CHIP_VERSION,1,
219cb7a01acSMauro Carvalho Chehab 	 "Chip version"},
220cb7a01acSMauro Carvalho Chehab 
221cb7a01acSMauro Carvalho Chehab 	/* Video Decoder: R_01_INC_DELAY to R_1F_STATUS_BYTE_2_VD_DEC */
222cb7a01acSMauro Carvalho Chehab 
223cb7a01acSMauro Carvalho Chehab 	/* Video Decoder - Frontend part: R_01_INC_DELAY to R_05_INPUT_CNTL_4 */
224cb7a01acSMauro Carvalho Chehab 	{R_01_INC_DELAY,1,
225cb7a01acSMauro Carvalho Chehab 	 "Increment delay"},
226cb7a01acSMauro Carvalho Chehab 	{R_02_INPUT_CNTL_1,1,
227cb7a01acSMauro Carvalho Chehab 	 "Analog input control 1"},
228cb7a01acSMauro Carvalho Chehab 	{R_03_INPUT_CNTL_2,1,
229cb7a01acSMauro Carvalho Chehab 	 "Analog input control 2"},
230cb7a01acSMauro Carvalho Chehab 	{R_04_INPUT_CNTL_3,1,
231cb7a01acSMauro Carvalho Chehab 	 "Analog input control 3"},
232cb7a01acSMauro Carvalho Chehab 	{R_05_INPUT_CNTL_4,1,
233cb7a01acSMauro Carvalho Chehab 	 "Analog input control 4"},
234cb7a01acSMauro Carvalho Chehab 
235cb7a01acSMauro Carvalho Chehab 	/* Video Decoder - Decoder part: R_06_H_SYNC_START to R_1F_STATUS_BYTE_2_VD_DEC */
236cb7a01acSMauro Carvalho Chehab 	{R_06_H_SYNC_START,1,
237cb7a01acSMauro Carvalho Chehab 	 "Horizontal sync start"},
238cb7a01acSMauro Carvalho Chehab 	{R_07_H_SYNC_STOP,1,
239cb7a01acSMauro Carvalho Chehab 	 "Horizontal sync stop"},
240cb7a01acSMauro Carvalho Chehab 	{R_08_SYNC_CNTL,1,
241cb7a01acSMauro Carvalho Chehab 	 "Sync control"},
242cb7a01acSMauro Carvalho Chehab 	{R_09_LUMA_CNTL,1,
243cb7a01acSMauro Carvalho Chehab 	 "Luminance control"},
244cb7a01acSMauro Carvalho Chehab 	{R_0A_LUMA_BRIGHT_CNTL,1,
245cb7a01acSMauro Carvalho Chehab 	 "Luminance brightness control"},
246cb7a01acSMauro Carvalho Chehab 	{R_0B_LUMA_CONTRAST_CNTL,1,
247cb7a01acSMauro Carvalho Chehab 	 "Luminance contrast control"},
248cb7a01acSMauro Carvalho Chehab 	{R_0C_CHROMA_SAT_CNTL,1,
249cb7a01acSMauro Carvalho Chehab 	 "Chrominance saturation control"},
250cb7a01acSMauro Carvalho Chehab 	{R_0D_CHROMA_HUE_CNTL,1,
251cb7a01acSMauro Carvalho Chehab 	 "Chrominance hue control"},
252cb7a01acSMauro Carvalho Chehab 	{R_0E_CHROMA_CNTL_1,1,
253cb7a01acSMauro Carvalho Chehab 	 "Chrominance control 1"},
254cb7a01acSMauro Carvalho Chehab 	{R_0F_CHROMA_GAIN_CNTL,1,
255cb7a01acSMauro Carvalho Chehab 	 "Chrominance gain control"},
256cb7a01acSMauro Carvalho Chehab 	{R_10_CHROMA_CNTL_2,1,
257cb7a01acSMauro Carvalho Chehab 	 "Chrominance control 2"},
258cb7a01acSMauro Carvalho Chehab 	{R_11_MODE_DELAY_CNTL,1,
259cb7a01acSMauro Carvalho Chehab 	 "Mode/delay control"},
260cb7a01acSMauro Carvalho Chehab 	{R_12_RT_SIGNAL_CNTL,1,
261cb7a01acSMauro Carvalho Chehab 	 "RT signal control"},
262cb7a01acSMauro Carvalho Chehab 	{R_13_RT_X_PORT_OUT_CNTL,1,
263cb7a01acSMauro Carvalho Chehab 	 "RT/X port output control"},
264cb7a01acSMauro Carvalho Chehab 	{R_14_ANAL_ADC_COMPAT_CNTL,1,
265cb7a01acSMauro Carvalho Chehab 	 "Analog/ADC/compatibility control"},
266cb7a01acSMauro Carvalho Chehab 	{R_15_VGATE_START_FID_CHG,  1,
267cb7a01acSMauro Carvalho Chehab 	 "VGATE start FID change"},
268cb7a01acSMauro Carvalho Chehab 	{R_16_VGATE_STOP,1,
269cb7a01acSMauro Carvalho Chehab 	 "VGATE stop"},
270cb7a01acSMauro Carvalho Chehab 	{R_17_MISC_VGATE_CONF_AND_MSB,  1,
271cb7a01acSMauro Carvalho Chehab 	 "Miscellaneous VGATE configuration and MSBs"},
272cb7a01acSMauro Carvalho Chehab 	{R_18_RAW_DATA_GAIN_CNTL,1,
273cb7a01acSMauro Carvalho Chehab 	 "Raw data gain control",},
274cb7a01acSMauro Carvalho Chehab 	{R_19_RAW_DATA_OFF_CNTL,1,
275cb7a01acSMauro Carvalho Chehab 	 "Raw data offset control",},
276cb7a01acSMauro Carvalho Chehab 	{R_1A_COLOR_KILL_LVL_CNTL,1,
277cb7a01acSMauro Carvalho Chehab 	 "Color Killer Level Control"},
278cb7a01acSMauro Carvalho Chehab 	{ R_1B_MISC_TVVCRDET, 1,
279cb7a01acSMauro Carvalho Chehab 	  "MISC /TVVCRDET"},
280cb7a01acSMauro Carvalho Chehab 	{ R_1C_ENHAN_COMB_CTRL1, 1,
281cb7a01acSMauro Carvalho Chehab 	 "Enhanced comb ctrl1"},
282cb7a01acSMauro Carvalho Chehab 	{ R_1D_ENHAN_COMB_CTRL2, 1,
283cb7a01acSMauro Carvalho Chehab 	 "Enhanced comb ctrl1"},
284cb7a01acSMauro Carvalho Chehab 	{R_1E_STATUS_BYTE_1_VD_DEC,1,
285cb7a01acSMauro Carvalho Chehab 	 "Status byte 1 video decoder"},
286cb7a01acSMauro Carvalho Chehab 	{R_1F_STATUS_BYTE_2_VD_DEC,1,
287cb7a01acSMauro Carvalho Chehab 	 "Status byte 2 video decoder"},
288cb7a01acSMauro Carvalho Chehab 
289cb7a01acSMauro Carvalho Chehab 	/* Component processing and interrupt masking part:  0x20h to R_2F_INTERRUPT_MASK_3 */
290cb7a01acSMauro Carvalho Chehab 	/* 0x20 to 0x22 - Reserved */
291cb7a01acSMauro Carvalho Chehab 	{R_23_INPUT_CNTL_5,1,
292cb7a01acSMauro Carvalho Chehab 	 "Analog input control 5"},
293cb7a01acSMauro Carvalho Chehab 	{R_24_INPUT_CNTL_6,1,
294cb7a01acSMauro Carvalho Chehab 	 "Analog input control 6"},
295cb7a01acSMauro Carvalho Chehab 	{R_25_INPUT_CNTL_7,1,
296cb7a01acSMauro Carvalho Chehab 	 "Analog input control 7"},
297cb7a01acSMauro Carvalho Chehab 	/* 0x26 to 0x28 - Reserved */
298cb7a01acSMauro Carvalho Chehab 	{R_29_COMP_DELAY,1,
299cb7a01acSMauro Carvalho Chehab 	 "Component delay"},
300cb7a01acSMauro Carvalho Chehab 	{R_2A_COMP_BRIGHT_CNTL,1,
301cb7a01acSMauro Carvalho Chehab 	 "Component brightness control"},
302cb7a01acSMauro Carvalho Chehab 	{R_2B_COMP_CONTRAST_CNTL,1,
303cb7a01acSMauro Carvalho Chehab 	 "Component contrast control"},
304cb7a01acSMauro Carvalho Chehab 	{R_2C_COMP_SAT_CNTL,1,
305cb7a01acSMauro Carvalho Chehab 	 "Component saturation control"},
306cb7a01acSMauro Carvalho Chehab 	{R_2D_INTERRUPT_MASK_1,1,
307cb7a01acSMauro Carvalho Chehab 	 "Interrupt mask 1"},
308cb7a01acSMauro Carvalho Chehab 	{R_2E_INTERRUPT_MASK_2,1,
309cb7a01acSMauro Carvalho Chehab 	 "Interrupt mask 2"},
310cb7a01acSMauro Carvalho Chehab 	{R_2F_INTERRUPT_MASK_3,1,
311cb7a01acSMauro Carvalho Chehab 	 "Interrupt mask 3"},
312cb7a01acSMauro Carvalho Chehab 
313cb7a01acSMauro Carvalho Chehab 	/* Audio clock generator part: R_30_AUD_MAST_CLK_CYCLES_PER_FIELD to 0x3f */
314cb7a01acSMauro Carvalho Chehab 	{R_30_AUD_MAST_CLK_CYCLES_PER_FIELD,3,
315cb7a01acSMauro Carvalho Chehab 	 "Audio master clock cycles per field"},
316cb7a01acSMauro Carvalho Chehab 	/* 0x33 - Reserved */
317cb7a01acSMauro Carvalho Chehab 	{R_34_AUD_MAST_CLK_NOMINAL_INC,3,
318cb7a01acSMauro Carvalho Chehab 	 "Audio master clock nominal increment"},
319cb7a01acSMauro Carvalho Chehab 	/* 0x37 - Reserved */
320cb7a01acSMauro Carvalho Chehab 	{R_38_CLK_RATIO_AMXCLK_TO_ASCLK,1,
321cb7a01acSMauro Carvalho Chehab 	 "Clock ratio AMXCLK to ASCLK"},
322cb7a01acSMauro Carvalho Chehab 	{R_39_CLK_RATIO_ASCLK_TO_ALRCLK,1,
323cb7a01acSMauro Carvalho Chehab 	 "Clock ratio ASCLK to ALRCLK"},
324cb7a01acSMauro Carvalho Chehab 	{R_3A_AUD_CLK_GEN_BASIC_SETUP,1,
325cb7a01acSMauro Carvalho Chehab 	 "Audio clock generator basic setup"},
326cb7a01acSMauro Carvalho Chehab 	/* 0x3b-0x3f - Reserved */
327cb7a01acSMauro Carvalho Chehab 
328cb7a01acSMauro Carvalho Chehab 	/* General purpose VBI data slicer part: R_40_SLICER_CNTL_1 to 0x7f */
329cb7a01acSMauro Carvalho Chehab 	{R_40_SLICER_CNTL_1,1,
330cb7a01acSMauro Carvalho Chehab 	 "Slicer control 1"},
331cb7a01acSMauro Carvalho Chehab 	{R_41_LCR,23,
332cb7a01acSMauro Carvalho Chehab 	 "R_41_LCR"},
333cb7a01acSMauro Carvalho Chehab 	{R_58_PROGRAM_FRAMING_CODE,1,
334cb7a01acSMauro Carvalho Chehab 	 "Programmable framing code"},
335cb7a01acSMauro Carvalho Chehab 	{R_59_H_OFF_FOR_SLICER,1,
336cb7a01acSMauro Carvalho Chehab 	 "Horizontal offset for slicer"},
337cb7a01acSMauro Carvalho Chehab 	{R_5A_V_OFF_FOR_SLICER,1,
338cb7a01acSMauro Carvalho Chehab 	 "Vertical offset for slicer"},
339cb7a01acSMauro Carvalho Chehab 	{R_5B_FLD_OFF_AND_MSB_FOR_H_AND_V_OFF,1,
340cb7a01acSMauro Carvalho Chehab 	 "Field offset and MSBs for horizontal and vertical offset"},
341cb7a01acSMauro Carvalho Chehab 	{R_5D_DID,1,
342cb7a01acSMauro Carvalho Chehab 	 "Header and data identification (R_5D_DID)"},
343cb7a01acSMauro Carvalho Chehab 	{R_5E_SDID,1,
344cb7a01acSMauro Carvalho Chehab 	 "Sliced data identification (R_5E_SDID) code"},
345cb7a01acSMauro Carvalho Chehab 	{R_60_SLICER_STATUS_BYTE_0,1,
346cb7a01acSMauro Carvalho Chehab 	 "Slicer status byte 0"},
347cb7a01acSMauro Carvalho Chehab 	{R_61_SLICER_STATUS_BYTE_1,1,
348cb7a01acSMauro Carvalho Chehab 	 "Slicer status byte 1"},
349cb7a01acSMauro Carvalho Chehab 	{R_62_SLICER_STATUS_BYTE_2,1,
350cb7a01acSMauro Carvalho Chehab 	 "Slicer status byte 2"},
351cb7a01acSMauro Carvalho Chehab 	/* 0x63-0x7f - Reserved */
352cb7a01acSMauro Carvalho Chehab 
353cb7a01acSMauro Carvalho Chehab 	/* X port, I port and the scaler part: R_80_GLOBAL_CNTL_1 to R_EF_B_VERT_LUMA_PHASE_OFF_11 */
354cb7a01acSMauro Carvalho Chehab 	/* Task independent global settings: R_80_GLOBAL_CNTL_1 to R_8F_STATUS_INFO_SCALER */
355cb7a01acSMauro Carvalho Chehab 	{R_80_GLOBAL_CNTL_1,1,
356cb7a01acSMauro Carvalho Chehab 	 "Global control 1"},
357cb7a01acSMauro Carvalho Chehab 	{R_81_V_SYNC_FLD_ID_SRC_SEL_AND_RETIMED_V_F,1,
358cb7a01acSMauro Carvalho Chehab 	 "Vertical sync and Field ID source selection, retimed V and F signals"},
359cb7a01acSMauro Carvalho Chehab 	/* 0x82 - Reserved */
360cb7a01acSMauro Carvalho Chehab 	{R_83_X_PORT_I_O_ENA_AND_OUT_CLK,1,
361cb7a01acSMauro Carvalho Chehab 	 "X port I/O enable and output clock"},
362cb7a01acSMauro Carvalho Chehab 	{R_84_I_PORT_SIGNAL_DEF,1,
363cb7a01acSMauro Carvalho Chehab 	 "I port signal definitions"},
364cb7a01acSMauro Carvalho Chehab 	{R_85_I_PORT_SIGNAL_POLAR,1,
365cb7a01acSMauro Carvalho Chehab 	 "I port signal polarities"},
366cb7a01acSMauro Carvalho Chehab 	{R_86_I_PORT_FIFO_FLAG_CNTL_AND_ARBIT,1,
367cb7a01acSMauro Carvalho Chehab 	 "I port FIFO flag control and arbitration"},
368cb7a01acSMauro Carvalho Chehab 	{R_87_I_PORT_I_O_ENA_OUT_CLK_AND_GATED,  1,
369cb7a01acSMauro Carvalho Chehab 	 "I port I/O enable output clock and gated"},
370cb7a01acSMauro Carvalho Chehab 	{R_88_POWER_SAVE_ADC_PORT_CNTL,1,
371cb7a01acSMauro Carvalho Chehab 	 "Power save/ADC port control"},
372cb7a01acSMauro Carvalho Chehab 	/* 089-0x8e - Reserved */
373cb7a01acSMauro Carvalho Chehab 	{R_8F_STATUS_INFO_SCALER,1,
374cb7a01acSMauro Carvalho Chehab 	 "Status information scaler part"},
375cb7a01acSMauro Carvalho Chehab 
376cb7a01acSMauro Carvalho Chehab 	/* Task A definition: R_90_A_TASK_HANDLING_CNTL to R_BF_A_VERT_LUMA_PHASE_OFF_11 */
377cb7a01acSMauro Carvalho Chehab 	/* Task A: Basic settings and acquisition window definition */
378cb7a01acSMauro Carvalho Chehab 	{R_90_A_TASK_HANDLING_CNTL,1,
379cb7a01acSMauro Carvalho Chehab 	 "Task A: Task handling control"},
380cb7a01acSMauro Carvalho Chehab 	{R_91_A_X_PORT_FORMATS_AND_CONF,1,
381cb7a01acSMauro Carvalho Chehab 	 "Task A: X port formats and configuration"},
382cb7a01acSMauro Carvalho Chehab 	{R_92_A_X_PORT_INPUT_REFERENCE_SIGNAL,1,
383cb7a01acSMauro Carvalho Chehab 	 "Task A: X port input reference signal definition"},
384cb7a01acSMauro Carvalho Chehab 	{R_93_A_I_PORT_OUTPUT_FORMATS_AND_CONF,1,
385cb7a01acSMauro Carvalho Chehab 	 "Task A: I port output formats and configuration"},
386cb7a01acSMauro Carvalho Chehab 	{R_94_A_HORIZ_INPUT_WINDOW_START,2,
387cb7a01acSMauro Carvalho Chehab 	 "Task A: Horizontal input window start"},
388cb7a01acSMauro Carvalho Chehab 	{R_96_A_HORIZ_INPUT_WINDOW_LENGTH,2,
389cb7a01acSMauro Carvalho Chehab 	 "Task A: Horizontal input window length"},
390cb7a01acSMauro Carvalho Chehab 	{R_98_A_VERT_INPUT_WINDOW_START,2,
391cb7a01acSMauro Carvalho Chehab 	 "Task A: Vertical input window start"},
392cb7a01acSMauro Carvalho Chehab 	{R_9A_A_VERT_INPUT_WINDOW_LENGTH,2,
393cb7a01acSMauro Carvalho Chehab 	 "Task A: Vertical input window length"},
394cb7a01acSMauro Carvalho Chehab 	{R_9C_A_HORIZ_OUTPUT_WINDOW_LENGTH,2,
395cb7a01acSMauro Carvalho Chehab 	 "Task A: Horizontal output window length"},
396cb7a01acSMauro Carvalho Chehab 	{R_9E_A_VERT_OUTPUT_WINDOW_LENGTH,2,
397cb7a01acSMauro Carvalho Chehab 	 "Task A: Vertical output window length"},
398cb7a01acSMauro Carvalho Chehab 
399cb7a01acSMauro Carvalho Chehab 	/* Task A: FIR filtering and prescaling */
400cb7a01acSMauro Carvalho Chehab 	{R_A0_A_HORIZ_PRESCALING,1,
401cb7a01acSMauro Carvalho Chehab 	 "Task A: Horizontal prescaling"},
402cb7a01acSMauro Carvalho Chehab 	{R_A1_A_ACCUMULATION_LENGTH,1,
403cb7a01acSMauro Carvalho Chehab 	 "Task A: Accumulation length"},
404cb7a01acSMauro Carvalho Chehab 	{R_A2_A_PRESCALER_DC_GAIN_AND_FIR_PREFILTER,1,
405cb7a01acSMauro Carvalho Chehab 	 "Task A: Prescaler DC gain and FIR prefilter"},
406cb7a01acSMauro Carvalho Chehab 	/* 0xa3 - Reserved */
407cb7a01acSMauro Carvalho Chehab 	{R_A4_A_LUMA_BRIGHTNESS_CNTL,1,
408cb7a01acSMauro Carvalho Chehab 	 "Task A: Luminance brightness control"},
409cb7a01acSMauro Carvalho Chehab 	{R_A5_A_LUMA_CONTRAST_CNTL,1,
410cb7a01acSMauro Carvalho Chehab 	 "Task A: Luminance contrast control"},
411cb7a01acSMauro Carvalho Chehab 	{R_A6_A_CHROMA_SATURATION_CNTL,1,
412cb7a01acSMauro Carvalho Chehab 	 "Task A: Chrominance saturation control"},
413cb7a01acSMauro Carvalho Chehab 	/* 0xa7 - Reserved */
414cb7a01acSMauro Carvalho Chehab 
415cb7a01acSMauro Carvalho Chehab 	/* Task A: Horizontal phase scaling */
416cb7a01acSMauro Carvalho Chehab 	{R_A8_A_HORIZ_LUMA_SCALING_INC,2,
417cb7a01acSMauro Carvalho Chehab 	 "Task A: Horizontal luminance scaling increment"},
418cb7a01acSMauro Carvalho Chehab 	{R_AA_A_HORIZ_LUMA_PHASE_OFF,1,
419cb7a01acSMauro Carvalho Chehab 	 "Task A: Horizontal luminance phase offset"},
420cb7a01acSMauro Carvalho Chehab 	/* 0xab - Reserved */
421cb7a01acSMauro Carvalho Chehab 	{R_AC_A_HORIZ_CHROMA_SCALING_INC,2,
422cb7a01acSMauro Carvalho Chehab 	 "Task A: Horizontal chrominance scaling increment"},
423cb7a01acSMauro Carvalho Chehab 	{R_AE_A_HORIZ_CHROMA_PHASE_OFF,1,
424cb7a01acSMauro Carvalho Chehab 	 "Task A: Horizontal chrominance phase offset"},
425cb7a01acSMauro Carvalho Chehab 	/* 0xaf - Reserved */
426cb7a01acSMauro Carvalho Chehab 
427cb7a01acSMauro Carvalho Chehab 	/* Task A: Vertical scaling */
428cb7a01acSMauro Carvalho Chehab 	{R_B0_A_VERT_LUMA_SCALING_INC,2,
429cb7a01acSMauro Carvalho Chehab 	 "Task A: Vertical luminance scaling increment"},
430cb7a01acSMauro Carvalho Chehab 	{R_B2_A_VERT_CHROMA_SCALING_INC,2,
431cb7a01acSMauro Carvalho Chehab 	 "Task A: Vertical chrominance scaling increment"},
432cb7a01acSMauro Carvalho Chehab 	{R_B4_A_VERT_SCALING_MODE_CNTL,1,
433cb7a01acSMauro Carvalho Chehab 	 "Task A: Vertical scaling mode control"},
434cb7a01acSMauro Carvalho Chehab 	/* 0xb5-0xb7 - Reserved */
435cb7a01acSMauro Carvalho Chehab 	{R_B8_A_VERT_CHROMA_PHASE_OFF_00,1,
436cb7a01acSMauro Carvalho Chehab 	 "Task A: Vertical chrominance phase offset '00'"},
437cb7a01acSMauro Carvalho Chehab 	{R_B9_A_VERT_CHROMA_PHASE_OFF_01,1,
438cb7a01acSMauro Carvalho Chehab 	 "Task A: Vertical chrominance phase offset '01'"},
439cb7a01acSMauro Carvalho Chehab 	{R_BA_A_VERT_CHROMA_PHASE_OFF_10,1,
440cb7a01acSMauro Carvalho Chehab 	 "Task A: Vertical chrominance phase offset '10'"},
441cb7a01acSMauro Carvalho Chehab 	{R_BB_A_VERT_CHROMA_PHASE_OFF_11,1,
442cb7a01acSMauro Carvalho Chehab 	 "Task A: Vertical chrominance phase offset '11'"},
443cb7a01acSMauro Carvalho Chehab 	{R_BC_A_VERT_LUMA_PHASE_OFF_00,1,
444cb7a01acSMauro Carvalho Chehab 	 "Task A: Vertical luminance phase offset '00'"},
445cb7a01acSMauro Carvalho Chehab 	{R_BD_A_VERT_LUMA_PHASE_OFF_01,1,
446cb7a01acSMauro Carvalho Chehab 	 "Task A: Vertical luminance phase offset '01'"},
447cb7a01acSMauro Carvalho Chehab 	{R_BE_A_VERT_LUMA_PHASE_OFF_10,1,
448cb7a01acSMauro Carvalho Chehab 	 "Task A: Vertical luminance phase offset '10'"},
449cb7a01acSMauro Carvalho Chehab 	{R_BF_A_VERT_LUMA_PHASE_OFF_11,1,
450cb7a01acSMauro Carvalho Chehab 	 "Task A: Vertical luminance phase offset '11'"},
451cb7a01acSMauro Carvalho Chehab 
452cb7a01acSMauro Carvalho Chehab 	/* Task B definition: R_C0_B_TASK_HANDLING_CNTL to R_EF_B_VERT_LUMA_PHASE_OFF_11 */
453cb7a01acSMauro Carvalho Chehab 	/* Task B: Basic settings and acquisition window definition */
454cb7a01acSMauro Carvalho Chehab 	{R_C0_B_TASK_HANDLING_CNTL,1,
455cb7a01acSMauro Carvalho Chehab 	 "Task B: Task handling control"},
456cb7a01acSMauro Carvalho Chehab 	{R_C1_B_X_PORT_FORMATS_AND_CONF,1,
457cb7a01acSMauro Carvalho Chehab 	 "Task B: X port formats and configuration"},
458cb7a01acSMauro Carvalho Chehab 	{R_C2_B_INPUT_REFERENCE_SIGNAL_DEFINITION,1,
459cb7a01acSMauro Carvalho Chehab 	 "Task B: Input reference signal definition"},
460cb7a01acSMauro Carvalho Chehab 	{R_C3_B_I_PORT_FORMATS_AND_CONF,1,
461cb7a01acSMauro Carvalho Chehab 	 "Task B: I port formats and configuration"},
462cb7a01acSMauro Carvalho Chehab 	{R_C4_B_HORIZ_INPUT_WINDOW_START,2,
463cb7a01acSMauro Carvalho Chehab 	 "Task B: Horizontal input window start"},
464cb7a01acSMauro Carvalho Chehab 	{R_C6_B_HORIZ_INPUT_WINDOW_LENGTH,2,
465cb7a01acSMauro Carvalho Chehab 	 "Task B: Horizontal input window length"},
466cb7a01acSMauro Carvalho Chehab 	{R_C8_B_VERT_INPUT_WINDOW_START,2,
467cb7a01acSMauro Carvalho Chehab 	 "Task B: Vertical input window start"},
468cb7a01acSMauro Carvalho Chehab 	{R_CA_B_VERT_INPUT_WINDOW_LENGTH,2,
469cb7a01acSMauro Carvalho Chehab 	 "Task B: Vertical input window length"},
470cb7a01acSMauro Carvalho Chehab 	{R_CC_B_HORIZ_OUTPUT_WINDOW_LENGTH,2,
471cb7a01acSMauro Carvalho Chehab 	 "Task B: Horizontal output window length"},
472cb7a01acSMauro Carvalho Chehab 	{R_CE_B_VERT_OUTPUT_WINDOW_LENGTH,2,
473cb7a01acSMauro Carvalho Chehab 	 "Task B: Vertical output window length"},
474cb7a01acSMauro Carvalho Chehab 
475cb7a01acSMauro Carvalho Chehab 	/* Task B: FIR filtering and prescaling */
476cb7a01acSMauro Carvalho Chehab 	{R_D0_B_HORIZ_PRESCALING,1,
477cb7a01acSMauro Carvalho Chehab 	 "Task B: Horizontal prescaling"},
478cb7a01acSMauro Carvalho Chehab 	{R_D1_B_ACCUMULATION_LENGTH,1,
479cb7a01acSMauro Carvalho Chehab 	 "Task B: Accumulation length"},
480cb7a01acSMauro Carvalho Chehab 	{R_D2_B_PRESCALER_DC_GAIN_AND_FIR_PREFILTER,1,
481cb7a01acSMauro Carvalho Chehab 	 "Task B: Prescaler DC gain and FIR prefilter"},
482cb7a01acSMauro Carvalho Chehab 	/* 0xd3 - Reserved */
483cb7a01acSMauro Carvalho Chehab 	{R_D4_B_LUMA_BRIGHTNESS_CNTL,1,
484cb7a01acSMauro Carvalho Chehab 	 "Task B: Luminance brightness control"},
485cb7a01acSMauro Carvalho Chehab 	{R_D5_B_LUMA_CONTRAST_CNTL,1,
486cb7a01acSMauro Carvalho Chehab 	 "Task B: Luminance contrast control"},
487cb7a01acSMauro Carvalho Chehab 	{R_D6_B_CHROMA_SATURATION_CNTL,1,
488cb7a01acSMauro Carvalho Chehab 	 "Task B: Chrominance saturation control"},
489cb7a01acSMauro Carvalho Chehab 	/* 0xd7 - Reserved */
490cb7a01acSMauro Carvalho Chehab 
491cb7a01acSMauro Carvalho Chehab 	/* Task B: Horizontal phase scaling */
492cb7a01acSMauro Carvalho Chehab 	{R_D8_B_HORIZ_LUMA_SCALING_INC,2,
493cb7a01acSMauro Carvalho Chehab 	 "Task B: Horizontal luminance scaling increment"},
494cb7a01acSMauro Carvalho Chehab 	{R_DA_B_HORIZ_LUMA_PHASE_OFF,1,
495cb7a01acSMauro Carvalho Chehab 	 "Task B: Horizontal luminance phase offset"},
496cb7a01acSMauro Carvalho Chehab 	/* 0xdb - Reserved */
497cb7a01acSMauro Carvalho Chehab 	{R_DC_B_HORIZ_CHROMA_SCALING,2,
498cb7a01acSMauro Carvalho Chehab 	 "Task B: Horizontal chrominance scaling"},
499cb7a01acSMauro Carvalho Chehab 	{R_DE_B_HORIZ_PHASE_OFFSET_CRHOMA,1,
500cb7a01acSMauro Carvalho Chehab 	 "Task B: Horizontal Phase Offset Chroma"},
501cb7a01acSMauro Carvalho Chehab 	/* 0xdf - Reserved */
502cb7a01acSMauro Carvalho Chehab 
503cb7a01acSMauro Carvalho Chehab 	/* Task B: Vertical scaling */
504cb7a01acSMauro Carvalho Chehab 	{R_E0_B_VERT_LUMA_SCALING_INC,2,
505cb7a01acSMauro Carvalho Chehab 	 "Task B: Vertical luminance scaling increment"},
506cb7a01acSMauro Carvalho Chehab 	{R_E2_B_VERT_CHROMA_SCALING_INC,2,
507cb7a01acSMauro Carvalho Chehab 	 "Task B: Vertical chrominance scaling increment"},
508cb7a01acSMauro Carvalho Chehab 	{R_E4_B_VERT_SCALING_MODE_CNTL,1,
509cb7a01acSMauro Carvalho Chehab 	 "Task B: Vertical scaling mode control"},
510cb7a01acSMauro Carvalho Chehab 	/* 0xe5-0xe7 - Reserved */
511cb7a01acSMauro Carvalho Chehab 	{R_E8_B_VERT_CHROMA_PHASE_OFF_00,1,
512cb7a01acSMauro Carvalho Chehab 	 "Task B: Vertical chrominance phase offset '00'"},
513cb7a01acSMauro Carvalho Chehab 	{R_E9_B_VERT_CHROMA_PHASE_OFF_01,1,
514cb7a01acSMauro Carvalho Chehab 	 "Task B: Vertical chrominance phase offset '01'"},
515cb7a01acSMauro Carvalho Chehab 	{R_EA_B_VERT_CHROMA_PHASE_OFF_10,1,
516cb7a01acSMauro Carvalho Chehab 	 "Task B: Vertical chrominance phase offset '10'"},
517cb7a01acSMauro Carvalho Chehab 	{R_EB_B_VERT_CHROMA_PHASE_OFF_11,1,
518cb7a01acSMauro Carvalho Chehab 	 "Task B: Vertical chrominance phase offset '11'"},
519cb7a01acSMauro Carvalho Chehab 	{R_EC_B_VERT_LUMA_PHASE_OFF_00,1,
520cb7a01acSMauro Carvalho Chehab 	 "Task B: Vertical luminance phase offset '00'"},
521cb7a01acSMauro Carvalho Chehab 	{R_ED_B_VERT_LUMA_PHASE_OFF_01,1,
522cb7a01acSMauro Carvalho Chehab 	 "Task B: Vertical luminance phase offset '01'"},
523cb7a01acSMauro Carvalho Chehab 	{R_EE_B_VERT_LUMA_PHASE_OFF_10,1,
524cb7a01acSMauro Carvalho Chehab 	 "Task B: Vertical luminance phase offset '10'"},
525cb7a01acSMauro Carvalho Chehab 	{R_EF_B_VERT_LUMA_PHASE_OFF_11,1,
526cb7a01acSMauro Carvalho Chehab 	 "Task B: Vertical luminance phase offset '11'"},
527cb7a01acSMauro Carvalho Chehab 
528cb7a01acSMauro Carvalho Chehab 	/* second PLL (PLL2) and Pulsegenerator Programming */
529cb7a01acSMauro Carvalho Chehab 	{ R_F0_LFCO_PER_LINE, 1,
530cb7a01acSMauro Carvalho Chehab 	  "LFCO's per line"},
531cb7a01acSMauro Carvalho Chehab 	{ R_F1_P_I_PARAM_SELECT,1,
532cb7a01acSMauro Carvalho Chehab 	  "P-/I- Param. Select., PLL Mode, PLL H-Src., LFCO's per line"},
533cb7a01acSMauro Carvalho Chehab 	{ R_F2_NOMINAL_PLL2_DTO,1,
534cb7a01acSMauro Carvalho Chehab 	 "Nominal PLL2 DTO"},
535cb7a01acSMauro Carvalho Chehab 	{R_F3_PLL_INCREMENT,1,
536cb7a01acSMauro Carvalho Chehab 	 "PLL2 Increment"},
537cb7a01acSMauro Carvalho Chehab 	{R_F4_PLL2_STATUS,1,
538cb7a01acSMauro Carvalho Chehab 	 "PLL2 Status"},
539cb7a01acSMauro Carvalho Chehab 	{R_F5_PULSGEN_LINE_LENGTH,1,
540cb7a01acSMauro Carvalho Chehab 	 "Pulsgen. line length"},
541cb7a01acSMauro Carvalho Chehab 	{R_F6_PULSE_A_POS_LSB_AND_PULSEGEN_CONFIG,1,
542cb7a01acSMauro Carvalho Chehab 	 "Pulse A Position, Pulsgen Resync., Pulsgen. H-Src., Pulsgen. line length"},
543cb7a01acSMauro Carvalho Chehab 	{R_F7_PULSE_A_POS_MSB,1,
544cb7a01acSMauro Carvalho Chehab 	 "Pulse A Position"},
545cb7a01acSMauro Carvalho Chehab 	{R_F8_PULSE_B_POS,2,
546cb7a01acSMauro Carvalho Chehab 	 "Pulse B Position"},
547cb7a01acSMauro Carvalho Chehab 	{R_FA_PULSE_C_POS,2,
548cb7a01acSMauro Carvalho Chehab 	 "Pulse C Position"},
549cb7a01acSMauro Carvalho Chehab 	/* 0xfc to 0xfe - Reserved */
550cb7a01acSMauro Carvalho Chehab 	{R_FF_S_PLL_MAX_PHASE_ERR_THRESH_NUM_LINES,1,
551cb7a01acSMauro Carvalho Chehab 	 "S_PLL max. phase, error threshold, PLL2 no. of lines, threshold"},
552cb7a01acSMauro Carvalho Chehab };
553cb7a01acSMauro Carvalho Chehab #endif
554