18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0+ */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * saa711x - Philips SAA711x video decoder register specifications
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright (c) 2006 Mauro Carvalho Chehab <mchehab@kernel.org>
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#define R_00_CHIP_VERSION                             0x00
98c2ecf20Sopenharmony_ci/* Video Decoder */
108c2ecf20Sopenharmony_ci	/* Video Decoder - Frontend part */
118c2ecf20Sopenharmony_ci#define R_01_INC_DELAY                                0x01
128c2ecf20Sopenharmony_ci#define R_02_INPUT_CNTL_1                             0x02
138c2ecf20Sopenharmony_ci#define R_03_INPUT_CNTL_2                             0x03
148c2ecf20Sopenharmony_ci#define R_04_INPUT_CNTL_3                             0x04
158c2ecf20Sopenharmony_ci#define R_05_INPUT_CNTL_4                             0x05
168c2ecf20Sopenharmony_ci	/* Video Decoder - Decoder part */
178c2ecf20Sopenharmony_ci#define R_06_H_SYNC_START                             0x06
188c2ecf20Sopenharmony_ci#define R_07_H_SYNC_STOP                              0x07
198c2ecf20Sopenharmony_ci#define R_08_SYNC_CNTL                                0x08
208c2ecf20Sopenharmony_ci#define R_09_LUMA_CNTL                                0x09
218c2ecf20Sopenharmony_ci#define R_0A_LUMA_BRIGHT_CNTL                         0x0a
228c2ecf20Sopenharmony_ci#define R_0B_LUMA_CONTRAST_CNTL                       0x0b
238c2ecf20Sopenharmony_ci#define R_0C_CHROMA_SAT_CNTL                          0x0c
248c2ecf20Sopenharmony_ci#define R_0D_CHROMA_HUE_CNTL                          0x0d
258c2ecf20Sopenharmony_ci#define R_0E_CHROMA_CNTL_1                            0x0e
268c2ecf20Sopenharmony_ci#define R_0F_CHROMA_GAIN_CNTL                         0x0f
278c2ecf20Sopenharmony_ci#define R_10_CHROMA_CNTL_2                            0x10
288c2ecf20Sopenharmony_ci#define R_11_MODE_DELAY_CNTL                          0x11
298c2ecf20Sopenharmony_ci#define R_12_RT_SIGNAL_CNTL                           0x12
308c2ecf20Sopenharmony_ci#define R_13_RT_X_PORT_OUT_CNTL                       0x13
318c2ecf20Sopenharmony_ci#define R_14_ANAL_ADC_COMPAT_CNTL                     0x14
328c2ecf20Sopenharmony_ci#define R_15_VGATE_START_FID_CHG                      0x15
338c2ecf20Sopenharmony_ci#define R_16_VGATE_STOP                               0x16
348c2ecf20Sopenharmony_ci#define R_17_MISC_VGATE_CONF_AND_MSB                  0x17
358c2ecf20Sopenharmony_ci#define R_18_RAW_DATA_GAIN_CNTL                       0x18
368c2ecf20Sopenharmony_ci#define R_19_RAW_DATA_OFF_CNTL                        0x19
378c2ecf20Sopenharmony_ci#define R_1A_COLOR_KILL_LVL_CNTL                      0x1a
388c2ecf20Sopenharmony_ci#define R_1B_MISC_TVVCRDET                            0x1b
398c2ecf20Sopenharmony_ci#define R_1C_ENHAN_COMB_CTRL1                         0x1c
408c2ecf20Sopenharmony_ci#define R_1D_ENHAN_COMB_CTRL2                         0x1d
418c2ecf20Sopenharmony_ci#define R_1E_STATUS_BYTE_1_VD_DEC                     0x1e
428c2ecf20Sopenharmony_ci#define R_1F_STATUS_BYTE_2_VD_DEC                     0x1f
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ci/* Component processing and interrupt masking part */
458c2ecf20Sopenharmony_ci#define R_23_INPUT_CNTL_5                             0x23
468c2ecf20Sopenharmony_ci#define R_24_INPUT_CNTL_6                             0x24
478c2ecf20Sopenharmony_ci#define R_25_INPUT_CNTL_7                             0x25
488c2ecf20Sopenharmony_ci#define R_29_COMP_DELAY                               0x29
498c2ecf20Sopenharmony_ci#define R_2A_COMP_BRIGHT_CNTL                         0x2a
508c2ecf20Sopenharmony_ci#define R_2B_COMP_CONTRAST_CNTL                       0x2b
518c2ecf20Sopenharmony_ci#define R_2C_COMP_SAT_CNTL                            0x2c
528c2ecf20Sopenharmony_ci#define R_2D_INTERRUPT_MASK_1                         0x2d
538c2ecf20Sopenharmony_ci#define R_2E_INTERRUPT_MASK_2                         0x2e
548c2ecf20Sopenharmony_ci#define R_2F_INTERRUPT_MASK_3                         0x2f
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ci/* Audio clock generator part */
578c2ecf20Sopenharmony_ci#define R_30_AUD_MAST_CLK_CYCLES_PER_FIELD            0x30
588c2ecf20Sopenharmony_ci#define R_34_AUD_MAST_CLK_NOMINAL_INC                 0x34
598c2ecf20Sopenharmony_ci#define R_38_CLK_RATIO_AMXCLK_TO_ASCLK                0x38
608c2ecf20Sopenharmony_ci#define R_39_CLK_RATIO_ASCLK_TO_ALRCLK                0x39
618c2ecf20Sopenharmony_ci#define R_3A_AUD_CLK_GEN_BASIC_SETUP                  0x3a
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ci/* General purpose VBI data slicer part */
648c2ecf20Sopenharmony_ci#define R_40_SLICER_CNTL_1                            0x40
658c2ecf20Sopenharmony_ci#define R_41_LCR_BASE                                 0x41
668c2ecf20Sopenharmony_ci#define R_58_PROGRAM_FRAMING_CODE                     0x58
678c2ecf20Sopenharmony_ci#define R_59_H_OFF_FOR_SLICER                         0x59
688c2ecf20Sopenharmony_ci#define R_5A_V_OFF_FOR_SLICER                         0x5a
698c2ecf20Sopenharmony_ci#define R_5B_FLD_OFF_AND_MSB_FOR_H_AND_V_OFF          0x5b
708c2ecf20Sopenharmony_ci#define R_5D_DID                                      0x5d
718c2ecf20Sopenharmony_ci#define R_5E_SDID                                     0x5e
728c2ecf20Sopenharmony_ci#define R_60_SLICER_STATUS_BYTE_0                     0x60
738c2ecf20Sopenharmony_ci#define R_61_SLICER_STATUS_BYTE_1                     0x61
748c2ecf20Sopenharmony_ci#define R_62_SLICER_STATUS_BYTE_2                     0x62
758c2ecf20Sopenharmony_ci
768c2ecf20Sopenharmony_ci/* X port, I port and the scaler part */
778c2ecf20Sopenharmony_ci	/* Task independent global settings */
788c2ecf20Sopenharmony_ci#define R_80_GLOBAL_CNTL_1                            0x80
798c2ecf20Sopenharmony_ci#define R_81_V_SYNC_FLD_ID_SRC_SEL_AND_RETIMED_V_F    0x81
808c2ecf20Sopenharmony_ci#define R_83_X_PORT_I_O_ENA_AND_OUT_CLK               0x83
818c2ecf20Sopenharmony_ci#define R_84_I_PORT_SIGNAL_DEF                        0x84
828c2ecf20Sopenharmony_ci#define R_85_I_PORT_SIGNAL_POLAR                      0x85
838c2ecf20Sopenharmony_ci#define R_86_I_PORT_FIFO_FLAG_CNTL_AND_ARBIT          0x86
848c2ecf20Sopenharmony_ci#define R_87_I_PORT_I_O_ENA_OUT_CLK_AND_GATED         0x87
858c2ecf20Sopenharmony_ci#define R_88_POWER_SAVE_ADC_PORT_CNTL                 0x88
868c2ecf20Sopenharmony_ci#define R_8F_STATUS_INFO_SCALER                       0x8f
878c2ecf20Sopenharmony_ci	/* Task A definition */
888c2ecf20Sopenharmony_ci		/* Basic settings and acquisition window definition */
898c2ecf20Sopenharmony_ci#define R_90_A_TASK_HANDLING_CNTL                     0x90
908c2ecf20Sopenharmony_ci#define R_91_A_X_PORT_FORMATS_AND_CONF                0x91
918c2ecf20Sopenharmony_ci#define R_92_A_X_PORT_INPUT_REFERENCE_SIGNAL          0x92
928c2ecf20Sopenharmony_ci#define R_93_A_I_PORT_OUTPUT_FORMATS_AND_CONF         0x93
938c2ecf20Sopenharmony_ci#define R_94_A_HORIZ_INPUT_WINDOW_START               0x94
948c2ecf20Sopenharmony_ci#define R_95_A_HORIZ_INPUT_WINDOW_START_MSB           0x95
958c2ecf20Sopenharmony_ci#define R_96_A_HORIZ_INPUT_WINDOW_LENGTH              0x96
968c2ecf20Sopenharmony_ci#define R_97_A_HORIZ_INPUT_WINDOW_LENGTH_MSB          0x97
978c2ecf20Sopenharmony_ci#define R_98_A_VERT_INPUT_WINDOW_START                0x98
988c2ecf20Sopenharmony_ci#define R_99_A_VERT_INPUT_WINDOW_START_MSB            0x99
998c2ecf20Sopenharmony_ci#define R_9A_A_VERT_INPUT_WINDOW_LENGTH               0x9a
1008c2ecf20Sopenharmony_ci#define R_9B_A_VERT_INPUT_WINDOW_LENGTH_MSB           0x9b
1018c2ecf20Sopenharmony_ci#define R_9C_A_HORIZ_OUTPUT_WINDOW_LENGTH             0x9c
1028c2ecf20Sopenharmony_ci#define R_9D_A_HORIZ_OUTPUT_WINDOW_LENGTH_MSB         0x9d
1038c2ecf20Sopenharmony_ci#define R_9E_A_VERT_OUTPUT_WINDOW_LENGTH              0x9e
1048c2ecf20Sopenharmony_ci#define R_9F_A_VERT_OUTPUT_WINDOW_LENGTH_MSB          0x9f
1058c2ecf20Sopenharmony_ci		/* FIR filtering and prescaling */
1068c2ecf20Sopenharmony_ci#define R_A0_A_HORIZ_PRESCALING                       0xa0
1078c2ecf20Sopenharmony_ci#define R_A1_A_ACCUMULATION_LENGTH                    0xa1
1088c2ecf20Sopenharmony_ci#define R_A2_A_PRESCALER_DC_GAIN_AND_FIR_PREFILTER    0xa2
1098c2ecf20Sopenharmony_ci#define R_A4_A_LUMA_BRIGHTNESS_CNTL                   0xa4
1108c2ecf20Sopenharmony_ci#define R_A5_A_LUMA_CONTRAST_CNTL                     0xa5
1118c2ecf20Sopenharmony_ci#define R_A6_A_CHROMA_SATURATION_CNTL                 0xa6
1128c2ecf20Sopenharmony_ci		/* Horizontal phase scaling */
1138c2ecf20Sopenharmony_ci#define R_A8_A_HORIZ_LUMA_SCALING_INC                 0xa8
1148c2ecf20Sopenharmony_ci#define R_A9_A_HORIZ_LUMA_SCALING_INC_MSB             0xa9
1158c2ecf20Sopenharmony_ci#define R_AA_A_HORIZ_LUMA_PHASE_OFF                   0xaa
1168c2ecf20Sopenharmony_ci#define R_AC_A_HORIZ_CHROMA_SCALING_INC               0xac
1178c2ecf20Sopenharmony_ci#define R_AD_A_HORIZ_CHROMA_SCALING_INC_MSB           0xad
1188c2ecf20Sopenharmony_ci#define R_AE_A_HORIZ_CHROMA_PHASE_OFF                 0xae
1198c2ecf20Sopenharmony_ci#define R_AF_A_HORIZ_CHROMA_PHASE_OFF_MSB             0xaf
1208c2ecf20Sopenharmony_ci		/* Vertical scaling */
1218c2ecf20Sopenharmony_ci#define R_B0_A_VERT_LUMA_SCALING_INC                  0xb0
1228c2ecf20Sopenharmony_ci#define R_B1_A_VERT_LUMA_SCALING_INC_MSB              0xb1
1238c2ecf20Sopenharmony_ci#define R_B2_A_VERT_CHROMA_SCALING_INC                0xb2
1248c2ecf20Sopenharmony_ci#define R_B3_A_VERT_CHROMA_SCALING_INC_MSB            0xb3
1258c2ecf20Sopenharmony_ci#define R_B4_A_VERT_SCALING_MODE_CNTL                 0xb4
1268c2ecf20Sopenharmony_ci#define R_B8_A_VERT_CHROMA_PHASE_OFF_00               0xb8
1278c2ecf20Sopenharmony_ci#define R_B9_A_VERT_CHROMA_PHASE_OFF_01               0xb9
1288c2ecf20Sopenharmony_ci#define R_BA_A_VERT_CHROMA_PHASE_OFF_10               0xba
1298c2ecf20Sopenharmony_ci#define R_BB_A_VERT_CHROMA_PHASE_OFF_11               0xbb
1308c2ecf20Sopenharmony_ci#define R_BC_A_VERT_LUMA_PHASE_OFF_00                 0xbc
1318c2ecf20Sopenharmony_ci#define R_BD_A_VERT_LUMA_PHASE_OFF_01                 0xbd
1328c2ecf20Sopenharmony_ci#define R_BE_A_VERT_LUMA_PHASE_OFF_10                 0xbe
1338c2ecf20Sopenharmony_ci#define R_BF_A_VERT_LUMA_PHASE_OFF_11                 0xbf
1348c2ecf20Sopenharmony_ci	/* Task B definition */
1358c2ecf20Sopenharmony_ci		/* Basic settings and acquisition window definition */
1368c2ecf20Sopenharmony_ci#define R_C0_B_TASK_HANDLING_CNTL                     0xc0
1378c2ecf20Sopenharmony_ci#define R_C1_B_X_PORT_FORMATS_AND_CONF                0xc1
1388c2ecf20Sopenharmony_ci#define R_C2_B_INPUT_REFERENCE_SIGNAL_DEFINITION      0xc2
1398c2ecf20Sopenharmony_ci#define R_C3_B_I_PORT_FORMATS_AND_CONF                0xc3
1408c2ecf20Sopenharmony_ci#define R_C4_B_HORIZ_INPUT_WINDOW_START               0xc4
1418c2ecf20Sopenharmony_ci#define R_C5_B_HORIZ_INPUT_WINDOW_START_MSB           0xc5
1428c2ecf20Sopenharmony_ci#define R_C6_B_HORIZ_INPUT_WINDOW_LENGTH              0xc6
1438c2ecf20Sopenharmony_ci#define R_C7_B_HORIZ_INPUT_WINDOW_LENGTH_MSB          0xc7
1448c2ecf20Sopenharmony_ci#define R_C8_B_VERT_INPUT_WINDOW_START                0xc8
1458c2ecf20Sopenharmony_ci#define R_C9_B_VERT_INPUT_WINDOW_START_MSB            0xc9
1468c2ecf20Sopenharmony_ci#define R_CA_B_VERT_INPUT_WINDOW_LENGTH               0xca
1478c2ecf20Sopenharmony_ci#define R_CB_B_VERT_INPUT_WINDOW_LENGTH_MSB           0xcb
1488c2ecf20Sopenharmony_ci#define R_CC_B_HORIZ_OUTPUT_WINDOW_LENGTH             0xcc
1498c2ecf20Sopenharmony_ci#define R_CD_B_HORIZ_OUTPUT_WINDOW_LENGTH_MSB         0xcd
1508c2ecf20Sopenharmony_ci#define R_CE_B_VERT_OUTPUT_WINDOW_LENGTH              0xce
1518c2ecf20Sopenharmony_ci#define R_CF_B_VERT_OUTPUT_WINDOW_LENGTH_MSB          0xcf
1528c2ecf20Sopenharmony_ci		/* FIR filtering and prescaling */
1538c2ecf20Sopenharmony_ci#define R_D0_B_HORIZ_PRESCALING                       0xd0
1548c2ecf20Sopenharmony_ci#define R_D1_B_ACCUMULATION_LENGTH                    0xd1
1558c2ecf20Sopenharmony_ci#define R_D2_B_PRESCALER_DC_GAIN_AND_FIR_PREFILTER    0xd2
1568c2ecf20Sopenharmony_ci#define R_D4_B_LUMA_BRIGHTNESS_CNTL                   0xd4
1578c2ecf20Sopenharmony_ci#define R_D5_B_LUMA_CONTRAST_CNTL                     0xd5
1588c2ecf20Sopenharmony_ci#define R_D6_B_CHROMA_SATURATION_CNTL                 0xd6
1598c2ecf20Sopenharmony_ci		/* Horizontal phase scaling */
1608c2ecf20Sopenharmony_ci#define R_D8_B_HORIZ_LUMA_SCALING_INC                 0xd8
1618c2ecf20Sopenharmony_ci#define R_D9_B_HORIZ_LUMA_SCALING_INC_MSB             0xd9
1628c2ecf20Sopenharmony_ci#define R_DA_B_HORIZ_LUMA_PHASE_OFF                   0xda
1638c2ecf20Sopenharmony_ci#define R_DC_B_HORIZ_CHROMA_SCALING                   0xdc
1648c2ecf20Sopenharmony_ci#define R_DD_B_HORIZ_CHROMA_SCALING_MSB               0xdd
1658c2ecf20Sopenharmony_ci#define R_DE_B_HORIZ_PHASE_OFFSET_CRHOMA              0xde
1668c2ecf20Sopenharmony_ci		/* Vertical scaling */
1678c2ecf20Sopenharmony_ci#define R_E0_B_VERT_LUMA_SCALING_INC                  0xe0
1688c2ecf20Sopenharmony_ci#define R_E1_B_VERT_LUMA_SCALING_INC_MSB              0xe1
1698c2ecf20Sopenharmony_ci#define R_E2_B_VERT_CHROMA_SCALING_INC                0xe2
1708c2ecf20Sopenharmony_ci#define R_E3_B_VERT_CHROMA_SCALING_INC_MSB            0xe3
1718c2ecf20Sopenharmony_ci#define R_E4_B_VERT_SCALING_MODE_CNTL                 0xe4
1728c2ecf20Sopenharmony_ci#define R_E8_B_VERT_CHROMA_PHASE_OFF_00               0xe8
1738c2ecf20Sopenharmony_ci#define R_E9_B_VERT_CHROMA_PHASE_OFF_01               0xe9
1748c2ecf20Sopenharmony_ci#define R_EA_B_VERT_CHROMA_PHASE_OFF_10               0xea
1758c2ecf20Sopenharmony_ci#define R_EB_B_VERT_CHROMA_PHASE_OFF_11               0xeb
1768c2ecf20Sopenharmony_ci#define R_EC_B_VERT_LUMA_PHASE_OFF_00                 0xec
1778c2ecf20Sopenharmony_ci#define R_ED_B_VERT_LUMA_PHASE_OFF_01                 0xed
1788c2ecf20Sopenharmony_ci#define R_EE_B_VERT_LUMA_PHASE_OFF_10                 0xee
1798c2ecf20Sopenharmony_ci#define R_EF_B_VERT_LUMA_PHASE_OFF_11                 0xef
1808c2ecf20Sopenharmony_ci
1818c2ecf20Sopenharmony_ci/* second PLL (PLL2) and Pulsegenerator Programming */
1828c2ecf20Sopenharmony_ci#define R_F0_LFCO_PER_LINE                            0xf0
1838c2ecf20Sopenharmony_ci#define R_F1_P_I_PARAM_SELECT                         0xf1
1848c2ecf20Sopenharmony_ci#define R_F2_NOMINAL_PLL2_DTO                         0xf2
1858c2ecf20Sopenharmony_ci#define R_F3_PLL_INCREMENT                            0xf3
1868c2ecf20Sopenharmony_ci#define R_F4_PLL2_STATUS                              0xf4
1878c2ecf20Sopenharmony_ci#define R_F5_PULSGEN_LINE_LENGTH                      0xf5
1888c2ecf20Sopenharmony_ci#define R_F6_PULSE_A_POS_LSB_AND_PULSEGEN_CONFIG      0xf6
1898c2ecf20Sopenharmony_ci#define R_F7_PULSE_A_POS_MSB                          0xf7
1908c2ecf20Sopenharmony_ci#define R_F8_PULSE_B_POS                              0xf8
1918c2ecf20Sopenharmony_ci#define R_F9_PULSE_B_POS_MSB                          0xf9
1928c2ecf20Sopenharmony_ci#define R_FA_PULSE_C_POS                              0xfa
1938c2ecf20Sopenharmony_ci#define R_FB_PULSE_C_POS_MSB                          0xfb
1948c2ecf20Sopenharmony_ci#define R_FF_S_PLL_MAX_PHASE_ERR_THRESH_NUM_LINES     0xff
1958c2ecf20Sopenharmony_ci
1968c2ecf20Sopenharmony_ci/* SAA7113 bit-masks */
1978c2ecf20Sopenharmony_ci#define SAA7113_R_08_HTC_OFFSET 3
1988c2ecf20Sopenharmony_ci#define SAA7113_R_08_HTC_MASK (0x3 << SAA7113_R_08_HTC_OFFSET)
1998c2ecf20Sopenharmony_ci#define SAA7113_R_08_FSEL 0x40
2008c2ecf20Sopenharmony_ci#define SAA7113_R_08_AUFD 0x80
2018c2ecf20Sopenharmony_ci
2028c2ecf20Sopenharmony_ci#define SAA7113_R_10_VRLN_OFFSET 3
2038c2ecf20Sopenharmony_ci#define SAA7113_R_10_VRLN_MASK (0x1 << SAA7113_R_10_VRLN_OFFSET)
2048c2ecf20Sopenharmony_ci#define SAA7113_R_10_OFTS_OFFSET 6
2058c2ecf20Sopenharmony_ci#define SAA7113_R_10_OFTS_MASK (0x3 << SAA7113_R_10_OFTS_OFFSET)
2068c2ecf20Sopenharmony_ci
2078c2ecf20Sopenharmony_ci#define SAA7113_R_12_RTS0_OFFSET 0
2088c2ecf20Sopenharmony_ci#define SAA7113_R_12_RTS0_MASK (0xf << SAA7113_R_12_RTS0_OFFSET)
2098c2ecf20Sopenharmony_ci#define SAA7113_R_12_RTS1_OFFSET 4
2108c2ecf20Sopenharmony_ci#define SAA7113_R_12_RTS1_MASK (0xf << SAA7113_R_12_RTS1_OFFSET)
2118c2ecf20Sopenharmony_ci
2128c2ecf20Sopenharmony_ci#define SAA7113_R_13_ADLSB_OFFSET 7
2138c2ecf20Sopenharmony_ci#define SAA7113_R_13_ADLSB_MASK (0x1 << SAA7113_R_13_ADLSB_OFFSET)
2148c2ecf20Sopenharmony_ci
2158c2ecf20Sopenharmony_ci#if 0
2168c2ecf20Sopenharmony_ci/* Those structs will be used in the future for debug purposes */
2178c2ecf20Sopenharmony_cistruct saa711x_reg_descr {
2188c2ecf20Sopenharmony_ci	u8 reg;
2198c2ecf20Sopenharmony_ci	int count;
2208c2ecf20Sopenharmony_ci	char *name;
2218c2ecf20Sopenharmony_ci};
2228c2ecf20Sopenharmony_ci
2238c2ecf20Sopenharmony_cistruct saa711x_reg_descr saa711x_regs[] = {
2248c2ecf20Sopenharmony_ci	/* REG COUNT NAME */
2258c2ecf20Sopenharmony_ci	{R_00_CHIP_VERSION,1,
2268c2ecf20Sopenharmony_ci	 "Chip version"},
2278c2ecf20Sopenharmony_ci
2288c2ecf20Sopenharmony_ci	/* Video Decoder: R_01_INC_DELAY to R_1F_STATUS_BYTE_2_VD_DEC */
2298c2ecf20Sopenharmony_ci
2308c2ecf20Sopenharmony_ci	/* Video Decoder - Frontend part: R_01_INC_DELAY to R_05_INPUT_CNTL_4 */
2318c2ecf20Sopenharmony_ci	{R_01_INC_DELAY,1,
2328c2ecf20Sopenharmony_ci	 "Increment delay"},
2338c2ecf20Sopenharmony_ci	{R_02_INPUT_CNTL_1,1,
2348c2ecf20Sopenharmony_ci	 "Analog input control 1"},
2358c2ecf20Sopenharmony_ci	{R_03_INPUT_CNTL_2,1,
2368c2ecf20Sopenharmony_ci	 "Analog input control 2"},
2378c2ecf20Sopenharmony_ci	{R_04_INPUT_CNTL_3,1,
2388c2ecf20Sopenharmony_ci	 "Analog input control 3"},
2398c2ecf20Sopenharmony_ci	{R_05_INPUT_CNTL_4,1,
2408c2ecf20Sopenharmony_ci	 "Analog input control 4"},
2418c2ecf20Sopenharmony_ci
2428c2ecf20Sopenharmony_ci	/* Video Decoder - Decoder part: R_06_H_SYNC_START to R_1F_STATUS_BYTE_2_VD_DEC */
2438c2ecf20Sopenharmony_ci	{R_06_H_SYNC_START,1,
2448c2ecf20Sopenharmony_ci	 "Horizontal sync start"},
2458c2ecf20Sopenharmony_ci	{R_07_H_SYNC_STOP,1,
2468c2ecf20Sopenharmony_ci	 "Horizontal sync stop"},
2478c2ecf20Sopenharmony_ci	{R_08_SYNC_CNTL,1,
2488c2ecf20Sopenharmony_ci	 "Sync control"},
2498c2ecf20Sopenharmony_ci	{R_09_LUMA_CNTL,1,
2508c2ecf20Sopenharmony_ci	 "Luminance control"},
2518c2ecf20Sopenharmony_ci	{R_0A_LUMA_BRIGHT_CNTL,1,
2528c2ecf20Sopenharmony_ci	 "Luminance brightness control"},
2538c2ecf20Sopenharmony_ci	{R_0B_LUMA_CONTRAST_CNTL,1,
2548c2ecf20Sopenharmony_ci	 "Luminance contrast control"},
2558c2ecf20Sopenharmony_ci	{R_0C_CHROMA_SAT_CNTL,1,
2568c2ecf20Sopenharmony_ci	 "Chrominance saturation control"},
2578c2ecf20Sopenharmony_ci	{R_0D_CHROMA_HUE_CNTL,1,
2588c2ecf20Sopenharmony_ci	 "Chrominance hue control"},
2598c2ecf20Sopenharmony_ci	{R_0E_CHROMA_CNTL_1,1,
2608c2ecf20Sopenharmony_ci	 "Chrominance control 1"},
2618c2ecf20Sopenharmony_ci	{R_0F_CHROMA_GAIN_CNTL,1,
2628c2ecf20Sopenharmony_ci	 "Chrominance gain control"},
2638c2ecf20Sopenharmony_ci	{R_10_CHROMA_CNTL_2,1,
2648c2ecf20Sopenharmony_ci	 "Chrominance control 2"},
2658c2ecf20Sopenharmony_ci	{R_11_MODE_DELAY_CNTL,1,
2668c2ecf20Sopenharmony_ci	 "Mode/delay control"},
2678c2ecf20Sopenharmony_ci	{R_12_RT_SIGNAL_CNTL,1,
2688c2ecf20Sopenharmony_ci	 "RT signal control"},
2698c2ecf20Sopenharmony_ci	{R_13_RT_X_PORT_OUT_CNTL,1,
2708c2ecf20Sopenharmony_ci	 "RT/X port output control"},
2718c2ecf20Sopenharmony_ci	{R_14_ANAL_ADC_COMPAT_CNTL,1,
2728c2ecf20Sopenharmony_ci	 "Analog/ADC/compatibility control"},
2738c2ecf20Sopenharmony_ci	{R_15_VGATE_START_FID_CHG,  1,
2748c2ecf20Sopenharmony_ci	 "VGATE start FID change"},
2758c2ecf20Sopenharmony_ci	{R_16_VGATE_STOP,1,
2768c2ecf20Sopenharmony_ci	 "VGATE stop"},
2778c2ecf20Sopenharmony_ci	{R_17_MISC_VGATE_CONF_AND_MSB,  1,
2788c2ecf20Sopenharmony_ci	 "Miscellaneous VGATE configuration and MSBs"},
2798c2ecf20Sopenharmony_ci	{R_18_RAW_DATA_GAIN_CNTL,1,
2808c2ecf20Sopenharmony_ci	 "Raw data gain control",},
2818c2ecf20Sopenharmony_ci	{R_19_RAW_DATA_OFF_CNTL,1,
2828c2ecf20Sopenharmony_ci	 "Raw data offset control",},
2838c2ecf20Sopenharmony_ci	{R_1A_COLOR_KILL_LVL_CNTL,1,
2848c2ecf20Sopenharmony_ci	 "Color Killer Level Control"},
2858c2ecf20Sopenharmony_ci	{ R_1B_MISC_TVVCRDET, 1,
2868c2ecf20Sopenharmony_ci	  "MISC /TVVCRDET"},
2878c2ecf20Sopenharmony_ci	{ R_1C_ENHAN_COMB_CTRL1, 1,
2888c2ecf20Sopenharmony_ci	 "Enhanced comb ctrl1"},
2898c2ecf20Sopenharmony_ci	{ R_1D_ENHAN_COMB_CTRL2, 1,
2908c2ecf20Sopenharmony_ci	 "Enhanced comb ctrl1"},
2918c2ecf20Sopenharmony_ci	{R_1E_STATUS_BYTE_1_VD_DEC,1,
2928c2ecf20Sopenharmony_ci	 "Status byte 1 video decoder"},
2938c2ecf20Sopenharmony_ci	{R_1F_STATUS_BYTE_2_VD_DEC,1,
2948c2ecf20Sopenharmony_ci	 "Status byte 2 video decoder"},
2958c2ecf20Sopenharmony_ci
2968c2ecf20Sopenharmony_ci	/* Component processing and interrupt masking part:  0x20h to R_2F_INTERRUPT_MASK_3 */
2978c2ecf20Sopenharmony_ci	/* 0x20 to 0x22 - Reserved */
2988c2ecf20Sopenharmony_ci	{R_23_INPUT_CNTL_5,1,
2998c2ecf20Sopenharmony_ci	 "Analog input control 5"},
3008c2ecf20Sopenharmony_ci	{R_24_INPUT_CNTL_6,1,
3018c2ecf20Sopenharmony_ci	 "Analog input control 6"},
3028c2ecf20Sopenharmony_ci	{R_25_INPUT_CNTL_7,1,
3038c2ecf20Sopenharmony_ci	 "Analog input control 7"},
3048c2ecf20Sopenharmony_ci	/* 0x26 to 0x28 - Reserved */
3058c2ecf20Sopenharmony_ci	{R_29_COMP_DELAY,1,
3068c2ecf20Sopenharmony_ci	 "Component delay"},
3078c2ecf20Sopenharmony_ci	{R_2A_COMP_BRIGHT_CNTL,1,
3088c2ecf20Sopenharmony_ci	 "Component brightness control"},
3098c2ecf20Sopenharmony_ci	{R_2B_COMP_CONTRAST_CNTL,1,
3108c2ecf20Sopenharmony_ci	 "Component contrast control"},
3118c2ecf20Sopenharmony_ci	{R_2C_COMP_SAT_CNTL,1,
3128c2ecf20Sopenharmony_ci	 "Component saturation control"},
3138c2ecf20Sopenharmony_ci	{R_2D_INTERRUPT_MASK_1,1,
3148c2ecf20Sopenharmony_ci	 "Interrupt mask 1"},
3158c2ecf20Sopenharmony_ci	{R_2E_INTERRUPT_MASK_2,1,
3168c2ecf20Sopenharmony_ci	 "Interrupt mask 2"},
3178c2ecf20Sopenharmony_ci	{R_2F_INTERRUPT_MASK_3,1,
3188c2ecf20Sopenharmony_ci	 "Interrupt mask 3"},
3198c2ecf20Sopenharmony_ci
3208c2ecf20Sopenharmony_ci	/* Audio clock generator part: R_30_AUD_MAST_CLK_CYCLES_PER_FIELD to 0x3f */
3218c2ecf20Sopenharmony_ci	{R_30_AUD_MAST_CLK_CYCLES_PER_FIELD,3,
3228c2ecf20Sopenharmony_ci	 "Audio master clock cycles per field"},
3238c2ecf20Sopenharmony_ci	/* 0x33 - Reserved */
3248c2ecf20Sopenharmony_ci	{R_34_AUD_MAST_CLK_NOMINAL_INC,3,
3258c2ecf20Sopenharmony_ci	 "Audio master clock nominal increment"},
3268c2ecf20Sopenharmony_ci	/* 0x37 - Reserved */
3278c2ecf20Sopenharmony_ci	{R_38_CLK_RATIO_AMXCLK_TO_ASCLK,1,
3288c2ecf20Sopenharmony_ci	 "Clock ratio AMXCLK to ASCLK"},
3298c2ecf20Sopenharmony_ci	{R_39_CLK_RATIO_ASCLK_TO_ALRCLK,1,
3308c2ecf20Sopenharmony_ci	 "Clock ratio ASCLK to ALRCLK"},
3318c2ecf20Sopenharmony_ci	{R_3A_AUD_CLK_GEN_BASIC_SETUP,1,
3328c2ecf20Sopenharmony_ci	 "Audio clock generator basic setup"},
3338c2ecf20Sopenharmony_ci	/* 0x3b-0x3f - Reserved */
3348c2ecf20Sopenharmony_ci
3358c2ecf20Sopenharmony_ci	/* General purpose VBI data slicer part: R_40_SLICER_CNTL_1 to 0x7f */
3368c2ecf20Sopenharmony_ci	{R_40_SLICER_CNTL_1,1,
3378c2ecf20Sopenharmony_ci	 "Slicer control 1"},
3388c2ecf20Sopenharmony_ci	{R_41_LCR,23,
3398c2ecf20Sopenharmony_ci	 "R_41_LCR"},
3408c2ecf20Sopenharmony_ci	{R_58_PROGRAM_FRAMING_CODE,1,
3418c2ecf20Sopenharmony_ci	 "Programmable framing code"},
3428c2ecf20Sopenharmony_ci	{R_59_H_OFF_FOR_SLICER,1,
3438c2ecf20Sopenharmony_ci	 "Horizontal offset for slicer"},
3448c2ecf20Sopenharmony_ci	{R_5A_V_OFF_FOR_SLICER,1,
3458c2ecf20Sopenharmony_ci	 "Vertical offset for slicer"},
3468c2ecf20Sopenharmony_ci	{R_5B_FLD_OFF_AND_MSB_FOR_H_AND_V_OFF,1,
3478c2ecf20Sopenharmony_ci	 "Field offset and MSBs for horizontal and vertical offset"},
3488c2ecf20Sopenharmony_ci	{R_5D_DID,1,
3498c2ecf20Sopenharmony_ci	 "Header and data identification (R_5D_DID)"},
3508c2ecf20Sopenharmony_ci	{R_5E_SDID,1,
3518c2ecf20Sopenharmony_ci	 "Sliced data identification (R_5E_SDID) code"},
3528c2ecf20Sopenharmony_ci	{R_60_SLICER_STATUS_BYTE_0,1,
3538c2ecf20Sopenharmony_ci	 "Slicer status byte 0"},
3548c2ecf20Sopenharmony_ci	{R_61_SLICER_STATUS_BYTE_1,1,
3558c2ecf20Sopenharmony_ci	 "Slicer status byte 1"},
3568c2ecf20Sopenharmony_ci	{R_62_SLICER_STATUS_BYTE_2,1,
3578c2ecf20Sopenharmony_ci	 "Slicer status byte 2"},
3588c2ecf20Sopenharmony_ci	/* 0x63-0x7f - Reserved */
3598c2ecf20Sopenharmony_ci
3608c2ecf20Sopenharmony_ci	/* X port, I port and the scaler part: R_80_GLOBAL_CNTL_1 to R_EF_B_VERT_LUMA_PHASE_OFF_11 */
3618c2ecf20Sopenharmony_ci	/* Task independent global settings: R_80_GLOBAL_CNTL_1 to R_8F_STATUS_INFO_SCALER */
3628c2ecf20Sopenharmony_ci	{R_80_GLOBAL_CNTL_1,1,
3638c2ecf20Sopenharmony_ci	 "Global control 1"},
3648c2ecf20Sopenharmony_ci	{R_81_V_SYNC_FLD_ID_SRC_SEL_AND_RETIMED_V_F,1,
3658c2ecf20Sopenharmony_ci	 "Vertical sync and Field ID source selection, retimed V and F signals"},
3668c2ecf20Sopenharmony_ci	/* 0x82 - Reserved */
3678c2ecf20Sopenharmony_ci	{R_83_X_PORT_I_O_ENA_AND_OUT_CLK,1,
3688c2ecf20Sopenharmony_ci	 "X port I/O enable and output clock"},
3698c2ecf20Sopenharmony_ci	{R_84_I_PORT_SIGNAL_DEF,1,
3708c2ecf20Sopenharmony_ci	 "I port signal definitions"},
3718c2ecf20Sopenharmony_ci	{R_85_I_PORT_SIGNAL_POLAR,1,
3728c2ecf20Sopenharmony_ci	 "I port signal polarities"},
3738c2ecf20Sopenharmony_ci	{R_86_I_PORT_FIFO_FLAG_CNTL_AND_ARBIT,1,
3748c2ecf20Sopenharmony_ci	 "I port FIFO flag control and arbitration"},
3758c2ecf20Sopenharmony_ci	{R_87_I_PORT_I_O_ENA_OUT_CLK_AND_GATED,  1,
3768c2ecf20Sopenharmony_ci	 "I port I/O enable output clock and gated"},
3778c2ecf20Sopenharmony_ci	{R_88_POWER_SAVE_ADC_PORT_CNTL,1,
3788c2ecf20Sopenharmony_ci	 "Power save/ADC port control"},
3798c2ecf20Sopenharmony_ci	/* 089-0x8e - Reserved */
3808c2ecf20Sopenharmony_ci	{R_8F_STATUS_INFO_SCALER,1,
3818c2ecf20Sopenharmony_ci	 "Status information scaler part"},
3828c2ecf20Sopenharmony_ci
3838c2ecf20Sopenharmony_ci	/* Task A definition: R_90_A_TASK_HANDLING_CNTL to R_BF_A_VERT_LUMA_PHASE_OFF_11 */
3848c2ecf20Sopenharmony_ci	/* Task A: Basic settings and acquisition window definition */
3858c2ecf20Sopenharmony_ci	{R_90_A_TASK_HANDLING_CNTL,1,
3868c2ecf20Sopenharmony_ci	 "Task A: Task handling control"},
3878c2ecf20Sopenharmony_ci	{R_91_A_X_PORT_FORMATS_AND_CONF,1,
3888c2ecf20Sopenharmony_ci	 "Task A: X port formats and configuration"},
3898c2ecf20Sopenharmony_ci	{R_92_A_X_PORT_INPUT_REFERENCE_SIGNAL,1,
3908c2ecf20Sopenharmony_ci	 "Task A: X port input reference signal definition"},
3918c2ecf20Sopenharmony_ci	{R_93_A_I_PORT_OUTPUT_FORMATS_AND_CONF,1,
3928c2ecf20Sopenharmony_ci	 "Task A: I port output formats and configuration"},
3938c2ecf20Sopenharmony_ci	{R_94_A_HORIZ_INPUT_WINDOW_START,2,
3948c2ecf20Sopenharmony_ci	 "Task A: Horizontal input window start"},
3958c2ecf20Sopenharmony_ci	{R_96_A_HORIZ_INPUT_WINDOW_LENGTH,2,
3968c2ecf20Sopenharmony_ci	 "Task A: Horizontal input window length"},
3978c2ecf20Sopenharmony_ci	{R_98_A_VERT_INPUT_WINDOW_START,2,
3988c2ecf20Sopenharmony_ci	 "Task A: Vertical input window start"},
3998c2ecf20Sopenharmony_ci	{R_9A_A_VERT_INPUT_WINDOW_LENGTH,2,
4008c2ecf20Sopenharmony_ci	 "Task A: Vertical input window length"},
4018c2ecf20Sopenharmony_ci	{R_9C_A_HORIZ_OUTPUT_WINDOW_LENGTH,2,
4028c2ecf20Sopenharmony_ci	 "Task A: Horizontal output window length"},
4038c2ecf20Sopenharmony_ci	{R_9E_A_VERT_OUTPUT_WINDOW_LENGTH,2,
4048c2ecf20Sopenharmony_ci	 "Task A: Vertical output window length"},
4058c2ecf20Sopenharmony_ci
4068c2ecf20Sopenharmony_ci	/* Task A: FIR filtering and prescaling */
4078c2ecf20Sopenharmony_ci	{R_A0_A_HORIZ_PRESCALING,1,
4088c2ecf20Sopenharmony_ci	 "Task A: Horizontal prescaling"},
4098c2ecf20Sopenharmony_ci	{R_A1_A_ACCUMULATION_LENGTH,1,
4108c2ecf20Sopenharmony_ci	 "Task A: Accumulation length"},
4118c2ecf20Sopenharmony_ci	{R_A2_A_PRESCALER_DC_GAIN_AND_FIR_PREFILTER,1,
4128c2ecf20Sopenharmony_ci	 "Task A: Prescaler DC gain and FIR prefilter"},
4138c2ecf20Sopenharmony_ci	/* 0xa3 - Reserved */
4148c2ecf20Sopenharmony_ci	{R_A4_A_LUMA_BRIGHTNESS_CNTL,1,
4158c2ecf20Sopenharmony_ci	 "Task A: Luminance brightness control"},
4168c2ecf20Sopenharmony_ci	{R_A5_A_LUMA_CONTRAST_CNTL,1,
4178c2ecf20Sopenharmony_ci	 "Task A: Luminance contrast control"},
4188c2ecf20Sopenharmony_ci	{R_A6_A_CHROMA_SATURATION_CNTL,1,
4198c2ecf20Sopenharmony_ci	 "Task A: Chrominance saturation control"},
4208c2ecf20Sopenharmony_ci	/* 0xa7 - Reserved */
4218c2ecf20Sopenharmony_ci
4228c2ecf20Sopenharmony_ci	/* Task A: Horizontal phase scaling */
4238c2ecf20Sopenharmony_ci	{R_A8_A_HORIZ_LUMA_SCALING_INC,2,
4248c2ecf20Sopenharmony_ci	 "Task A: Horizontal luminance scaling increment"},
4258c2ecf20Sopenharmony_ci	{R_AA_A_HORIZ_LUMA_PHASE_OFF,1,
4268c2ecf20Sopenharmony_ci	 "Task A: Horizontal luminance phase offset"},
4278c2ecf20Sopenharmony_ci	/* 0xab - Reserved */
4288c2ecf20Sopenharmony_ci	{R_AC_A_HORIZ_CHROMA_SCALING_INC,2,
4298c2ecf20Sopenharmony_ci	 "Task A: Horizontal chrominance scaling increment"},
4308c2ecf20Sopenharmony_ci	{R_AE_A_HORIZ_CHROMA_PHASE_OFF,1,
4318c2ecf20Sopenharmony_ci	 "Task A: Horizontal chrominance phase offset"},
4328c2ecf20Sopenharmony_ci	/* 0xaf - Reserved */
4338c2ecf20Sopenharmony_ci
4348c2ecf20Sopenharmony_ci	/* Task A: Vertical scaling */
4358c2ecf20Sopenharmony_ci	{R_B0_A_VERT_LUMA_SCALING_INC,2,
4368c2ecf20Sopenharmony_ci	 "Task A: Vertical luminance scaling increment"},
4378c2ecf20Sopenharmony_ci	{R_B2_A_VERT_CHROMA_SCALING_INC,2,
4388c2ecf20Sopenharmony_ci	 "Task A: Vertical chrominance scaling increment"},
4398c2ecf20Sopenharmony_ci	{R_B4_A_VERT_SCALING_MODE_CNTL,1,
4408c2ecf20Sopenharmony_ci	 "Task A: Vertical scaling mode control"},
4418c2ecf20Sopenharmony_ci	/* 0xb5-0xb7 - Reserved */
4428c2ecf20Sopenharmony_ci	{R_B8_A_VERT_CHROMA_PHASE_OFF_00,1,
4438c2ecf20Sopenharmony_ci	 "Task A: Vertical chrominance phase offset '00'"},
4448c2ecf20Sopenharmony_ci	{R_B9_A_VERT_CHROMA_PHASE_OFF_01,1,
4458c2ecf20Sopenharmony_ci	 "Task A: Vertical chrominance phase offset '01'"},
4468c2ecf20Sopenharmony_ci	{R_BA_A_VERT_CHROMA_PHASE_OFF_10,1,
4478c2ecf20Sopenharmony_ci	 "Task A: Vertical chrominance phase offset '10'"},
4488c2ecf20Sopenharmony_ci	{R_BB_A_VERT_CHROMA_PHASE_OFF_11,1,
4498c2ecf20Sopenharmony_ci	 "Task A: Vertical chrominance phase offset '11'"},
4508c2ecf20Sopenharmony_ci	{R_BC_A_VERT_LUMA_PHASE_OFF_00,1,
4518c2ecf20Sopenharmony_ci	 "Task A: Vertical luminance phase offset '00'"},
4528c2ecf20Sopenharmony_ci	{R_BD_A_VERT_LUMA_PHASE_OFF_01,1,
4538c2ecf20Sopenharmony_ci	 "Task A: Vertical luminance phase offset '01'"},
4548c2ecf20Sopenharmony_ci	{R_BE_A_VERT_LUMA_PHASE_OFF_10,1,
4558c2ecf20Sopenharmony_ci	 "Task A: Vertical luminance phase offset '10'"},
4568c2ecf20Sopenharmony_ci	{R_BF_A_VERT_LUMA_PHASE_OFF_11,1,
4578c2ecf20Sopenharmony_ci	 "Task A: Vertical luminance phase offset '11'"},
4588c2ecf20Sopenharmony_ci
4598c2ecf20Sopenharmony_ci	/* Task B definition: R_C0_B_TASK_HANDLING_CNTL to R_EF_B_VERT_LUMA_PHASE_OFF_11 */
4608c2ecf20Sopenharmony_ci	/* Task B: Basic settings and acquisition window definition */
4618c2ecf20Sopenharmony_ci	{R_C0_B_TASK_HANDLING_CNTL,1,
4628c2ecf20Sopenharmony_ci	 "Task B: Task handling control"},
4638c2ecf20Sopenharmony_ci	{R_C1_B_X_PORT_FORMATS_AND_CONF,1,
4648c2ecf20Sopenharmony_ci	 "Task B: X port formats and configuration"},
4658c2ecf20Sopenharmony_ci	{R_C2_B_INPUT_REFERENCE_SIGNAL_DEFINITION,1,
4668c2ecf20Sopenharmony_ci	 "Task B: Input reference signal definition"},
4678c2ecf20Sopenharmony_ci	{R_C3_B_I_PORT_FORMATS_AND_CONF,1,
4688c2ecf20Sopenharmony_ci	 "Task B: I port formats and configuration"},
4698c2ecf20Sopenharmony_ci	{R_C4_B_HORIZ_INPUT_WINDOW_START,2,
4708c2ecf20Sopenharmony_ci	 "Task B: Horizontal input window start"},
4718c2ecf20Sopenharmony_ci	{R_C6_B_HORIZ_INPUT_WINDOW_LENGTH,2,
4728c2ecf20Sopenharmony_ci	 "Task B: Horizontal input window length"},
4738c2ecf20Sopenharmony_ci	{R_C8_B_VERT_INPUT_WINDOW_START,2,
4748c2ecf20Sopenharmony_ci	 "Task B: Vertical input window start"},
4758c2ecf20Sopenharmony_ci	{R_CA_B_VERT_INPUT_WINDOW_LENGTH,2,
4768c2ecf20Sopenharmony_ci	 "Task B: Vertical input window length"},
4778c2ecf20Sopenharmony_ci	{R_CC_B_HORIZ_OUTPUT_WINDOW_LENGTH,2,
4788c2ecf20Sopenharmony_ci	 "Task B: Horizontal output window length"},
4798c2ecf20Sopenharmony_ci	{R_CE_B_VERT_OUTPUT_WINDOW_LENGTH,2,
4808c2ecf20Sopenharmony_ci	 "Task B: Vertical output window length"},
4818c2ecf20Sopenharmony_ci
4828c2ecf20Sopenharmony_ci	/* Task B: FIR filtering and prescaling */
4838c2ecf20Sopenharmony_ci	{R_D0_B_HORIZ_PRESCALING,1,
4848c2ecf20Sopenharmony_ci	 "Task B: Horizontal prescaling"},
4858c2ecf20Sopenharmony_ci	{R_D1_B_ACCUMULATION_LENGTH,1,
4868c2ecf20Sopenharmony_ci	 "Task B: Accumulation length"},
4878c2ecf20Sopenharmony_ci	{R_D2_B_PRESCALER_DC_GAIN_AND_FIR_PREFILTER,1,
4888c2ecf20Sopenharmony_ci	 "Task B: Prescaler DC gain and FIR prefilter"},
4898c2ecf20Sopenharmony_ci	/* 0xd3 - Reserved */
4908c2ecf20Sopenharmony_ci	{R_D4_B_LUMA_BRIGHTNESS_CNTL,1,
4918c2ecf20Sopenharmony_ci	 "Task B: Luminance brightness control"},
4928c2ecf20Sopenharmony_ci	{R_D5_B_LUMA_CONTRAST_CNTL,1,
4938c2ecf20Sopenharmony_ci	 "Task B: Luminance contrast control"},
4948c2ecf20Sopenharmony_ci	{R_D6_B_CHROMA_SATURATION_CNTL,1,
4958c2ecf20Sopenharmony_ci	 "Task B: Chrominance saturation control"},
4968c2ecf20Sopenharmony_ci	/* 0xd7 - Reserved */
4978c2ecf20Sopenharmony_ci
4988c2ecf20Sopenharmony_ci	/* Task B: Horizontal phase scaling */
4998c2ecf20Sopenharmony_ci	{R_D8_B_HORIZ_LUMA_SCALING_INC,2,
5008c2ecf20Sopenharmony_ci	 "Task B: Horizontal luminance scaling increment"},
5018c2ecf20Sopenharmony_ci	{R_DA_B_HORIZ_LUMA_PHASE_OFF,1,
5028c2ecf20Sopenharmony_ci	 "Task B: Horizontal luminance phase offset"},
5038c2ecf20Sopenharmony_ci	/* 0xdb - Reserved */
5048c2ecf20Sopenharmony_ci	{R_DC_B_HORIZ_CHROMA_SCALING,2,
5058c2ecf20Sopenharmony_ci	 "Task B: Horizontal chrominance scaling"},
5068c2ecf20Sopenharmony_ci	{R_DE_B_HORIZ_PHASE_OFFSET_CRHOMA,1,
5078c2ecf20Sopenharmony_ci	 "Task B: Horizontal Phase Offset Chroma"},
5088c2ecf20Sopenharmony_ci	/* 0xdf - Reserved */
5098c2ecf20Sopenharmony_ci
5108c2ecf20Sopenharmony_ci	/* Task B: Vertical scaling */
5118c2ecf20Sopenharmony_ci	{R_E0_B_VERT_LUMA_SCALING_INC,2,
5128c2ecf20Sopenharmony_ci	 "Task B: Vertical luminance scaling increment"},
5138c2ecf20Sopenharmony_ci	{R_E2_B_VERT_CHROMA_SCALING_INC,2,
5148c2ecf20Sopenharmony_ci	 "Task B: Vertical chrominance scaling increment"},
5158c2ecf20Sopenharmony_ci	{R_E4_B_VERT_SCALING_MODE_CNTL,1,
5168c2ecf20Sopenharmony_ci	 "Task B: Vertical scaling mode control"},
5178c2ecf20Sopenharmony_ci	/* 0xe5-0xe7 - Reserved */
5188c2ecf20Sopenharmony_ci	{R_E8_B_VERT_CHROMA_PHASE_OFF_00,1,
5198c2ecf20Sopenharmony_ci	 "Task B: Vertical chrominance phase offset '00'"},
5208c2ecf20Sopenharmony_ci	{R_E9_B_VERT_CHROMA_PHASE_OFF_01,1,
5218c2ecf20Sopenharmony_ci	 "Task B: Vertical chrominance phase offset '01'"},
5228c2ecf20Sopenharmony_ci	{R_EA_B_VERT_CHROMA_PHASE_OFF_10,1,
5238c2ecf20Sopenharmony_ci	 "Task B: Vertical chrominance phase offset '10'"},
5248c2ecf20Sopenharmony_ci	{R_EB_B_VERT_CHROMA_PHASE_OFF_11,1,
5258c2ecf20Sopenharmony_ci	 "Task B: Vertical chrominance phase offset '11'"},
5268c2ecf20Sopenharmony_ci	{R_EC_B_VERT_LUMA_PHASE_OFF_00,1,
5278c2ecf20Sopenharmony_ci	 "Task B: Vertical luminance phase offset '00'"},
5288c2ecf20Sopenharmony_ci	{R_ED_B_VERT_LUMA_PHASE_OFF_01,1,
5298c2ecf20Sopenharmony_ci	 "Task B: Vertical luminance phase offset '01'"},
5308c2ecf20Sopenharmony_ci	{R_EE_B_VERT_LUMA_PHASE_OFF_10,1,
5318c2ecf20Sopenharmony_ci	 "Task B: Vertical luminance phase offset '10'"},
5328c2ecf20Sopenharmony_ci	{R_EF_B_VERT_LUMA_PHASE_OFF_11,1,
5338c2ecf20Sopenharmony_ci	 "Task B: Vertical luminance phase offset '11'"},
5348c2ecf20Sopenharmony_ci
5358c2ecf20Sopenharmony_ci	/* second PLL (PLL2) and Pulsegenerator Programming */
5368c2ecf20Sopenharmony_ci	{ R_F0_LFCO_PER_LINE, 1,
5378c2ecf20Sopenharmony_ci	  "LFCO's per line"},
5388c2ecf20Sopenharmony_ci	{ R_F1_P_I_PARAM_SELECT,1,
5398c2ecf20Sopenharmony_ci	  "P-/I- Param. Select., PLL Mode, PLL H-Src., LFCO's per line"},
5408c2ecf20Sopenharmony_ci	{ R_F2_NOMINAL_PLL2_DTO,1,
5418c2ecf20Sopenharmony_ci	 "Nominal PLL2 DTO"},
5428c2ecf20Sopenharmony_ci	{R_F3_PLL_INCREMENT,1,
5438c2ecf20Sopenharmony_ci	 "PLL2 Increment"},
5448c2ecf20Sopenharmony_ci	{R_F4_PLL2_STATUS,1,
5458c2ecf20Sopenharmony_ci	 "PLL2 Status"},
5468c2ecf20Sopenharmony_ci	{R_F5_PULSGEN_LINE_LENGTH,1,
5478c2ecf20Sopenharmony_ci	 "Pulsgen. line length"},
5488c2ecf20Sopenharmony_ci	{R_F6_PULSE_A_POS_LSB_AND_PULSEGEN_CONFIG,1,
5498c2ecf20Sopenharmony_ci	 "Pulse A Position, Pulsgen Resync., Pulsgen. H-Src., Pulsgen. line length"},
5508c2ecf20Sopenharmony_ci	{R_F7_PULSE_A_POS_MSB,1,
5518c2ecf20Sopenharmony_ci	 "Pulse A Position"},
5528c2ecf20Sopenharmony_ci	{R_F8_PULSE_B_POS,2,
5538c2ecf20Sopenharmony_ci	 "Pulse B Position"},
5548c2ecf20Sopenharmony_ci	{R_FA_PULSE_C_POS,2,
5558c2ecf20Sopenharmony_ci	 "Pulse C Position"},
5568c2ecf20Sopenharmony_ci	/* 0xfc to 0xfe - Reserved */
5578c2ecf20Sopenharmony_ci	{R_FF_S_PLL_MAX_PHASE_ERR_THRESH_NUM_LINES,1,
5588c2ecf20Sopenharmony_ci	 "S_PLL max. phase, error threshold, PLL2 no. of lines, threshold"},
5598c2ecf20Sopenharmony_ci};
5608c2ecf20Sopenharmony_ci#endif
561