1 /*
2 	tda18273-priv.h - private header for the NXP TDA18273 silicon tuner
3 	Copyright (C) 2014 CrazyCat <crazycat69@narod.ru>
4 
5 	This program is free software; you can redistribute it and/or modify
6 	it under the terms of the GNU General Public License as published by
7 	the Free Software Foundation; either version 2 of the License, or
8 	(at your option) any later version.
9 
10 	This program is distributed in the hope that it will be useful,
11 	but WITHOUT ANY WARRANTY; without even the implied warranty of
12 	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 	GNU General Public License for more details.
14 
15 	You should have received a copy of the GNU General Public License
16 	along with this program; if not, write to the Free Software
17 	Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19 
20 #ifndef __TDA18273_PRIV
21 #define __TDA18273_PRIV
22 
23 #define TDA18273_TUNER_RESET		0
24 
25 #define TDA_FREQ_LOW_BAND		1
26 #define TDA_FREQ_MID_BAND		2
27 #define TDA_FREQ_HIGH_BAND		4
28 
29 #define TDA_AGC_115dBuV			1
30 #define TDA_AGC_112dBuV			2
31 #define TDA_AGC_109dBuV			3
32 #define TDA_AGC_106dBuV			4
33 #define TDA_AGC_103dBuV			5
34 #define TDA_AGC_EXTERNAL		6
35 #define TDA_AGC_DISABLE			7
36 
37 #define TDA_PLL_CP_50uA			6
38 #define TDA_PLL_CP_125uA		7
39 #define TDA_PLL_CP_250uA		0x0e
40 #define TDA_PLL_CP_650uA		0x0f
41 
42 #define TDA_PLLref_DIVIDER_64		3
43 #define TDA_PLLref_DIVIDER_24		2
44 
45 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
46 
47 typedef unsigned char		UInt8;
48 typedef unsigned int		UInt32;
49 typedef int			Int32;
50 
51 
52 /* Result codes */
53 #define TDA_RESULT_SUCCESS		0
54 #define TDA_RESULT_RESET_FAILURE	1
55 #define TDA_RESULT_I2C_WRITE_FAILURE	2
56 #define TDA_RESULT_I2C_READ_FAILURE	3
57 #define TDA_RESULT_OUT_OF_RANGE		5
58 
59 
60 /* Product id */
61 #define TDA_DEVICE_TYPE		18273
62 
63 /* Register Bit-Field Definition */
64 typedef struct _TDA18273_BitField_t {
65 	UInt8 Address;
66 	UInt8 PositionInBits;
67 	UInt8 WidthInBits;
68 	UInt8 Attributes;
69 } TDA18273_BitField_t, *pTDA18273_BitField_t;
70 
71 /* Bus Access */
72 typedef enum _tmbslFrontEndBusAccess_t {
73     Bus_RW = 0x00,						/* RW Bus access */
74     Bus_NoRead = 0x01,					/* No Read Bus access */
75     Bus_NoWrite = 0x02,					/* No Write Bus access */
76     Bus_None = Bus_NoRead|Bus_NoWrite,	/* No Bus access. Update RegMap only */
77     Bus_Max
78 } tmbslFrontEndBusAccess_t;
79 
80 typedef enum tmPowerState
81 {
82     tmPowerOn = 0,                      /* Device powered on      (D0 state) */
83     tmPowerStandby,                     /* Device power standby   (D1 state) */
84     tmPowerSuspend,                     /* Device power suspended (D2 state) */
85     tmPowerOff,                         /* Device powered off     (D3 state) */
86     tmPowerMax                          /* Device power max */
87 }   tmPowerState_t, *ptmPowerState_t;
88 
89 typedef enum _TDA18273PowerState_t {
90     TDA18273_PowerNormalMode = 0,                                 /* Device normal mode */
91     TDA18273_PowerStandbyWithXtalOn,                              /* Device standby mode with Xtal Output */
92     TDA18273_PowerStandby,                                        /* Device standby mode */
93     TDA18273_PowerMax
94 } TDA18273PowerState_t, *pTDA18273PowerState_t;
95 
96 typedef enum _TDA18273StandardMode_t {
97     TDA18273_StandardMode_Unknown = 0,                  /* Unknown standard */
98     TDA18273_QAM_6MHz,                                  /* Digital TV QAM 6MHz */
99     TDA18273_QAM_8MHz,                                  /* Digital TV QAM 8MHz */
100     TDA18273_ATSC_6MHz,                                 /* Digital TV ATSC 6MHz */
101     TDA18273_ISDBT_6MHz,                                /* Digital TV ISDBT 6MHz */
102     TDA18273_DVBT_1_7MHz,                               /* Digital TV DVB-T/T2 6MHz */
103     TDA18273_DVBT_6MHz,                                 /* Digital TV DVB-T/T2 6MHz */
104     TDA18273_DVBT_7MHz,                                 /* Digital TV DVB-T/T2 7MHz */
105     TDA18273_DVBT_8MHz,                                 /* Digital TV DVB-T/T2 8MHz */
106     TDA18273_DVBT_10MHz,                                /* Digital TV DVB-T/T2 10MHz */
107     TDA18273_DMBT_8MHz,                                 /* Digital TV DMB-T 8MHz */
108     TDA18273_FM_Radio,                                  /* Analog FM Radio */
109     TDA18273_ANLG_MN,                                   /* Analog TV M/N */
110     TDA18273_ANLG_B,                                    /* Analog TV B */
111     TDA18273_ANLG_GH,                                   /* Analog TV G/H */
112     TDA18273_ANLG_I,                                    /* Analog TV I */
113     TDA18273_ANLG_DK,                                   /* Analog TV D/K */
114     TDA18273_ANLG_L,                                    /* Analog TV L */
115     TDA18273_ANLG_LL,                                   /* Analog TV L' */
116     TDA18273_Scanning,                                  /* Analog Preset Blind Scanning */
117     TDA18273_ScanXpress,                                /* ScanXpress */
118     TDA18273_StandardMode_Max
119 } TDA18273StandardMode_t, *pTDA18273StandardMode_t;
120 
121 /* TDA18273 Driver State Machine */
122 typedef enum _TDA18273HwState_t {
123     TDA18273_HwState_Unknown = 0,   /* Hw State Unknown */
124     TDA18273_HwState_InitNotDone,   /* Hw Init Not Done */
125     TDA18273_HwState_InitPending,   /* Hw Init Pending */
126     TDA18273_HwState_InitDone,      /* Hw Init Done */
127     TDA18273_HwState_SetStdDone,    /* Set Standard Done */
128     TDA18273_HwState_SetRFDone,     /* Set RF Done */
129     TDA18273_HwState_SetFineRFDone, /* Set Fine RF Done */
130     TDA18273_HwState_Max
131 } TDA18273HwState_t, *pTDA18273HwState_t;
132 
133 typedef enum _TDA18273HwStateCaller_t {
134     TDA18273_HwStateCaller_Unknown = 0, /* Caller Unknown */
135     TDA18273_HwStateCaller_SetPower,    /* Caller SetPowerState */
136     TDA18273_HwStateCaller_HwInit,      /* Caller HwInit */
137     TDA18273_HwStateCaller_SetStd,      /* Caller SetStandardMode */
138     TDA18273_HwStateCaller_SetRF,       /* Caller SetRF */
139     TDA18273_HwStateCaller_SetFineRF,   /* Caller SetFineRF */
140     TDA18273_HwStateCaller_GetRSSI,     /* Caller GetRSSI */
141     TDA18273_HwStateCaller_SetRawRF,    /* Caller SetRawRF */
142     TDA18273_HwStateCaller_Max
143 } TDA18273HwStateCaller_t, *pTDA18273HwStateCaller_t;
144 
145 /* TDA18273 specific powerstate bits: */
146 typedef enum _TDA18273SM_Reg_t {
147     TDA18273_SM_NONE    = 0x00, /* No SM bit to set */
148     TDA18273_SM_XT      = 0x01, /* SM_XT bit to set */
149     TDA18273_SM         = 0x02  /* SM bit to set */
150 } TDA18273SM_Reg_t, *pTDA18273SM_Reg_t;
151 
152 /* TDA18273 specific MSM: */
153 typedef enum _TDA18273MSM_t {
154     TDA18273_MSM_Calc_PLL       = 0x01, /* Calc_PLL bit */
155     TDA18273_MSM_RC_Cal         = 0x02, /* RC_Cal bit */
156     TDA18273_MSM_IR_CAL_Wanted  = 0x04, /* IR_CAL_Wanted bit */
157     TDA18273_MSM_IR_Cal_Image   = 0x08, /* IR_Cal_Image bit */
158     TDA18273_MSM_IR_CAL_Loop    = 0x10, /* IR_CAL_Loop bit */
159     TDA18273_MSM_RF_CAL         = 0x20, /* RF_CAL bit */
160     TDA18273_MSM_RF_CAL_AV      = 0x40, /* RF_CAL_AV bit */
161     TDA18273_MSM_RSSI_Meas      = 0x80, /* RSSI_Meas bit */
162     /* Performs all CALs except IR_CAL */
163     TDA18273_MSM_HwInit         = TDA18273_MSM_Calc_PLL\
164                                     |TDA18273_MSM_RC_Cal\
165                                     |TDA18273_MSM_RF_CAL,
166     /* Performs all IR_CAL */
167     TDA18273_MSM_IrCal          = TDA18273_MSM_IR_Cal_Image\
168                                     |TDA18273_MSM_IR_CAL_Loop,
169     TDA18273_MSM_SetRF          = TDA18273_MSM_Calc_PLL\
170                                     |TDA18273_MSM_RF_CAL_AV,
171     TDA18273_MSM_GetPowerLevel  = TDA18273_MSM_RSSI_Meas
172 } TDA18273MSM_t, *pTDA18273MSM_t;
173 
174 /* TDA18273 specific IRQ clear: */
175 typedef enum _TDA18273IRQ_t {
176     TDA18273_IRQ_MSM_RCCal      = 0x01, /* MSM_RCCal bit */
177     TDA18273_IRQ_MSM_IRCAL      = 0x02, /* MSM_IRCAL bit */
178     TDA18273_IRQ_MSM_RFCal      = 0x04, /* MSM_RFCal bit */
179     TDA18273_IRQ_MSM_LOCalc     = 0x08, /* MSM_LOCalc bit */
180     TDA18273_IRQ_MSM_RSSI       = 0x10, /* MSM_RSSI bit */
181     TDA18273_IRQ_XtalCal        = 0x20, /* XtalCal bit */
182     TDA18273_IRQ_Global         = 0x80, /* IRQ_status bit */
183     TDA18273_IRQ_HwInit         = TDA18273_IRQ_MSM_RCCal\
184                                     |TDA18273_IRQ_MSM_RFCal\
185                                     |TDA18273_IRQ_MSM_LOCalc\
186                                     |TDA18273_IRQ_MSM_RSSI,
187     TDA18273_IRQ_IrCal          = TDA18273_IRQ_MSM_IRCAL\
188                                     |TDA18273_IRQ_MSM_LOCalc\
189                                     |TDA18273_IRQ_MSM_RSSI,
190     TDA18273_IRQ_SetRF          = TDA18273_IRQ_MSM_RFCal\
191                                     |TDA18273_IRQ_MSM_LOCalc,
192     TDA18273_IRQ_GetPowerLevel  = TDA18273_IRQ_MSM_RSSI
193 } TDA18273IRQ_t, *pTDA18273IRQ_t;
194 
195 /* TDA18273 Standard settings: */
196 typedef enum _TDA18273LPF_t {
197     TDA18273_LPF_6MHz = 0,  /* 6MHz LPFc */
198     TDA18273_LPF_7MHz,      /* 7MHz LPFc */
199     TDA18273_LPF_8MHz,      /* 8MHz LPFc */
200     TDA18273_LPF_9MHz,      /* 9MHz LPFc */
201     TDA18273_LPF_1_5MHz,    /* 1.5MHz LPFc */
202     TDA18273_LPF_Max
203 } TDA18273LPF_t, *pTDA18273LPF_t;
204 
205 typedef enum _TDA18273LPFOffset_t {
206     TDA18273_LPFOffset_0pc = 0,     /* LPFc 0% */
207     TDA18273_LPFOffset_min_4pc,     /* LPFc -4% */
208     TDA18273_LPFOffset_min_8pc,     /* LPFc -8% */
209     TDA18273_LPFOffset_min_12pc,    /* LPFc -12% */
210     TDA18273_LPFOffset_Max
211 } TDA18273LPFOffset_t, *pTDA18273LPFOffset_t;
212 
213 typedef enum TDA18273DC_Notch_IF_PPF_t {
214     TDA18273_DC_Notch_IF_PPF_Disabled = 0,  /* IF Notch Disabled */
215     TDA18273_DC_Notch_IF_PPF_Enabled,       /* IF Notch Enabled */
216     TDA18273_DC_Notch_IF_PPF_Max
217 } TDA18273DC_Notch_IF_PPF_t, *pTDA18273DC_Notch_IF_PPF_t;
218 
219 typedef enum _TDA18273IF_HPF_t {
220     TDA18273_IF_HPF_Disabled = 0,   /* IF HPF disabled */
221     TDA18273_IF_HPF_0_4MHz,         /* IF HPF 0.4MHz */
222     TDA18273_IF_HPF_0_85MHz,        /* IF HPF 0.85MHz */
223     TDA18273_IF_HPF_1MHz,           /* IF HPF 1MHz */
224     TDA18273_IF_HPF_1_5MHz,         /* IF HPF 1.5MHz */
225     TDA18273_IF_HPF_Max
226 } TDA18273IF_HPF_t, *pTDA18273IF_HPF_t;
227 
228 typedef enum _TDA18273IF_Notch_t {
229     TDA18273_IF_Notch_Disabled = 0, /* IF Notch Disabled */
230     TDA18273_IF_Notch_Enabled,      /* IF Notch Enabled */
231     TDA18273_IF_Notch_Max
232 } TDA18273IF_Notch_t, *pTDA18273IF_Notch_t;
233 
234 typedef enum _TDA18273IFnotchToRSSI_t {
235     TDA18273_IFnotchToRSSI_Disabled = 0,    /* IFnotchToRSSI Disabled */
236     TDA18273_IFnotchToRSSI_Enabled,         /* IFnotchToRSSI Enabled */
237     TDA18273_IFnotchToRSSI_Max
238 } TDA18273IFnotchToRSSI_t, *pTDA18273IFnotchToRSSI_t;
239 
240 typedef enum _TDA18273AGC1_TOP_I2C_DN_UP_t {
241     TDA18273_AGC1_TOP_I2C_DN_UP_d88_u82dBuV = 0,    /* AGC1 TOP I2C DN/UP down 88 up 82 dBuV */
242     TDA18273_AGC1_TOP_I2C_DN_UP_d90_u84dBuV,        /* AGC1 TOP I2C DN/UP down 90 up 84 dBuV */
243     TDA18273_AGC1_TOP_I2C_DN_UP_d95_u89wdBuV,       /* AGC1 TOP I2C DN/UP down 95 up 89 dBuV */
244     TDA18273_AGC1_TOP_I2C_DN_UP_d93_u87dBuV,        /* AGC1 TOP I2C DN/UP down 93 up 87 dBuV */
245     TDA18273_AGC1_TOP_I2C_DN_UP_d95_u89dBuV,        /* AGC1 TOP I2C DN/UP down 95 up 89 dBuV */
246     TDA18273_AGC1_TOP_I2C_DN_UP_d99_u84dBuV,        /* AGC1 TOP I2C DN/UP down 99 up 84 dBuV */
247     TDA18273_AGC1_TOP_I2C_DN_UP_d100_u82dBuV,       /* AGC1 TOP I2C DN/UP down 100 up 82 dBuV */
248     TDA18273_AGC1_TOP_I2C_DN_UP_d100_u94bisdBuV,    /* AGC1 TOP I2C DN/UP down 100 up 94 dBuV */
249     TDA18273_AGC1_TOP_I2C_DN_UP_d102_u82dBuV,       /* AGC1 TOP I2C DN/UP down 102 up 82 dBuV */
250     TDA18273_AGC1_TOP_I2C_DN_UP_d102_u84dBuV,       /* AGC1 TOP I2C DN/UP down 102 up 84 dBuV */
251     TDA18273_AGC1_TOP_I2C_DN_UP_d100_u94dBuV,       /* AGC1 TOP I2C DN/UP down 100 up 94 dBuV */
252     TDA18273_AGC1_TOP_I2C_DN_UP_Max
253 } TDA18273AGC1_TOP_I2C_DN_UP_t, *pTDA18273AGC1_TOP_I2C_DN_UP_t;
254 
255 typedef enum _TDA18273AGC1_Adapt_TOP_DN_UP_t {
256     TDA18273_AGC1_Adapt_TOP_DN_UP_0_Step = 0,   /* AGC1 Adapt TOP DN/UP 0 Step */
257     TDA18273_AGC1_Adapt_TOP_DN_UP_1_Step,       /* AGC1 Adapt TOP DN/UP 1 Step */
258     TDA18273_AGC1_Adapt_TOP_DN_UP_2_Step,       /* AGC1 Adapt TOP DN/UP 2 Step */
259     TDA18273_AGC1_Adapt_TOP_DN_UP_3_Step,       /* AGC1 Adapt TOP DN/UP 3 Step */
260     TDA18273_AGC1_Adapt_TOP_DN_UP_Max
261 } TDA18273AGC1_Adapt_TOP_DN_UP_t, *pTDA18273AGC1_Adapt_TOP_DN_UP_t;
262 
263 typedef enum _TDA18273AGC1_Mode_t {
264     TDA18273_AGC1_Mode_No_Mode = 0,         /* AGC1 Mode */
265     TDA18273_AGC1_Mode_TOP_ADAPT,           /* AGC1 Mode: TOP ADAPT */
266     TDA18273_AGC1_Mode_LNA_ADAPT,           /* AGC1 Mode: LNA ADAPT */
267     TDA18273_AGC1_Mode_LNA_ADAPT_TOP_ADAPT, /* AGC1 Mode: LNA ADAPT & TOP ADAPT */
268     TDA18273_AGC1_Mode_FREEZE,              /* AGC1 Mode: FREEZE */
269     TDA18273_AGC1_Mode_WIDE,                /* AGC1 Mode: WIDE */
270     TDA18273_AGC1_Mode_LNA_ADAPT_FREEZE,    /* AGC1 Mode: LNA ADAPT & FREEZE */
271     TDA18273_AGC1_Mode_LNA_ADAPT_WIDE,      /* AGC1 Mode: LNA ADAPT & WIDE */
272     TDA18273_AGC1_Mode_Max
273 } TDA18273AGC1_Mode_t, *pTDA18273AGC1_Mode_t;
274 
275 typedef enum _TDA18273Range_LNA_Adapt_t {
276     TDA18273_Range_LNA_Adapt_20dB_8dB = 0,  /* Range LNA Adapt 20dB-8dB */
277     TDA18273_Range_LNA_Adapt_20dB_11dB,     /* Range LNA Adapt 20dB-11dB */
278     TDA18273_Range_LNA_Adapt_Max
279 } TDA18273Range_LNA_Adapt_t, *pTDA18273Range_LNA_Adapt_t;
280 
281 typedef enum _TDA18273LNA_Adapt_RFAGC_Gv_Threshold {
282     TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_18_25dB = 0,  /* 18.25dB */
283     TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_16_75dB,      /* 16.75dB */
284     TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_15_25dB,      /* 15.25dB */
285     TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_13_75dB,      /* 13.75dB */
286     TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_Max
287 } TDA18273LNA_Adapt_RFAGC_Gv_Threshold, *pTDA18273LNA_Adapt_RFAGC_Gv_Threshold;
288 
289 typedef enum _TDA18273AGC1_Top_Adapt_RFAGC_Gv_Threshold {
290     TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_16_75dB = 0, /* 16.75dB */
291     TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_15_25dB,     /* 15.25dB */
292     TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_13_75dB,     /* 13.75dB */
293     TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_12_25dB,     /* 12.25dB */
294     TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_Max
295 } TDA18273AGC1_Top_Adapt_RFAGC_Gv_Threshold, *pTDA18273AGC1_Top_Adapt_RFAGC_Gv_Threshold;
296 
297 typedef enum _TDA18273AGC1_DN_Time_Constant_t {
298     TDA18273_AGC1_DN_Time_Constant_32_752ms = 0, /* 32.752 ms */
299 	TDA18273_AGC1_DN_Time_Constant_16_376ms,     /* 16.376 ms */
300 	TDA18273_AGC1_DN_Time_Constant_8_188ms,      /* 8.188 ms  */
301 	TDA18273_AGC1_DN_Time_Constant_4_094ms       /* 4.094 ms  */
302 } TDA18273AGC1_DN_Time_Constant_t, *pTDA18273AGC1_DN_Time_Constant_t;
303 
304 typedef enum _TDA18273AGC2_TOP_DN_UP_t {
305     TDA18273_AGC2_TOP_DN_UP_d88_u81dBuV = 0,    /* AGC2 TOP DN/UP down 88 up 81 dBuV */
306     TDA18273_AGC2_TOP_DN_UP_d90_u83dBuV,        /* AGC2 TOP DN/UP down 90 up 83 dBuV */
307     TDA18273_AGC2_TOP_DN_UP_d93_u86dBuV,        /* AGC2 TOP DN/UP down 93 up 86 dBuV */
308     TDA18273_AGC2_TOP_DN_UP_d95_u88dBuV,        /* AGC2 TOP DN/UP down 95 up 88 dBuV */
309     TDA18273_AGC2_TOP_DN_UP_d88_u82dBuV,        /* AGC2 TOP DN/UP down 88 up 82 dBuV */
310     TDA18273_AGC2_TOP_DN_UP_d90_u84dBuV,        /* AGC2 TOP DN/UP down 90 up 84 dBuV */
311     TDA18273_AGC2_TOP_DN_UP_d93_u87dBuV,        /* AGC2 TOP DN/UP down 93 up 87 dBuV */
312     TDA18273_AGC2_TOP_DN_UP_d95_u89dBuV,        /* AGC2 TOP DN/UP down 95 up 89 dBuV */
313     TDA18273_AGC2_TOP_DN_UP_Max
314 } TDA18273AGC2_TOP_DN_UP_t, *pTDA18273AGC2_TOP_DN_UP_t;
315 
316 typedef enum _TDA18273AGC2_DN_Time_Constant_t {
317 	TDA18273_AGC2_DN_Time_Constant_16_376ms = 0, /* 16.376 ms */
318 	TDA18273_AGC2_DN_Time_Constant_8_188ms,      /* 8.188 ms  */
319 	TDA18273_AGC2_DN_Time_Constant_4_094ms,      /* 4.094 ms  */
320 	TDA18273_AGC2_DN_Time_Constant_2_047ms,      /* 2.047 ms  */
321 } TDA18273AGC2_DN_Time_Constant_t, *pTDA18273AGC2_DN_Time_Constant_t;
322 
323 typedef enum _TDA18273AGC3_TOP_I2C_t {
324     TDA18273_AGC3_TOP_I2C_94dBuV = 0,   /* AGC3 TOP I2C 94 dBuV */
325     TDA18273_AGC3_TOP_I2C_96dBuV,       /* AGC3 TOP I2C 96 dBuV */
326     TDA18273_AGC3_TOP_I2C_98dBuV,       /* AGC3 TOP I2C 98 dBuV */
327     TDA18273_AGC3_TOP_I2C_100dBuV,      /* AGC3 TOP I2C 100 dBuV */
328     TDA18273_AGC3_TOP_I2C_102dBuV,      /* AGC3 TOP I2C 102 dBuV */
329     TDA18273_AGC3_TOP_I2C_104dBuV,      /* AGC3 TOP I2C 104 dBuV */
330     TDA18273_AGC3_TOP_I2C_106dBuV,      /* AGC3 TOP I2C 106 dBuV */
331     TDA18273_AGC3_TOP_I2C_107dBuV,      /* AGC3 TOP I2C 107 dBuV */
332     TDA18273_AGC3_TOP_I2C_Max
333 } TDA18273AGC3_TOP_I2C_t, *pTDA18273AGC3_TOP_I2C_t;
334 
335 typedef enum _TDA18273AGC4_TOP_DN_UP_t {
336     TDA18273_AGC4_TOP_DN_UP_d105_u99dBuV = 0,   /* AGC4 TOP DN/UP down 105 up 99 dBuV */
337     TDA18273_AGC4_TOP_DN_UP_d105_u100dBuV,      /* AGC4 TOP DN/UP down 105 up 100 dBuV */
338     TDA18273_AGC4_TOP_DN_UP_d105_u101dBuV,      /* AGC4 TOP DN/UP down 105 up 101 dBuV */
339     TDA18273_AGC4_TOP_DN_UP_d107_u101dBuV,      /* AGC4 TOP DN/UP down 107 up 101 dBuV */
340     TDA18273_AGC4_TOP_DN_UP_d107_u102dBuV,      /* AGC4 TOP DN/UP down 107 up 102 dBuV */
341     TDA18273_AGC4_TOP_DN_UP_d107_u103dBuV,      /* AGC4 TOP DN/UP down 107 up 103 dBuV */
342     TDA18273_AGC4_TOP_DN_UP_d108_u102dBuV,      /* AGC4 TOP DN/UP down 108 up 102 dBuV */
343     TDA18273_AGC4_TOP_DN_UP_d109_u103dBuV,      /* AGC4 TOP DN/UP down 109 up 103 dBuV */
344     TDA18273_AGC4_TOP_DN_UP_d109_u104dBuV,      /* AGC4 TOP DN/UP down 109 up 104 dBuV */
345     TDA18273_AGC4_TOP_DN_UP_d109_u105dBuV,      /* AGC4 TOP DN/UP down 109 up 105 dBuV */
346     TDA18273_AGC4_TOP_DN_UP_d110_u104dBuV,      /* AGC4 TOP DN/UP down 110 up 104 dBuV */
347     TDA18273_AGC4_TOP_DN_UP_d110_u105dBuV,      /* AGC4 TOP DN/UP down 110 up 105 dBuV */
348     TDA18273_AGC4_TOP_DN_UP_d110_u106dBuV,      /* AGC4 TOP DN/UP down 110 up 106 dBuV */
349     TDA18273_AGC4_TOP_DN_UP_d112_u106dBuV,      /* AGC4 TOP DN/UP down 112 up 106 dBuV */
350     TDA18273_AGC4_TOP_DN_UP_d112_u107dBuV,      /* AGC4 TOP DN/UP down 112 up 107 dBuV */
351     TDA18273_AGC4_TOP_DN_UP_d112_u108dBuV,      /* AGC4 TOP DN/UP down 112 up 108 dBuV */
352     TDA18273_AGC4_TOP_DN_UP_Max
353 } TDA18273AGC4_TOP_DN_UP_t, *pTDA18273AGC4_TOP_DN_UP_t;
354 
355 typedef enum _TDA18273AGC5_TOP_DN_UP_t {
356     TDA18273_AGC5_TOP_DN_UP_d105_u99dBuV = 0,   /* AGC5 TOP DN/UP down 105 up 99 dBuV */
357     TDA18273_AGC5_TOP_DN_UP_d105_u100dBuV,      /* AGC5 TOP DN/UP down 105 up 100 dBuV */
358     TDA18273_AGC5_TOP_DN_UP_d105_u101dBuV,      /* AGC5 TOP DN/UP down 105 up 101 dBuV */
359     TDA18273_AGC5_TOP_DN_UP_d107_u101dBuV,      /* AGC5 TOP DN/UP down 107 up 101 dBuV */
360     TDA18273_AGC5_TOP_DN_UP_d107_u102dBuV,      /* AGC5 TOP DN/UP down 107 up 102 dBuV */
361     TDA18273_AGC5_TOP_DN_UP_d107_u103dBuV,      /* AGC5 TOP DN/UP down 107 up 103 dBuV */
362     TDA18273_AGC5_TOP_DN_UP_d108_u102dBuV,      /* AGC5 TOP DN/UP down 108 up 102 dBuV */
363     TDA18273_AGC5_TOP_DN_UP_d109_u103dBuV,      /* AGC5 TOP DN/UP down 109 up 103 dBuV */
364     TDA18273_AGC5_TOP_DN_UP_d109_u104dBuV,      /* AGC5 TOP DN/UP down 109 up 104 dBuV */
365     TDA18273_AGC5_TOP_DN_UP_d109_u105dBuV,      /* AGC5 TOP DN/UP down 109 up 105 dBuV */
366     TDA18273_AGC5_TOP_DN_UP_d110_u104dBuV,      /* AGC5 TOP DN/UP down 108 up 104 dBuV */
367     TDA18273_AGC5_TOP_DN_UP_d110_u105dBuV,      /* AGC5 TOP DN/UP down 108 up 105 dBuV */
368     TDA18273_AGC5_TOP_DN_UP_d110_u106dBuV,      /* AGC5 TOP DN/UP down 108 up 106 dBuV */
369     TDA18273_AGC5_TOP_DN_UP_d112_u106dBuV,      /* AGC5 TOP DN/UP down 108 up 106 dBuV */
370     TDA18273_AGC5_TOP_DN_UP_d112_u107dBuV,      /* AGC5 TOP DN/UP down 108 up 107 dBuV */
371     TDA18273_AGC5_TOP_DN_UP_d112_u108dBuV,      /* AGC5 TOP DN/UP down 108 up 108 dBuV */
372     TDA18273_AGC5_TOP_DN_UP_Max
373 } TDA18273AGC5_TOP_DN_UP_t, *pTDA18273AGC5_TOP_DN_UP_t;
374 
375 typedef enum _TDA18273AGC3_Top_Adapt_Algorithm {
376     TDA18273_Top_Adapt_NO_TOP_ADAPT = 0,    /* NO TOP ADAPT */
377     TDA18273_Top_Adapt_TOP_ADAPT35,         /* TOP ADAPT35  */
378     TDA18273_Top_Adapt_TOP_ADAPT34,         /* TOP ADAPT34  */
379     TDA18273_Top_Adapt_Max
380 } TDA18273AGC3_Top_Adapt_Algorithm, *pTDA18273AGC3_Top_Adapt_Algorithm;
381 
382 typedef enum _TDA18273AGC3_Adapt_TOP_t {
383     TDA18273_AGC3_Adapt_TOP_0_Step = 0, /* same level as AGC3 TOP  */
384     TDA18273_AGC3_Adapt_TOP_1_Step,     /* 1 level below AGC3 TOP  */
385     TDA18273_AGC3_Adapt_TOP_2_Step,     /* 2 level below AGC3 TOP  */
386     TDA18273_AGC3_Adapt_TOP_3_Step      /* 3 level below AGC3 TOP  */
387 } TDA18273AGC3_Adapt_TOP_t, *pTDA18273AGC3_Adapt_TOP_t;
388 
389 typedef enum _TDA18273AGC_Overload_TOP_t {
390     TDA18273_AGC_Overload_TOP_plus_9_plus_3_5_min_3_5 = 0,  /* +9/+3.5/-3.5 */
391     TDA18273_AGC_Overload_TOP_plus_9_plus_4_5_min_4_5,      /* +9/+4.5/-4.5 */
392     TDA18273_AGC_Overload_TOP_plus_9_plus_4_5_min_3_5,      /* +9/+4.5/-3.5 */
393     TDA18273_AGC_Overload_TOP_plus_9_plus_6_min_4_5,        /* +9/+6/-4.5   */
394     TDA18273_AGC_Overload_TOP_plus_9_plus_6_min_6,          /* +9/+6/-6     */
395     TDA18273_AGC_Overload_TOP_plus_9_plus_6_min_9,          /* +9/+6/-9     */
396     TDA18273_AGC_Overload_TOP_plus_9_plus_7_5_min_9,        /* +9/+7.5/-9   */
397     TDA18273_AGC_Overload_TOP_plus_12_plus_7_5_min_9        /* +12/+7.5/-9   */
398 } TDA18273AGC_Overload_TOP_t, *pTDA18273AGC_Overload_TOP_t;
399 
400 typedef enum _TDA18273TH_AGC_Adapt34_t {
401     TDA18273_TH_AGC_Adapt34_2dB = 0,    /* Adapt TOP 34 Gain Threshold 2dB */
402     TDA18273_TH_AGC_Adapt34_5dB         /* Adapt TOP 34 Gain Threshold 5dB */
403 } TDA18273TH_AGC_Adapt34_t, *pTDA18273TH_AGC_Adapt34_t;
404 
405 typedef enum _TDA18273RF_Atten_3dB_t {
406     TDA18273_RF_Atten_3dB_Disabled = 0, /* RF_Atten_3dB Disabled */
407     TDA18273_RF_Atten_3dB_Enabled,      /* RF_Atten_3dB Enabled */
408     TDA18273_RF_Atten_3dB_Max
409 } TDA18273RF_Atten_3dB_t, *pTDA18273RF_Atten_3dB_t;
410 
411 typedef enum _TDA18273IF_Output_Level_t {
412     TDA18273_IF_Output_Level_2Vpp_0_30dB = 0,           /* 2Vpp       0 - 30dB      */
413     TDA18273_IF_Output_Level_1_25Vpp_min_4_26dB,        /* 1.25Vpp   -4 - 26dB      */
414     TDA18273_IF_Output_Level_1Vpp_min_6_24dB,           /* 1Vpp      -6 - 24dB      */
415     TDA18273_IF_Output_Level_0_8Vpp_min_8_22dB,         /* 0.8Vpp    -8 - 22dB      */
416     TDA18273_IF_Output_Level_0_85Vpp_min_7_5_22_5dB,    /* 0.85Vpp   -7.5 - 22.5dB  */
417     TDA18273_IF_Output_Level_0_7Vpp_min_9_21dB,         /* 0.7Vpp    -9 - 21dB      */
418     TDA18273_IF_Output_Level_0_6Vpp_min_10_3_19_7dB,    /* 0.6Vpp    -10.3 - 19.7dB */
419     TDA18273_IF_Output_Level_0_5Vpp_min_12_18dB,        /* 0.5Vpp    -12 - 18dB     */
420     TDA18273_IF_Output_Level_Max
421 } TDA18273IF_Output_Level_t, *pTDA18273IF_Output_Level_t;
422 
423 typedef enum _TDA18273S2D_Gain_t {
424     TDA18273_S2D_Gain_3dB = 0,  /* 3dB */
425     TDA18273_S2D_Gain_6dB,      /* 6dB */
426     TDA18273_S2D_Gain_9dB,      /* 9dB */
427     TDA18273_S2D_Gain_Max
428 } TDA18273S2D_Gain_t, *pTDA18273S2D_Gain_t;
429 
430 typedef enum _TDA18273Negative_Modulation_t {
431     TDA18273_Negative_Modulation_Disabled = 0,
432     TDA18273_Negative_Modulation_Enabled,
433     TDA18273_Negative_Modulation_Max
434 } TDA18273Negative_Modulation_t, *pTDA18273Negative_Modulation_t;
435 
436 typedef enum _TDA18273AGCK_Steps_t {
437     TDA18273_AGCK_Steps_0_2dB = 0,  /* 0.2dB */
438     TDA18273_AGCK_Steps_0_4dB,      /* 0.4dB */
439     TDA18273_AGCK_Steps_0_6dB,      /* 0.6dB */
440     TDA18273_AGCK_Steps_0_8dB,      /* 0.8dB */
441     TDA18273_AGCK_Steps_Max
442 } TDA18273AGCK_Steps_t, *pTDA18273AGCK_Steps_t;
443 
444 typedef enum _TDA18273AGCK_Time_Constant_t {
445     TDA18273_AGCK_Time_Constant_1_STEP_EACH_VSYNC_RISING_EDGE = 0,  /* 1 Step Each VSYNC Rising Edge */
446     TDA18273_AGCK_Time_Constant_0_512ms,                            /* 0.512ms                       */
447     TDA18273_AGCK_Time_Constant_8_192ms,                            /* 8.192ms                       */
448     TDA18273_AGCK_Time_Constant_32_768ms,                           /* 32.768ms                      */
449     TDA18273_AGCK_Time_Constant_Max
450 } TDA18273AGCK_Time_Constant_t, *pTDA18273AGCK_Time_Constant_t;
451 
452 typedef enum _TDA18273AGC5_HPF_t {
453     TDA18273_AGC5_HPF_Disabled = 0, /* AGC5 HPF Disabled */
454     TDA18273_AGC5_HPF_Enabled,      /* AGC5 HPF Enabled  */
455     TDA18273_AGC5_HPF_Max
456 } TDA18273AGC5_HPF_t, *pTDA18273AGC5_HPF_t;
457 
458 typedef enum _TDA18273Pulse_Shaper_Disable_t {
459     TDA18273_Pulse_Shaper_Disable_Disabled = 0,
460     TDA18273_Pulse_Shaper_Disable_Enabled,
461     TDA18273_Pulse_Shaper_Disable_Max
462 } TDA18273Pulse_Shaper_Disable_t, *pTDA18273Pulse_Shaper_Disable_t;
463 
464 typedef enum _TDA18273VHF_III_Mode_t {
465     TDA18273_VHF_III_Mode_Disabled = 0, /* VHF_III_Mode Disabled */
466     TDA18273_VHF_III_Mode_Enabled,      /* VHF_III_Mode Enabled  */
467     TDA18273_VHF_III_Mode_Max
468 } TDA18273VHF_III_Mode_t, *pTDA18273VHF_III_Mode_t;
469 
470 typedef enum _TDA18273LO_CP_Current_t {
471     TDA18273_LO_CP_Current_Disabled = 0,    /* LO CP Current Disabled */
472     TDA18273_LO_CP_Current_Enabled,         /* LO CP Current Enabled  */
473     TDA18273_LO_CP_Current_Max
474 } TDA18273LO_CP_Current_t, *pTDA18273LO_CP_Current_t;
475 
476 typedef enum _TDA18273PD_Underload_t {
477     TDA18273_PD_Underload_Disabled = 0,    /* PD Underload Disabled */
478     TDA18273_PD_Underload_Enabled,         /* PD Underload Enabled  */
479     TDA18273_PD_Underload_Max
480 } TDA18273PD_Underload_t, *pTDA18273PD_Underload_t;
481 
482 typedef struct _TDA18273StdCoefficients
483 {
484     /****************************************************************/
485     /* IF Settings                                                  */
486     /****************************************************************/
487     UInt32                                      IF;                                 /* IF Frequency */
488     Int32                                       CF_Offset;
489 
490     /****************************************************************/
491     /* IF SELECTIVITY Settings                                      */
492     /****************************************************************/
493     TDA18273LPF_t                               LPF;                                /* LPF Cut off */
494     TDA18273LPFOffset_t                         LPF_Offset;                         /* LPF offset */
495     TDA18273DC_Notch_IF_PPF_t                   DC_Notch_IF_PPF;                    /* DC notch IF PPF */
496     TDA18273IF_HPF_t                            IF_HPF;                             /* Hi Pass */
497     TDA18273IF_Notch_t                          IF_Notch;                           /* IF notch */
498     TDA18273IFnotchToRSSI_t                     IFnotchToRSSI;                      /* IFnotchToRSSI */
499 
500     /****************************************************************/
501     /* AGC TOP Settings                                             */
502     /****************************************************************/
503     TDA18273AGC1_TOP_I2C_DN_UP_t                AGC1_TOP_I2C_DN_UP;                 /* AGC1 TOP I2C DN/UP */
504     TDA18273AGC1_Adapt_TOP_DN_UP_t              AGC1_Adapt_TOP_DN_UP;               /* AGC1 Adapt TOP DN/UP */
505 	TDA18273AGC1_DN_Time_Constant_t             AGC1_DN_Time_Constant;              /* AGC1 DN Time Constant */
506     TDA18273AGC1_Mode_t                         AGC1_Mode;                          /* AGC1 mode */
507     TDA18273Range_LNA_Adapt_t                   Range_LNA_Adapt;                    /* Range_LNA_Adapt */
508     TDA18273LNA_Adapt_RFAGC_Gv_Threshold        LNA_Adapt_RFAGC_Gv_Threshold;       /* LNA_Adapt_RFAGC_Gv_Threshold */
509     TDA18273AGC1_Top_Adapt_RFAGC_Gv_Threshold   AGC1_Top_Adapt_RFAGC_Gv_Threshold;  /* AGC1_Top_Adapt_RFAGC_Gv_Threshold */
510     TDA18273AGC2_TOP_DN_UP_t                    AGC2_TOP_DN_UP;                     /* AGC2 TOP DN/UP */
511 	TDA18273AGC2_DN_Time_Constant_t             AGC2_DN_Time_Constant;              /* AGC2 DN Time Constant */
512     TDA18273AGC3_TOP_I2C_t                      AGC3_TOP_I2C_Low_Band;              /* AGC3 TOP I2C Low Band */
513     TDA18273AGC3_TOP_I2C_t                      AGC3_TOP_I2C_High_Band;             /* AGC3 TOP I2C High Band */
514     TDA18273AGC4_TOP_DN_UP_t                    AGC4_TOP_DN_UP;                     /* AGC4 TOP DN/UP */
515     TDA18273AGC5_TOP_DN_UP_t                    AGC5_TOP_DN_UP;                     /* AGC5 TOP DN/UP */
516     TDA18273AGC3_Top_Adapt_Algorithm            AGC3_Top_Adapt_Algorithm;           /* AGC3_Top_Adapt_Algorithm */
517     TDA18273AGC3_Adapt_TOP_t                    AGC3_Adapt_TOP_Low_Band;            /* AGC3 Adapt TOP Low Band */
518     TDA18273AGC3_Adapt_TOP_t                    AGC3_Adapt_TOP_High_Band;           /* AGC3 Adapt TOP High Band */
519     TDA18273AGC_Overload_TOP_t                  AGC_Overload_TOP;                   /* AGC Overload TOP */
520     TDA18273TH_AGC_Adapt34_t                    TH_AGC_Adapt34;                     /* Adapt TOP 34 Gain Threshold */
521     TDA18273RF_Atten_3dB_t                      RF_Atten_3dB;                       /* RF atten 3dB */
522     TDA18273IF_Output_Level_t                   IF_Output_Level;                    /* IF Output Level */
523     TDA18273S2D_Gain_t                          S2D_Gain;                           /* S2D gain */
524     TDA18273Negative_Modulation_t               Negative_Modulation;                /* Negative modulation */
525 
526     /****************************************************************/
527     /* GSK Settings                                                 */
528     /****************************************************************/
529     TDA18273AGCK_Steps_t                        AGCK_Steps;                         /* Step */
530     TDA18273AGCK_Time_Constant_t                AGCK_Time_Constant;                 /* AGCK Time Constant */
531     TDA18273AGC5_HPF_t                          AGC5_HPF;                           /* AGC5 HPF */
532     TDA18273Pulse_Shaper_Disable_t              Pulse_Shaper_Disable;               /* Pulse Shaper Disable */
533 
534     /****************************************************************/
535     /* H3H5 Settings                                                */
536     /****************************************************************/
537     TDA18273VHF_III_Mode_t                      VHF_III_Mode;                       /* VHF_III_Mode */
538 
539     /****************************************************************/
540     /* PLL Settings                                                 */
541     /****************************************************************/
542     TDA18273LO_CP_Current_t                     LO_CP_Current;                      /* LO_CP_Current */
543 
544 	/****************************************************************/
545     /* MISC Settings                                                */
546     /****************************************************************/
547 	TDA18273PD_Underload_t                      PD_Underload;                       /* PD Underload */
548 	UInt32										Freq_Start_LTE;                     /* Frequency start of high band for LTE */
549 } TDA18273StdCoefficients, *pTDA18273StdCoefficients;
550 
551 typedef struct _TDA18273Object_t
552 {
553     UInt32                          uRF;
554     UInt32                          uProgRF;
555     UInt32                          uIF;
556     TDA18273StandardMode_t          StandardMode;
557     pTDA18273StdCoefficients        pStandard;
558     TDA18273StdCoefficients         Std_Array[TDA18273_StandardMode_Max-1];
559 } TDA18273Object_t, *pTDA18273Object_t, **ppTDA18273Object_t;
560 
561 /* Standard Preset Definitions: */
562 #define TDA18273_INSTANCE_CUSTOM_STD_QAM_6MHZ \
563     {                                                               /* QAM 6MHz */ \
564 	3600000,				                    /* IF */ \
565 	0,                                                          /* CF_Offset */ \
566 	TDA18273_LPF_6MHz,                                          /* LPF */ \
567 	TDA18273_LPFOffset_min_4pc,                                 /* LPF_Offset */ \
568 	TDA18273_DC_Notch_IF_PPF_Enabled,                           /* DC notch IF PPF */ \
569 	TDA18273_IF_HPF_1MHz,                                       /* Hi Pass */ \
570 	TDA18273_IF_Notch_Enabled,                                  /* IF notch */ \
571 	TDA18273_IFnotchToRSSI_Enabled,                             /* IF notch To RSSI */ \
572 	TDA18273_AGC1_TOP_I2C_DN_UP_d95_u89wdBuV,                   /* AGC1 TOP I2C DN/UP */ \
573 	TDA18273_AGC1_Adapt_TOP_DN_UP_0_Step,                       /* AGC1 Adapt TOP DN/UP */ \
574 		TDA18273_AGC1_DN_Time_Constant_8_188ms,             /* AGC1 DN Time Constant */ \
575 	TDA18273_AGC1_Mode_LNA_ADAPT_WIDE,                          /* AGC1 mode */ \
576 	TDA18273_Range_LNA_Adapt_20dB_11dB,                         /* Range LNA Adapt */ \
577 	TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_18_25dB,              /* LNA Adapt RFAGC Gv Threshold */ \
578 	TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_16_75dB,         /* AGC1 TOP Adapt RFAGC Gv Threshold */ \
579 	TDA18273_AGC2_TOP_DN_UP_d90_u84dBuV,                        /* AGC2 TOP DN/UP */ \
580 		TDA18273_AGC2_DN_Time_Constant_8_188ms,             /* AGC2 DN Time Constant */ \
581 	TDA18273_AGC3_TOP_I2C_100dBuV,                              /* AGC3 TOP I2C Low Band */ \
582 		TDA18273_AGC3_TOP_I2C_100dBuV,                      /* AGC3 TOP I2C High Band */ \
583 	TDA18273_AGC4_TOP_DN_UP_d110_u105dBuV,                      /* AGC4 TOP DN/UP */ \
584 	TDA18273_AGC5_TOP_DN_UP_d110_u105dBuV,                      /* AGC5 TOP DN/UP */ \
585 	TDA18273_Top_Adapt_NO_TOP_ADAPT,                            /* AGC3 TOP Adapt Algorithm */ \
586 	TDA18273_AGC3_Adapt_TOP_0_Step,                             /* AGC3 Adapt Low Band */ \
587 	TDA18273_AGC3_Adapt_TOP_0_Step,                             /* AGC3 Adapt High Band */ \
588 	TDA18273_AGC_Overload_TOP_plus_9_plus_4_5_min_3_5,          /* AGC Overload TOP */ \
589 	TDA18273_TH_AGC_Adapt34_5dB,                                /* Adapt TOP 34 Gain Threshold */ \
590 	TDA18273_RF_Atten_3dB_Disabled,                             /* RF Atten 3dB */ \
591 	TDA18273_IF_Output_Level_1Vpp_min_6_24dB,                   /* IF Output Level */ \
592 	TDA18273_S2D_Gain_6dB,                                      /* S2D Gain */ \
593 	TDA18273_Negative_Modulation_Disabled,                      /* Negative Modulation */ \
594 	TDA18273_AGCK_Steps_0_2dB,                                  /* Step */ \
595 	TDA18273_AGCK_Time_Constant_32_768ms,                       /* AGCK Time Constant */ \
596 	TDA18273_AGC5_HPF_Disabled,                                 /* AGC5 HPF */ \
597 	TDA18273_Pulse_Shaper_Disable_Enabled,                      /* Pulse Shaper Disable */ \
598 	TDA18273_VHF_III_Mode_Disabled,                             /* VHF III Mode */ \
599 	TDA18273_LO_CP_Current_Enabled,                             /* LO CP Current */ \
600 		TDA18273_PD_Underload_Disabled,                     /* PD Underload */ \
601 		754000000													/* Frequency Start LTE */ \
602     }
603 
604 #define TDA18273_INSTANCE_CUSTOM_STD_QAM_8MHZ \
605     {                                                               /* QAM 8MHz */ \
606 	5000000,				      				/* IF */ \
607 	0,                                                          /* CF_Offset */ \
608 	TDA18273_LPF_9MHz,                                          /* LPF */ \
609 	TDA18273_LPFOffset_min_8pc,                                 /* LPF_Offset */ \
610 	TDA18273_DC_Notch_IF_PPF_Enabled,                           /* DC notch IF PPF */ \
611 	TDA18273_IF_HPF_0_85MHz,                                    /* Hi Pass */ \
612 	TDA18273_IF_Notch_Disabled,                                 /* IF notch */ \
613 	TDA18273_IFnotchToRSSI_Disabled,                            /* IF notch To RSSI */ \
614 	TDA18273_AGC1_TOP_I2C_DN_UP_d95_u89wdBuV,                   /* AGC1 TOP I2C DN/UP */ \
615 	TDA18273_AGC1_Adapt_TOP_DN_UP_0_Step,                       /* AGC1 Adapt TOP DN/UP */ \
616 		TDA18273_AGC1_DN_Time_Constant_8_188ms,                     /* AGC1 DN Time Constant */ \
617 	TDA18273_AGC1_Mode_LNA_ADAPT_WIDE,                          /* AGC1 mode */ \
618 	TDA18273_Range_LNA_Adapt_20dB_11dB,                         /* Range LNA Adapt */ \
619 	TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_18_25dB,              /* LNA Adapt RFAGC Gv Threshold */ \
620 	TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_16_75dB,         /* AGC1 TOP Adapt RFAGC Gv Threshold */ \
621 	TDA18273_AGC2_TOP_DN_UP_d90_u84dBuV,                        /* AGC2 TOP DN/UP */ \
622 		TDA18273_AGC2_DN_Time_Constant_8_188ms,                     /* AGC2 DN Time Constant */ \
623 	TDA18273_AGC3_TOP_I2C_100dBuV,                              /* AGC3 TOP I2C Low Band */ \
624 		TDA18273_AGC3_TOP_I2C_100dBuV,                              /* AGC3 TOP I2C High Band */ \
625 	TDA18273_AGC4_TOP_DN_UP_d110_u105dBuV,                      /* AGC4 TOP DN/UP */ \
626 	TDA18273_AGC5_TOP_DN_UP_d110_u105dBuV,                      /* AGC5 TOP DN/UP */ \
627 	TDA18273_Top_Adapt_NO_TOP_ADAPT,                            /* AGC3 TOP Adapt Algorithm */ \
628 	TDA18273_AGC3_Adapt_TOP_0_Step,                             /* AGC3 Adapt Low Band */ \
629 		TDA18273_AGC3_Adapt_TOP_0_Step,                             /* AGC3 Adapt High Band */ \
630 	TDA18273_AGC_Overload_TOP_plus_9_plus_4_5_min_3_5,          /* AGC Overload TOP */ \
631 	TDA18273_TH_AGC_Adapt34_5dB,                                /* Adapt TOP 34 Gain Threshold */ \
632 	TDA18273_RF_Atten_3dB_Disabled,                             /* RF Atten 3dB */ \
633 	TDA18273_IF_Output_Level_1Vpp_min_6_24dB,                   /* IF Output Level */ \
634 	TDA18273_S2D_Gain_6dB,                                      /* S2D Gain */ \
635 	TDA18273_Negative_Modulation_Disabled,                      /* Negative Modulation */ \
636 	TDA18273_AGCK_Steps_0_2dB,                                  /* Step */ \
637 	TDA18273_AGCK_Time_Constant_32_768ms,                       /* AGCK Time Constant */ \
638 	TDA18273_AGC5_HPF_Disabled,                                 /* AGC5 HPF */ \
639 	TDA18273_Pulse_Shaper_Disable_Enabled,                      /* Pulse Shaper Disable */ \
640 	TDA18273_VHF_III_Mode_Disabled,                             /* VHF III Mode */ \
641 	TDA18273_LO_CP_Current_Enabled,                             /* LO CP Current */ \
642 		TDA18273_PD_Underload_Disabled,                             /* PD Underload */ \
643 		754000000													/* Frequency Start LTE */ \
644     }
645 
646 #define TDA18273_INSTANCE_CUSTOM_STD_ATSC_6MHZ \
647     {                                                               /* ATSC */ \
648 	3250000,								/* IF */ \
649 	0,                                                          /* CF_Offset */ \
650 	TDA18273_LPF_6MHz,                                          /* LPF */ \
651 	TDA18273_LPFOffset_0pc,                                     /* LPF_Offset */ \
652 	TDA18273_DC_Notch_IF_PPF_Enabled,                           /* DC notch IF PPF */ \
653 	TDA18273_IF_HPF_0_4MHz,                                     /* Hi Pass */ \
654 	TDA18273_IF_Notch_Enabled,                                  /* IF notch */ \
655 	TDA18273_IFnotchToRSSI_Disabled,                            /* IF notch To RSSI */ \
656 	TDA18273_AGC1_TOP_I2C_DN_UP_d100_u94dBuV,                   /* AGC1 TOP I2C DN/UP */ \
657 	TDA18273_AGC1_Adapt_TOP_DN_UP_0_Step,                       /* AGC1 Adapt TOP DN/UP */ \
658 		TDA18273_AGC1_DN_Time_Constant_8_188ms,                     /* AGC1 DN Time Constant */ \
659 	TDA18273_AGC1_Mode_LNA_ADAPT,                               /* AGC1 mode */ \
660 	TDA18273_Range_LNA_Adapt_20dB_11dB,                         /* Range LNA Adapt */ \
661 	TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_18_25dB,              /* LNA Adapt RFAGC Gv Threshold */ \
662 	TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_16_75dB,         /* AGC1 TOP Adapt RFAGC Gv Threshold */ \
663 	TDA18273_AGC2_TOP_DN_UP_d90_u84dBuV,                        /* AGC2 TOP DN/UP */ \
664 		TDA18273_AGC2_DN_Time_Constant_8_188ms,                     /* AGC2 DN Time Constant */ \
665 	TDA18273_AGC3_TOP_I2C_104dBuV,                              /* AGC3 TOP I2C Low Band */ \
666 		TDA18273_AGC3_TOP_I2C_104dBuV,                              /* AGC3 TOP I2C High Band */ \
667 	TDA18273_AGC4_TOP_DN_UP_d112_u107dBuV,                      /* AGC4 TOP DN/UP */ \
668 	TDA18273_AGC5_TOP_DN_UP_d112_u107dBuV,                      /* AGC5 TOP DN/UP */ \
669 	TDA18273_Top_Adapt_TOP_ADAPT35,                             /* AGC3 TOP Adapt Algorithm */ \
670 	TDA18273_AGC3_Adapt_TOP_3_Step,                             /* AGC3 Adapt Low Band */ \
671 		TDA18273_AGC3_Adapt_TOP_3_Step,                             /* AGC3 Adapt High Band */ \
672 	TDA18273_AGC_Overload_TOP_plus_9_plus_4_5_min_3_5,          /* AGC Overload TOP */ \
673 	TDA18273_TH_AGC_Adapt34_5dB,                                /* Adapt TOP 34 Gain Threshold */ \
674 	TDA18273_RF_Atten_3dB_Enabled,                              /* RF Atten 3dB */ \
675 	TDA18273_IF_Output_Level_0_6Vpp_min_10_3_19_7dB,           /* IF Output Level */ \
676 	TDA18273_S2D_Gain_3dB,                                      /* S2D Gain */ \
677 	TDA18273_Negative_Modulation_Disabled,                      /* Negative Modulation */ \
678 	TDA18273_AGCK_Steps_0_2dB,                                  /* Step */ \
679 	TDA18273_AGCK_Time_Constant_32_768ms,                       /* AGCK Time Constant */ \
680 	TDA18273_AGC5_HPF_Disabled,                                 /* AGC5 HPF */ \
681 	TDA18273_Pulse_Shaper_Disable_Enabled,                      /* Pulse Shaper Disable */ \
682 	TDA18273_VHF_III_Mode_Enabled,                              /* VHF III Mode */ \
683 	TDA18273_LO_CP_Current_Enabled,                             /* LO CP Current */ \
684 		TDA18273_PD_Underload_Disabled,                             /* PD Underload */ \
685 		662000000													/* Frequency Start LTE */ \
686     }
687 
688 #define TDA18273_INSTANCE_CUSTOM_STD_ISDBT_6MHZ \
689     {                                                               /* ISDBT */ \
690 	3250000,                                                    /* IF */ \
691 	0,                                                          /* CF_Offset */ \
692 	TDA18273_LPF_6MHz,                                          /* LPF */ \
693 	TDA18273_LPFOffset_0pc,                                     /* LPF_Offset */ \
694 	TDA18273_DC_Notch_IF_PPF_Enabled,                           /* DC notch IF PPF */ \
695 	TDA18273_IF_HPF_0_4MHz,                                     /* Hi Pass */ \
696 	TDA18273_IF_Notch_Enabled,                                  /* IF notch */ \
697 	TDA18273_IFnotchToRSSI_Disabled,                            /* IF notch To RSSI */ \
698 	TDA18273_AGC1_TOP_I2C_DN_UP_d95_u89dBuV,                    /* AGC1 TOP I2C DN/UP */ \
699 	TDA18273_AGC1_Adapt_TOP_DN_UP_0_Step,                       /* AGC1 Adapt TOP DN/UP */ \
700 		TDA18273_AGC1_DN_Time_Constant_8_188ms,                     /* AGC1 DN Time Constant */ \
701 	TDA18273_AGC1_Mode_LNA_ADAPT,                               /* AGC1 mode */ \
702 	TDA18273_Range_LNA_Adapt_20dB_11dB,                         /* Range LNA Adapt */ \
703 	TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_18_25dB,              /* LNA Adapt RFAGC Gv Threshold */ \
704 	TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_16_75dB,         /* AGC1 TOP Adapt RFAGC Gv Threshold */ \
705 	TDA18273_AGC2_TOP_DN_UP_d90_u84dBuV,                        /* AGC2 TOP DN/UP */ \
706 		TDA18273_AGC2_DN_Time_Constant_8_188ms,                     /* AGC2 DN Time Constant */ \
707 	TDA18273_AGC3_TOP_I2C_100dBuV,                              /* AGC3 TOP I2C Low Band */ \
708 		TDA18273_AGC3_TOP_I2C_100dBuV,                              /* AGC3 TOP I2C High Band */ \
709 	TDA18273_AGC4_TOP_DN_UP_d110_u105dBuV,                      /* AGC4 TOP DN/UP */ \
710 	TDA18273_AGC5_TOP_DN_UP_d110_u105dBuV,                      /* AGC5 TOP DN/UP */ \
711 	TDA18273_Top_Adapt_TOP_ADAPT35,                             /* AGC3 TOP Adapt Algorithm */ \
712 	TDA18273_AGC3_Adapt_TOP_2_Step,                             /* AGC3 Adapt Low Band */ \
713 		TDA18273_AGC3_Adapt_TOP_2_Step,                             /* AGC3 Adapt High Band */ \
714 	TDA18273_AGC_Overload_TOP_plus_9_plus_4_5_min_3_5,          /* AGC Overload TOP */ \
715 	TDA18273_TH_AGC_Adapt34_5dB,                                /* Adapt TOP 34 Gain Threshold */ \
716 	TDA18273_RF_Atten_3dB_Enabled,                              /* RF Atten 3dB */ \
717 	TDA18273_IF_Output_Level_0_6Vpp_min_10_3_19_7dB,            /* IF Output Level */ \
718 	TDA18273_S2D_Gain_6dB,                                      /* S2D Gain */ \
719 	TDA18273_Negative_Modulation_Disabled,                      /* Negative Modulation */ \
720 	TDA18273_AGCK_Steps_0_2dB,                                  /* Step */ \
721 	TDA18273_AGCK_Time_Constant_32_768ms,                       /* AGCK Time Constant */ \
722 	TDA18273_AGC5_HPF_Disabled,                                 /* AGC5 HPF */ \
723 	TDA18273_Pulse_Shaper_Disable_Enabled,                      /* Pulse Shaper Disable */ \
724 	TDA18273_VHF_III_Mode_Enabled,                              /* VHF III Mode */ \
725 	TDA18273_LO_CP_Current_Enabled,                             /* LO CP Current */ \
726 		TDA18273_PD_Underload_Disabled,                             /* PD Underload */ \
727 		754000000													/* Frequency Start LTE */ \
728     }
729 
730 #define TDA18273_INSTANCE_CUSTOM_STD_DVBT_1_7MHZ \
731     {                                                               /* DVB-T/T2 1.7MHz */ \
732 	850000,                                                     /* IF */ \
733 	0,                                                          /* CF_Offset */ \
734 	TDA18273_LPF_1_5MHz,                                        /* LPF */ \
735 	TDA18273_LPFOffset_0pc,                                     /* LPF_Offset */ \
736 	TDA18273_DC_Notch_IF_PPF_Disabled,                          /* DC notch IF PPF */ \
737 	TDA18273_IF_HPF_Disabled,                                   /* Hi Pass */ \
738 	TDA18273_IF_Notch_Disabled,                                 /* IF notch */ \
739 	TDA18273_IFnotchToRSSI_Enabled,                             /* IF notch To RSSI */ \
740 	TDA18273_AGC1_TOP_I2C_DN_UP_d95_u89dBuV,                    /* AGC1 TOP I2C DN/UP */ \
741 	TDA18273_AGC1_Adapt_TOP_DN_UP_0_Step,                       /* AGC1 Adapt TOP DN/UP */ \
742 		TDA18273_AGC1_DN_Time_Constant_4_094ms,                     /* AGC1 DN Time Constant */ \
743 	TDA18273_AGC1_Mode_LNA_ADAPT,                               /* AGC1 mode */ \
744 	TDA18273_Range_LNA_Adapt_20dB_11dB,                         /* Range LNA Adapt */ \
745 	TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_18_25dB,              /* LNA Adapt RFAGC Gv Threshold */ \
746 	TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_16_75dB,         /* AGC1 TOP Adapt RFAGC Gv Threshold */ \
747 	TDA18273_AGC2_TOP_DN_UP_d90_u84dBuV,                        /* AGC2 TOP DN/UP */ \
748 		TDA18273_AGC2_DN_Time_Constant_2_047ms,                     /* AGC2 DN Time Constant */ \
749 	TDA18273_AGC3_TOP_I2C_100dBuV,                              /* AGC3 TOP I2C Low Band */ \
750 		TDA18273_AGC3_TOP_I2C_94dBuV,                               /* AGC3 TOP I2C High Band */ \
751 	TDA18273_AGC4_TOP_DN_UP_d110_u105dBuV,                      /* AGC4 TOP DN/UP */ \
752 	TDA18273_AGC5_TOP_DN_UP_d110_u105dBuV,                      /* AGC5 TOP DN/UP */ \
753 	TDA18273_Top_Adapt_TOP_ADAPT35,                             /* AGC3 TOP Adapt Algorithm */ \
754 	TDA18273_AGC3_Adapt_TOP_2_Step,                             /* AGC3 Adapt Low Band */ \
755 		TDA18273_AGC3_Adapt_TOP_0_Step,                             /* AGC3 Adapt High Band */ \
756 	TDA18273_AGC_Overload_TOP_plus_9_plus_4_5_min_3_5,          /* AGC Overload TOP */ \
757 	TDA18273_TH_AGC_Adapt34_5dB,                                /* Adapt TOP 34 Gain Threshold */ \
758 	TDA18273_RF_Atten_3dB_Enabled,                              /* RF Atten 3dB */ \
759 	TDA18273_IF_Output_Level_1Vpp_min_6_24dB,                   /* IF Output Level */ \
760 	TDA18273_S2D_Gain_6dB,                                      /* S2D Gain */ \
761 	TDA18273_Negative_Modulation_Disabled,                      /* Negative Modulation */ \
762 	TDA18273_AGCK_Steps_0_2dB,                                  /* Step */ \
763 	TDA18273_AGCK_Time_Constant_32_768ms,                       /* AGCK Time Constant */ \
764 	TDA18273_AGC5_HPF_Disabled,                                 /* AGC5 HPF */ \
765 	TDA18273_Pulse_Shaper_Disable_Enabled,                      /* Pulse Shaper Disable */ \
766 	TDA18273_VHF_III_Mode_Enabled,                              /* VHF III Mode */ \
767 	TDA18273_LO_CP_Current_Enabled,                             /* LO CP Current */ \
768 		TDA18273_PD_Underload_Enabled,                              /* PD Underload */ \
769 		754000000													/* Frequency Start LTE */ \
770     }
771 
772 #define TDA18273_INSTANCE_CUSTOM_STD_DVBT_6MHZ \
773     {                                                               /* DVB-T/T2 6MHz */ \
774 	3250000,                                                    /* IF */ \
775 	0,                                                          /* CF_Offset */ \
776 	TDA18273_LPF_6MHz,                                          /* LPF */ \
777 	TDA18273_LPFOffset_0pc,                                     /* LPF_Offset */ \
778 	TDA18273_DC_Notch_IF_PPF_Enabled,                           /* DC notch IF PPF */ \
779 	TDA18273_IF_HPF_0_4MHz,                                     /* Hi Pass */ \
780 	TDA18273_IF_Notch_Enabled,                                  /* IF notch */ \
781 	TDA18273_IFnotchToRSSI_Disabled,                            /* IF notch To RSSI */ \
782 	TDA18273_AGC1_TOP_I2C_DN_UP_d95_u89dBuV,                    /* AGC1 TOP I2C DN/UP */ \
783 	TDA18273_AGC1_Adapt_TOP_DN_UP_0_Step,                       /* AGC1 Adapt TOP DN/UP */ \
784 		TDA18273_AGC1_DN_Time_Constant_4_094ms,                     /* AGC1 DN Time Constant */ \
785 	TDA18273_AGC1_Mode_LNA_ADAPT,                               /* AGC1 mode */ \
786 	TDA18273_Range_LNA_Adapt_20dB_11dB,                         /* Range LNA Adapt */ \
787 	TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_18_25dB,              /* LNA Adapt RFAGC Gv Threshold */ \
788 	TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_16_75dB,         /* AGC1 TOP Adapt RFAGC Gv Threshold */ \
789 	TDA18273_AGC2_TOP_DN_UP_d90_u84dBuV,                        /* AGC2 TOP DN/UP */ \
790 		TDA18273_AGC2_DN_Time_Constant_2_047ms,                     /* AGC2 DN Time Constant */ \
791 	TDA18273_AGC3_TOP_I2C_100dBuV,                              /* AGC3 TOP I2C Low Band */ \
792 		TDA18273_AGC3_TOP_I2C_94dBuV,                               /* AGC3 TOP I2C High Band */ \
793 	TDA18273_AGC4_TOP_DN_UP_d110_u105dBuV,                      /* AGC4 TOP DN/UP */ \
794 	TDA18273_AGC5_TOP_DN_UP_d110_u105dBuV,                      /* AGC5 TOP DN/UP */ \
795 	TDA18273_Top_Adapt_TOP_ADAPT35,                             /* AGC3 TOP Adapt Algorithm */ \
796 	TDA18273_AGC3_Adapt_TOP_2_Step,                             /* AGC3 Adapt Low Band */ \
797 		TDA18273_AGC3_Adapt_TOP_0_Step,                             /* AGC3 Adapt High Band */ \
798 	TDA18273_AGC_Overload_TOP_plus_9_plus_4_5_min_3_5,          /* AGC Overload TOP */ \
799 	TDA18273_TH_AGC_Adapt34_5dB,                                /* Adapt TOP 34 Gain Threshold */ \
800 	TDA18273_RF_Atten_3dB_Enabled,                              /* RF Atten 3dB */ \
801 	TDA18273_IF_Output_Level_1Vpp_min_6_24dB,                   /* IF Output Level */ \
802 	TDA18273_S2D_Gain_6dB,                                      /* S2D Gain */ \
803 	TDA18273_Negative_Modulation_Disabled,                      /* Negative Modulation */ \
804 	TDA18273_AGCK_Steps_0_2dB,                                  /* Step */ \
805 	TDA18273_AGCK_Time_Constant_32_768ms,                       /* AGCK Time Constant */ \
806 	TDA18273_AGC5_HPF_Disabled,                                 /* AGC5 HPF */ \
807 	TDA18273_Pulse_Shaper_Disable_Enabled,                      /* Pulse Shaper Disable */ \
808 	TDA18273_VHF_III_Mode_Enabled,                              /* VHF III Mode */ \
809 	TDA18273_LO_CP_Current_Enabled,                             /* LO CP Current */ \
810 		TDA18273_PD_Underload_Enabled,                              /* PD Underload */ \
811 		754000000													/* Frequency Start LTE */ \
812     }
813 
814 #define TDA18273_INSTANCE_CUSTOM_STD_DVBT_7MHZ \
815     {                                                               /* DVB-T/T2 7MHz */ \
816 	3500000,                                                    /* IF */ \
817 	0,                                                          /* CF_Offset */ \
818 	TDA18273_LPF_7MHz,                                          /* LPF */ \
819 	TDA18273_LPFOffset_min_8pc,                                 /* LPF_Offset */ \
820 	TDA18273_DC_Notch_IF_PPF_Enabled,                           /* DC notch IF PPF */ \
821 	TDA18273_IF_HPF_Disabled,                                   /* Hi Pass */ \
822 	TDA18273_IF_Notch_Enabled,                                  /* IF notch */ \
823 	TDA18273_IFnotchToRSSI_Disabled,                            /* IF notch To RSSI */ \
824 	TDA18273_AGC1_TOP_I2C_DN_UP_d95_u89dBuV,                    /* AGC1 TOP I2C DN/UP */ \
825 	TDA18273_AGC1_Adapt_TOP_DN_UP_0_Step,                       /* AGC1 Adapt TOP DN/UP */ \
826 		TDA18273_AGC1_DN_Time_Constant_4_094ms,                     /* AGC1 DN Time Constant */ \
827 	TDA18273_AGC1_Mode_LNA_ADAPT,                               /* AGC1 mode */ \
828 	TDA18273_Range_LNA_Adapt_20dB_11dB,                         /* Range LNA Adapt */ \
829 	TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_18_25dB,              /* LNA Adapt RFAGC Gv Threshold */ \
830 	TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_16_75dB,         /* AGC1 TOP Adapt RFAGC Gv Threshold */ \
831 	TDA18273_AGC2_TOP_DN_UP_d90_u84dBuV,                        /* AGC2 TOP DN/UP */ \
832 		TDA18273_AGC2_DN_Time_Constant_2_047ms,                     /* AGC2 DN Time Constant */ \
833 	TDA18273_AGC3_TOP_I2C_100dBuV,                              /* AGC3 TOP I2C Low Band */ \
834 		TDA18273_AGC3_TOP_I2C_94dBuV,                               /* AGC3 TOP I2C High Band */ \
835 	TDA18273_AGC4_TOP_DN_UP_d110_u105dBuV,                      /* AGC4 TOP DN/UP */ \
836 	TDA18273_AGC5_TOP_DN_UP_d110_u105dBuV,                      /* AGC5 TOP DN/UP */ \
837 	TDA18273_Top_Adapt_TOP_ADAPT35,                             /* AGC3 TOP Adapt Algorithm */ \
838 	TDA18273_AGC3_Adapt_TOP_2_Step,                             /* AGC3 Adapt Low Band */ \
839 		TDA18273_AGC3_Adapt_TOP_0_Step,                             /* AGC3 Adapt High Band */ \
840 	TDA18273_AGC_Overload_TOP_plus_9_plus_4_5_min_3_5,          /* AGC Overload TOP */ \
841 	TDA18273_TH_AGC_Adapt34_5dB,                                /* Adapt TOP 34 Gain Threshold */ \
842 	TDA18273_RF_Atten_3dB_Enabled,                              /* RF Atten 3dB */ \
843 	TDA18273_IF_Output_Level_1Vpp_min_6_24dB,                   /* IF Output Level */ \
844 	TDA18273_S2D_Gain_6dB,                                      /* S2D Gain */ \
845 	TDA18273_Negative_Modulation_Disabled,                      /* Negative Modulation */ \
846 	TDA18273_AGCK_Steps_0_2dB,                                  /* Step */ \
847 	TDA18273_AGCK_Time_Constant_32_768ms,                       /* AGCK Time Constant */ \
848 	TDA18273_AGC5_HPF_Disabled,                                 /* AGC5 HPF */ \
849 	TDA18273_Pulse_Shaper_Disable_Enabled,                      /* Pulse Shaper Disable */ \
850 	TDA18273_VHF_III_Mode_Enabled,                              /* VHF III Mode */ \
851 	TDA18273_LO_CP_Current_Enabled,                             /* LO CP Current */ \
852 		TDA18273_PD_Underload_Enabled,                              /* PD Underload */ \
853 		754000000													/* Frequency Start LTE */ \
854     }
855 
856 #define TDA18273_INSTANCE_CUSTOM_STD_DVBT_8MHZ \
857     {                                                               /* DVB-T/T2 8MHz */ \
858 	4000000,                                                    /* IF */ \
859 	0,                                                          /* CF_Offset */ \
860 	TDA18273_LPF_8MHz,                                          /* LPF */ \
861 	TDA18273_LPFOffset_0pc,                                     /* LPF_Offset */ \
862 	TDA18273_DC_Notch_IF_PPF_Enabled,                           /* DC notch IF PPF */ \
863 	TDA18273_IF_HPF_Disabled,                                   /* Hi Pass */ \
864 	TDA18273_IF_Notch_Enabled,                                  /* IF notch */ \
865 	TDA18273_IFnotchToRSSI_Disabled,                            /* IF notch To RSSI */ \
866 	TDA18273_AGC1_TOP_I2C_DN_UP_d95_u89dBuV,                    /* AGC1 TOP I2C DN/UP */ \
867 	TDA18273_AGC1_Adapt_TOP_DN_UP_0_Step,                       /* AGC1 Adapt TOP DN/UP */ \
868 		TDA18273_AGC1_DN_Time_Constant_4_094ms,                     /* AGC1 DN Time Constant */ \
869 	TDA18273_AGC1_Mode_LNA_ADAPT,                               /* AGC1 mode */ \
870 	TDA18273_Range_LNA_Adapt_20dB_11dB,                         /* Range LNA Adapt */ \
871 	TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_18_25dB,              /* LNA Adapt RFAGC Gv Threshold */ \
872 	TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_16_75dB,         /* AGC1 TOP Adapt RFAGC Gv Threshold */ \
873 	TDA18273_AGC2_TOP_DN_UP_d90_u84dBuV,                        /* AGC2 TOP DN/UP */ \
874 		TDA18273_AGC2_DN_Time_Constant_2_047ms,                     /* AGC2 DN Time Constant */ \
875 	TDA18273_AGC3_TOP_I2C_100dBuV,                              /* AGC3 TOP I2C Low Band */ \
876 		TDA18273_AGC3_TOP_I2C_94dBuV,                               /* AGC3 TOP I2C High Band */ \
877 	TDA18273_AGC4_TOP_DN_UP_d110_u105dBuV,                      /* AGC4 TOP DN/UP */ \
878 	TDA18273_AGC5_TOP_DN_UP_d110_u105dBuV,                      /* AGC5 TOP DN/UP */ \
879 	TDA18273_Top_Adapt_TOP_ADAPT35,                             /* AGC3 TOP Adapt Algorithm */ \
880 	TDA18273_AGC3_Adapt_TOP_2_Step,                             /* AGC3 Adapt Low Band */ \
881 		TDA18273_AGC3_Adapt_TOP_0_Step,                             /* AGC3 Adapt High Band */ \
882 	TDA18273_AGC_Overload_TOP_plus_9_plus_4_5_min_3_5,          /* AGC Overload TOP */ \
883 	TDA18273_TH_AGC_Adapt34_5dB,                                /* Adapt TOP 34 Gain Threshold */ \
884 	TDA18273_RF_Atten_3dB_Enabled,                              /* RF Atten 3dB */ \
885 	TDA18273_IF_Output_Level_1Vpp_min_6_24dB,                   /* IF Output Level */ \
886 	TDA18273_S2D_Gain_6dB,                                      /* S2D Gain */ \
887 	TDA18273_Negative_Modulation_Disabled,                      /* Negative Modulation */ \
888 	TDA18273_AGCK_Steps_0_2dB,                                  /* Step */ \
889 	TDA18273_AGCK_Time_Constant_32_768ms,                       /* AGCK Time Constant */ \
890 	TDA18273_AGC5_HPF_Disabled,                                 /* AGC5 HPF */ \
891 	TDA18273_Pulse_Shaper_Disable_Enabled,                      /* Pulse Shaper Disable */ \
892 	TDA18273_VHF_III_Mode_Enabled,                              /* VHF III Mode */ \
893 	TDA18273_LO_CP_Current_Enabled,                             /* LO CP Current */ \
894 		TDA18273_PD_Underload_Enabled,                              /* PD Underload */ \
895 		754000000													/* Frequency Start LTE */ \
896     }
897 
898 #define TDA18273_INSTANCE_CUSTOM_STD_DVBT_10MHZ \
899     {                                                               /* DVB-T/T2 10MHz */ \
900 	5000000,                                                    /* IF */ \
901 	0,                                                          /* CF_Offset */ \
902 	TDA18273_LPF_9MHz,                                          /* LPF */ \
903 	TDA18273_LPFOffset_0pc,                                     /* LPF_Offset */ \
904 	TDA18273_DC_Notch_IF_PPF_Enabled,                           /* DC notch IF PPF */ \
905 	TDA18273_IF_HPF_Disabled,                                   /* Hi Pass */ \
906 	TDA18273_IF_Notch_Disabled,                                 /* IF notch */ \
907 	TDA18273_IFnotchToRSSI_Enabled,                             /* IF notch To RSSI */ \
908 	TDA18273_AGC1_TOP_I2C_DN_UP_d95_u89dBuV,                    /* AGC1 TOP I2C DN/UP */ \
909 	TDA18273_AGC1_Adapt_TOP_DN_UP_0_Step,                       /* AGC1 Adapt TOP DN/UP */ \
910 		TDA18273_AGC1_DN_Time_Constant_8_188ms,                     /* AGC1 DN Time Constant */ \
911 	TDA18273_AGC1_Mode_LNA_ADAPT,                               /* AGC1 mode */ \
912 	TDA18273_Range_LNA_Adapt_20dB_11dB,                         /* Range LNA Adapt */ \
913 	TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_18_25dB,              /* LNA Adapt RFAGC Gv Threshold */ \
914 	TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_16_75dB,         /* AGC1 TOP Adapt RFAGC Gv Threshold */ \
915 	TDA18273_AGC2_TOP_DN_UP_d90_u84dBuV,                        /* AGC2 TOP DN/UP */ \
916 		TDA18273_AGC2_DN_Time_Constant_8_188ms,                     /* AGC2 DN Time Constant */ \
917 	TDA18273_AGC3_TOP_I2C_100dBuV,                              /* AGC3 TOP I2C Low Band */ \
918 		TDA18273_AGC3_TOP_I2C_100dBuV,                              /* AGC3 TOP I2C High Band */ \
919 	TDA18273_AGC4_TOP_DN_UP_d110_u105dBuV,                      /* AGC4 TOP DN/UP */ \
920 	TDA18273_AGC5_TOP_DN_UP_d110_u105dBuV,                      /* AGC5 TOP DN/UP */ \
921 	TDA18273_Top_Adapt_TOP_ADAPT35,                             /* AGC3 TOP Adapt Algorithm */ \
922 	TDA18273_AGC3_Adapt_TOP_2_Step,                             /* AGC3 Adapt Low Band */ \
923 		TDA18273_AGC3_Adapt_TOP_2_Step,                             /* AGC3 Adapt High Band */ \
924 	TDA18273_AGC_Overload_TOP_plus_9_plus_4_5_min_3_5,          /* AGC Overload TOP */ \
925 	TDA18273_TH_AGC_Adapt34_5dB,                                /* Adapt TOP 34 Gain Threshold */ \
926 	TDA18273_RF_Atten_3dB_Enabled,                              /* RF Atten 3dB */ \
927 	TDA18273_IF_Output_Level_1Vpp_min_6_24dB,                   /* IF Output Level */ \
928 	TDA18273_S2D_Gain_6dB,                                      /* S2D Gain */ \
929 	TDA18273_Negative_Modulation_Disabled,                      /* Negative Modulation */ \
930 	TDA18273_AGCK_Steps_0_2dB,                                  /* Step */ \
931 	TDA18273_AGCK_Time_Constant_32_768ms,                       /* AGCK Time Constant */ \
932 	TDA18273_AGC5_HPF_Disabled,                                 /* AGC5 HPF */ \
933 	TDA18273_Pulse_Shaper_Disable_Enabled,                      /* Pulse Shaper Disable */ \
934 	TDA18273_VHF_III_Mode_Enabled,                              /* VHF III Mode */ \
935 	TDA18273_LO_CP_Current_Enabled,                             /* LO CP Current */ \
936 		TDA18273_PD_Underload_Disabled,                             /* PD Underload */ \
937 		754000000													/* Frequency Start LTE */ \
938     }
939 
940 #define TDA18273_INSTANCE_CUSTOM_STD_DMBT_8MHZ \
941     {                                                               /* DMB-T */ \
942 	4000000,                                                    /* IF */ \
943 	0,                                                          /* CF_Offset */ \
944 	TDA18273_LPF_8MHz,                                          /* LPF */ \
945 	TDA18273_LPFOffset_0pc,                                     /* LPF_Offset */ \
946 	TDA18273_DC_Notch_IF_PPF_Enabled,                           /* DC notch IF PPF */ \
947 	TDA18273_IF_HPF_Disabled,                                   /* Hi Pass */ \
948 	TDA18273_IF_Notch_Enabled,                                  /* IF notch */ \
949 	TDA18273_IFnotchToRSSI_Disabled,                            /* IF notch To RSSI */ \
950 	TDA18273_AGC1_TOP_I2C_DN_UP_d95_u89dBuV,                    /* AGC1 TOP I2C DN/UP */ \
951 	TDA18273_AGC1_Adapt_TOP_DN_UP_0_Step,                       /* AGC1 Adapt TOP DN/UP */ \
952 		TDA18273_AGC1_DN_Time_Constant_8_188ms,                     /* AGC1 DN Time Constant */ \
953 	TDA18273_AGC1_Mode_LNA_ADAPT,                               /* AGC1 mode */ \
954 	TDA18273_Range_LNA_Adapt_20dB_11dB,                         /* Range LNA Adapt */ \
955 	TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_18_25dB,              /* LNA Adapt RFAGC Gv Threshold */ \
956 	TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_16_75dB,         /* AGC1 TOP Adapt RFAGC Gv Threshold */ \
957 	TDA18273_AGC2_TOP_DN_UP_d90_u84dBuV,                        /* AGC2 TOP DN/UP */ \
958 		TDA18273_AGC2_DN_Time_Constant_8_188ms,                     /* AGC2 DN Time Constant */ \
959 	TDA18273_AGC3_TOP_I2C_100dBuV,                              /* AGC3 TOP I2C Low Band */ \
960 		TDA18273_AGC3_TOP_I2C_100dBuV,                              /* AGC3 TOP I2C High Band */ \
961 	TDA18273_AGC4_TOP_DN_UP_d110_u105dBuV,                      /* AGC4 TOP DN/UP */ \
962 	TDA18273_AGC5_TOP_DN_UP_d110_u105dBuV,                      /* AGC5 TOP DN/UP */ \
963 	TDA18273_Top_Adapt_TOP_ADAPT35,                             /* AGC3 TOP Adapt Algorithm */ \
964 	TDA18273_AGC3_Adapt_TOP_2_Step,                             /* AGC3 Adapt Low Band */ \
965 		TDA18273_AGC3_Adapt_TOP_2_Step,                             /* AGC3 Adapt High Band */ \
966 	TDA18273_AGC_Overload_TOP_plus_9_plus_4_5_min_3_5,          /* AGC Overload TOP */ \
967 	TDA18273_TH_AGC_Adapt34_5dB,                                /* Adapt TOP 34 Gain Threshold */ \
968 	TDA18273_RF_Atten_3dB_Enabled,                              /* RF Atten 3dB */ \
969 	TDA18273_IF_Output_Level_1Vpp_min_6_24dB,                   /* IF Output Level */ \
970 	TDA18273_S2D_Gain_6dB,                                      /* S2D Gain */ \
971 	TDA18273_Negative_Modulation_Disabled,                      /* Negative Modulation */ \
972 	TDA18273_AGCK_Steps_0_2dB,                                  /* Step */ \
973 	TDA18273_AGCK_Time_Constant_32_768ms,                       /* AGCK Time Constant */ \
974 	TDA18273_AGC5_HPF_Disabled,                                 /* AGC5 HPF */ \
975 	TDA18273_Pulse_Shaper_Disable_Enabled,                      /* Pulse Shaper Disable */ \
976 	TDA18273_VHF_III_Mode_Enabled,                              /* VHF III Mode */ \
977 	TDA18273_LO_CP_Current_Enabled,                             /* LO CP Current */ \
978 		TDA18273_PD_Underload_Disabled,                             /* PD Underload */ \
979 		754000000													/* Frequency Start LTE */ \
980     }
981 
982 #define TDA18273_INSTANCE_CUSTOM_STD_ANALOG_FM_RADIO \
983     {                                                               /* FM */ \
984 	1250000,                                                    /* IF */ \
985 	0,                                                          /* CF_Offset */ \
986 	TDA18273_LPF_1_5MHz,                                        /* LPF */ \
987 	TDA18273_LPFOffset_0pc,                                     /* LPF_Offset */ \
988 	TDA18273_DC_Notch_IF_PPF_Enabled,                           /* DC notch IF PPF */ \
989 	TDA18273_IF_HPF_0_85MHz,                                    /* Hi Pass */ \
990 	TDA18273_IF_Notch_Disabled,                                 /* IF notch */ \
991 	TDA18273_IFnotchToRSSI_Disabled,                            /* IF notch To RSSI */ \
992 	TDA18273_AGC1_TOP_I2C_DN_UP_d95_u89dBuV,                    /* AGC1 TOP I2C DN/UP */ \
993 	TDA18273_AGC1_Adapt_TOP_DN_UP_1_Step,                       /* AGC1 Adapt TOP DN/UP */ \
994 		TDA18273_AGC1_DN_Time_Constant_8_188ms,                     /* AGC1 DN Time Constant */ \
995 	TDA18273_AGC1_Mode_LNA_ADAPT_TOP_ADAPT,                     /* AGC1 mode */ \
996 	TDA18273_Range_LNA_Adapt_20dB_11dB,                         /* Range LNA Adapt */ \
997 	TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_18_25dB,              /* LNA Adapt RFAGC Gv Threshold */ \
998 	TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_15_25dB,         /* AGC1 TOP Adapt RFAGC Gv Threshold */ \
999 	TDA18273_AGC2_TOP_DN_UP_d90_u84dBuV,                        /* AGC2 TOP DN/UP */ \
1000 		TDA18273_AGC2_DN_Time_Constant_8_188ms,                     /* AGC2 DN Time Constant */ \
1001 	TDA18273_AGC3_TOP_I2C_96dBuV,                               /* AGC3 TOP I2C Low Band */ \
1002 		TDA18273_AGC3_TOP_I2C_96dBuV,                               /* AGC3 TOP I2C High Band */ \
1003 	TDA18273_AGC4_TOP_DN_UP_d105_u100dBuV,                      /* AGC4 TOP DN/UP */ \
1004 	TDA18273_AGC5_TOP_DN_UP_d105_u100dBuV,                      /* AGC5 TOP DN/UP */ \
1005 	TDA18273_Top_Adapt_TOP_ADAPT34,                             /* AGC3 TOP Adapt Algorithm */ \
1006 	TDA18273_AGC3_Adapt_TOP_1_Step,                             /* AGC3 Adapt Low Band */ \
1007 		TDA18273_AGC3_Adapt_TOP_1_Step,                             /* AGC3 Adapt High Band */ \
1008 	TDA18273_AGC_Overload_TOP_plus_9_plus_4_5_min_3_5,          /* AGC Overload TOP */ \
1009 	TDA18273_TH_AGC_Adapt34_5dB,                                /* Adapt TOP 34 Gain Threshold */ \
1010 	TDA18273_RF_Atten_3dB_Disabled,                             /* RF Atten 3dB */ \
1011 	TDA18273_IF_Output_Level_0_8Vpp_min_8_22dB,                 /* IF Output Level */ \
1012 	TDA18273_S2D_Gain_6dB,                                      /* S2D Gain */ \
1013 	TDA18273_Negative_Modulation_Disabled,                      /* Negative Modulation */ \
1014 	TDA18273_AGCK_Steps_0_2dB,                                  /* Step */ \
1015 	TDA18273_AGCK_Time_Constant_32_768ms,                       /* AGCK Time Constant */ \
1016 	TDA18273_AGC5_HPF_Disabled,                                 /* AGC5 HPF */ \
1017 	TDA18273_Pulse_Shaper_Disable_Enabled,                      /* Pulse Shaper Disable */ \
1018 	TDA18273_VHF_III_Mode_Disabled,                             /* VHF III Mode */ \
1019 	TDA18273_LO_CP_Current_Enabled,                             /* LO CP Current */ \
1020 		TDA18273_PD_Underload_Disabled,                             /* PD Underload */ \
1021 		754000000													/* Frequency Start LTE */ \
1022     }
1023 
1024 #define TDA18273_INSTANCE_CUSTOM_STD_ANALOG_MN \
1025     {                                                               /* NTSC M/N */ \
1026 	5400000,                                                    /* IF */ \
1027 	1750000,                                                    /* CF_Offset */ \
1028 	TDA18273_LPF_6MHz,                                          /* LPF */ \
1029 	TDA18273_LPFOffset_0pc,                                     /* LPF_Offset */ \
1030 	TDA18273_DC_Notch_IF_PPF_Disabled,                          /* DC notch IF PPF */ \
1031 	TDA18273_IF_HPF_Disabled,                                   /* Hi Pass */ \
1032 	TDA18273_IF_Notch_Disabled,                                 /* IF notch */ \
1033 	TDA18273_IFnotchToRSSI_Enabled,                             /* IF notch To RSSI */ \
1034 	TDA18273_AGC1_TOP_I2C_DN_UP_d95_u89dBuV,                    /* AGC1 TOP I2C DN/UP */ \
1035 	TDA18273_AGC1_Adapt_TOP_DN_UP_1_Step,                       /* AGC1 Adapt TOP DN/UP */ \
1036 		TDA18273_AGC1_DN_Time_Constant_8_188ms,                     /* AGC1 DN Time Constant */ \
1037 	TDA18273_AGC1_Mode_LNA_ADAPT_TOP_ADAPT,                     /* AGC1 mode */ \
1038 	TDA18273_Range_LNA_Adapt_20dB_11dB,                         /* Range LNA Adapt */ \
1039 	TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_18_25dB,              /* LNA Adapt RFAGC Gv Threshold */ \
1040 	TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_15_25dB,         /* AGC1 TOP Adapt RFAGC Gv Threshold */ \
1041 	TDA18273_AGC2_TOP_DN_UP_d90_u84dBuV,                        /* AGC2 TOP DN/UP */ \
1042 		TDA18273_AGC2_DN_Time_Constant_8_188ms,                     /* AGC2 DN Time Constant */ \
1043 	TDA18273_AGC3_TOP_I2C_96dBuV,                               /* AGC3 TOP I2C Low Band */ \
1044 		TDA18273_AGC3_TOP_I2C_96dBuV,                               /* AGC3 TOP I2C High Band */ \
1045 	TDA18273_AGC4_TOP_DN_UP_d105_u100dBuV,                      /* AGC4 TOP DN/UP */ \
1046 	TDA18273_AGC5_TOP_DN_UP_d105_u100dBuV,                      /* AGC5 TOP DN/UP */ \
1047 	TDA18273_Top_Adapt_TOP_ADAPT34,                             /* AGC3 TOP Adapt Algorithm */ \
1048 	TDA18273_AGC3_Adapt_TOP_1_Step,                             /* AGC3 Adapt Low Band */ \
1049 		TDA18273_AGC3_Adapt_TOP_1_Step,                             /* AGC3 Adapt High Band */ \
1050 	TDA18273_AGC_Overload_TOP_plus_9_plus_4_5_min_3_5,          /* AGC Overload TOP */ \
1051 	TDA18273_TH_AGC_Adapt34_5dB,                                /* Adapt TOP 34 Gain Threshold */ \
1052 	TDA18273_RF_Atten_3dB_Disabled,                             /* RF Atten 3dB */ \
1053 	TDA18273_IF_Output_Level_0_7Vpp_min_9_21dB,                 /* IF Output Level */ \
1054 	TDA18273_S2D_Gain_6dB,                                      /* S2D Gain */ \
1055 	TDA18273_Negative_Modulation_Enabled,                       /* Negative Modulation */ \
1056 	TDA18273_AGCK_Steps_0_2dB,                                  /* Step */ \
1057 	TDA18273_AGCK_Time_Constant_1_STEP_EACH_VSYNC_RISING_EDGE,  /* AGCK Time Constant */ \
1058 	TDA18273_AGC5_HPF_Enabled,                                  /* AGC5 HPF */ \
1059 	TDA18273_Pulse_Shaper_Disable_Enabled,                      /* Pulse Shaper Disable */ \
1060 	TDA18273_VHF_III_Mode_Disabled,                             /* VHF III Mode */ \
1061 	TDA18273_LO_CP_Current_Enabled,                             /* LO CP Current */ \
1062 		TDA18273_PD_Underload_Disabled,                             /* PD Underload */ \
1063 		754000000													/* Frequency Start LTE */ \
1064     }
1065 
1066 #define TDA18273_INSTANCE_CUSTOM_STD_ANALOG_B \
1067     {                                                               /* PAL B */ \
1068 	6400000,                                                    /* IF */ \
1069 	2250000,                                                    /* CF_Offset */ \
1070 	TDA18273_LPF_7MHz,                                          /* LPF */ \
1071 	TDA18273_LPFOffset_0pc,                                     /* LPF_Offset */ \
1072 	TDA18273_DC_Notch_IF_PPF_Disabled,                          /* DC notch IF PPF */ \
1073 	TDA18273_IF_HPF_Disabled,                                   /* Hi Pass */ \
1074 	TDA18273_IF_Notch_Disabled,                                 /* IF notch */ \
1075 	TDA18273_IFnotchToRSSI_Enabled,                             /* IF notch To RSSI */ \
1076 	TDA18273_AGC1_TOP_I2C_DN_UP_d95_u89dBuV,                    /* AGC1 TOP I2C DN/UP */ \
1077 	TDA18273_AGC1_Adapt_TOP_DN_UP_1_Step,                       /* AGC1 Adapt TOP DN/UP */ \
1078 		TDA18273_AGC1_DN_Time_Constant_8_188ms,                     /* AGC1 DN Time Constant */ \
1079 	TDA18273_AGC1_Mode_LNA_ADAPT_TOP_ADAPT,                     /* AGC1 mode */ \
1080 	TDA18273_Range_LNA_Adapt_20dB_11dB,                         /* Range LNA Adapt */ \
1081 	TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_18_25dB,              /* LNA Adapt RFAGC Gv Threshold */ \
1082 	TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_15_25dB,         /* AGC1 TOP Adapt RFAGC Gv Threshold */ \
1083 	TDA18273_AGC2_TOP_DN_UP_d90_u84dBuV,                        /* AGC2 TOP DN/UP */ \
1084 		TDA18273_AGC2_DN_Time_Constant_8_188ms,                     /* AGC2 DN Time Constant */ \
1085 	TDA18273_AGC3_TOP_I2C_96dBuV,                               /* AGC3 TOP I2C Low Band */ \
1086 		TDA18273_AGC3_TOP_I2C_96dBuV,                               /* AGC3 TOP I2C High Band */ \
1087 	TDA18273_AGC4_TOP_DN_UP_d105_u100dBuV,                      /* AGC4 TOP DN/UP */ \
1088 	TDA18273_AGC5_TOP_DN_UP_d105_u100dBuV,                      /* AGC5 TOP DN/UP */ \
1089 	TDA18273_Top_Adapt_TOP_ADAPT34,                             /* AGC3 TOP Adapt Algorithm */ \
1090 	TDA18273_AGC3_Adapt_TOP_1_Step,                             /* AGC3 Adapt Low Band */ \
1091 		TDA18273_AGC3_Adapt_TOP_1_Step,                             /* AGC3 Adapt High Band */ \
1092 	TDA18273_AGC_Overload_TOP_plus_9_plus_4_5_min_3_5,          /* AGC Overload TOP */ \
1093 	TDA18273_TH_AGC_Adapt34_5dB,                                /* Adapt TOP 34 Gain Threshold */ \
1094 	TDA18273_RF_Atten_3dB_Disabled,                             /* RF Atten 3dB */ \
1095 	TDA18273_IF_Output_Level_0_7Vpp_min_9_21dB,                 /* IF Output Level */ \
1096 	TDA18273_S2D_Gain_6dB,                                      /* S2D Gain */ \
1097 	TDA18273_Negative_Modulation_Enabled,                       /* Negative Modulation */ \
1098 	TDA18273_AGCK_Steps_0_2dB,                                  /* Step */ \
1099 	TDA18273_AGCK_Time_Constant_1_STEP_EACH_VSYNC_RISING_EDGE,  /* AGCK Time Constant */ \
1100 	TDA18273_AGC5_HPF_Enabled,                                  /* AGC5 HPF */ \
1101 	TDA18273_Pulse_Shaper_Disable_Enabled,                      /* Pulse Shaper Disable */ \
1102 	TDA18273_VHF_III_Mode_Disabled,                             /* VHF III Mode */ \
1103 	TDA18273_LO_CP_Current_Enabled,                             /* LO CP Current */ \
1104 		TDA18273_PD_Underload_Disabled,                             /* PD Underload */ \
1105 		754000000													/* Frequency Start LTE */ \
1106     }
1107 
1108 #define TDA18273_INSTANCE_CUSTOM_STD_ANALOG_GH \
1109     {                                                               /* PAL G/H */ \
1110 	6750000,                                                    /* IF */ \
1111 	2750000,                                                    /* CF_Offset */ \
1112 	TDA18273_LPF_8MHz,                                          /* LPF */ \
1113 	TDA18273_LPFOffset_0pc,                                     /* LPF_Offset */ \
1114 	TDA18273_DC_Notch_IF_PPF_Disabled,                          /* DC notch IF PPF */ \
1115 	TDA18273_IF_HPF_Disabled,                                   /* Hi Pass */ \
1116 	TDA18273_IF_Notch_Disabled,                                 /* IF notch */ \
1117 	TDA18273_IFnotchToRSSI_Enabled,                             /* IF notch To RSSI */ \
1118 	TDA18273_AGC1_TOP_I2C_DN_UP_d95_u89dBuV,                    /* AGC1 TOP I2C DN/UP */ \
1119 	TDA18273_AGC1_Adapt_TOP_DN_UP_1_Step,                       /* AGC1 Adapt TOP DN/UP */ \
1120 		TDA18273_AGC1_DN_Time_Constant_8_188ms,                     /* AGC1 DN Time Constant */ \
1121 	TDA18273_AGC1_Mode_LNA_ADAPT_TOP_ADAPT,                     /* AGC1 mode */ \
1122 	TDA18273_Range_LNA_Adapt_20dB_11dB,                         /* Range LNA Adapt */ \
1123 	TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_18_25dB,              /* LNA Adapt RFAGC Gv Threshold */ \
1124 	TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_15_25dB,         /* AGC1 TOP Adapt RFAGC Gv Threshold */ \
1125 	TDA18273_AGC2_TOP_DN_UP_d90_u84dBuV,                        /* AGC2 TOP DN/UP */ \
1126 		TDA18273_AGC2_DN_Time_Constant_8_188ms,                     /* AGC2 DN Time Constant */ \
1127 	TDA18273_AGC3_TOP_I2C_96dBuV,                               /* AGC3 TOP I2C Low Band */ \
1128 		TDA18273_AGC3_TOP_I2C_96dBuV,                               /* AGC3 TOP I2C High Band */ \
1129 	TDA18273_AGC4_TOP_DN_UP_d105_u100dBuV,                      /* AGC4 TOP DN/UP */ \
1130 	TDA18273_AGC5_TOP_DN_UP_d105_u100dBuV,                      /* AGC5 TOP DN/UP */ \
1131 	TDA18273_Top_Adapt_TOP_ADAPT34,                             /* AGC3 TOP Adapt Algorithm */ \
1132 	TDA18273_AGC3_Adapt_TOP_1_Step,                             /* AGC3 Adapt Low Band */ \
1133 		TDA18273_AGC3_Adapt_TOP_1_Step,                             /* AGC3 Adapt High Band */ \
1134 	TDA18273_AGC_Overload_TOP_plus_9_plus_4_5_min_3_5,          /* AGC Overload TOP */ \
1135 	TDA18273_TH_AGC_Adapt34_5dB,                                /* Adapt TOP 34 Gain Threshold */ \
1136 	TDA18273_RF_Atten_3dB_Disabled,                             /* RF Atten 3dB */ \
1137 	TDA18273_IF_Output_Level_0_7Vpp_min_9_21dB,                 /* IF Output Level */ \
1138 	TDA18273_S2D_Gain_6dB,                                      /* S2D Gain */ \
1139 	TDA18273_Negative_Modulation_Enabled,                       /* Negative Modulation */ \
1140 	TDA18273_AGCK_Steps_0_2dB,                                  /* Step */ \
1141 	TDA18273_AGCK_Time_Constant_1_STEP_EACH_VSYNC_RISING_EDGE,  /* AGCK Time Constant */ \
1142 	TDA18273_AGC5_HPF_Enabled,                                  /* AGC5 HPF */ \
1143 	TDA18273_Pulse_Shaper_Disable_Enabled,                      /* Pulse Shaper Disable */ \
1144 	TDA18273_VHF_III_Mode_Disabled,                             /* VHF III Mode */ \
1145 	TDA18273_LO_CP_Current_Enabled,                             /* LO CP Current */ \
1146 		TDA18273_PD_Underload_Disabled,                             /* PD Underload */ \
1147 		754000000													/* Frequency Start LTE */ \
1148     }
1149 
1150 #define TDA18273_INSTANCE_CUSTOM_STD_ANALOG_I \
1151     {                                                               /* PAL I */ \
1152 	7250000,                                                    /* IF */ \
1153 	2750000,                                                    /* CF_Offset */ \
1154 	TDA18273_LPF_8MHz,                                          /* LPF */ \
1155 	TDA18273_LPFOffset_0pc,                                     /* LPF_Offset */ \
1156 	TDA18273_DC_Notch_IF_PPF_Disabled,                          /* DC notch IF PPF */ \
1157 	TDA18273_IF_HPF_Disabled,                                   /* Hi Pass */ \
1158 	TDA18273_IF_Notch_Disabled,                                 /* IF notch */ \
1159 	TDA18273_IFnotchToRSSI_Enabled,                             /* IF notch To RSSI */ \
1160 	TDA18273_AGC1_TOP_I2C_DN_UP_d95_u89dBuV,                    /* AGC1 TOP I2C DN/UP */ \
1161 	TDA18273_AGC1_Adapt_TOP_DN_UP_1_Step,                       /* AGC1 Adapt TOP DN/UP */ \
1162 		TDA18273_AGC1_DN_Time_Constant_8_188ms,                     /* AGC1 DN Time Constant */ \
1163 	TDA18273_AGC1_Mode_LNA_ADAPT_TOP_ADAPT,                     /* AGC1 mode */ \
1164 	TDA18273_Range_LNA_Adapt_20dB_11dB,                         /* Range LNA Adapt */ \
1165 	TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_18_25dB,              /* LNA Adapt RFAGC Gv Threshold */ \
1166 	TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_15_25dB,         /* AGC1 TOP Adapt RFAGC Gv Threshold */ \
1167 	TDA18273_AGC2_TOP_DN_UP_d90_u84dBuV,                        /* AGC2 TOP DN/UP */ \
1168 		TDA18273_AGC2_DN_Time_Constant_8_188ms,                     /* AGC2 DN Time Constant */ \
1169 	TDA18273_AGC3_TOP_I2C_96dBuV,                               /* AGC3 TOP I2C Low Band */ \
1170 		TDA18273_AGC3_TOP_I2C_96dBuV,                               /* AGC3 TOP I2C High Band */ \
1171 	TDA18273_AGC4_TOP_DN_UP_d105_u100dBuV,                      /* AGC4 TOP DN/UP */ \
1172 	TDA18273_AGC5_TOP_DN_UP_d105_u100dBuV,                      /* AGC5 TOP DN/UP */ \
1173 	TDA18273_Top_Adapt_TOP_ADAPT34,                             /* AGC3 TOP Adapt Algorithm */ \
1174 	TDA18273_AGC3_Adapt_TOP_1_Step,                             /* AGC3 Adapt Low Band */ \
1175 		TDA18273_AGC3_Adapt_TOP_1_Step,                             /* AGC3 Adapt High Band */ \
1176 	TDA18273_AGC_Overload_TOP_plus_9_plus_4_5_min_3_5,          /* AGC Overload TOP */ \
1177 	TDA18273_TH_AGC_Adapt34_5dB,                                /* Adapt TOP 34 Gain Threshold */ \
1178 	TDA18273_RF_Atten_3dB_Disabled,                             /* RF Atten 3dB */ \
1179 	TDA18273_IF_Output_Level_0_7Vpp_min_9_21dB,                 /* IF Output Level */ \
1180 	TDA18273_S2D_Gain_6dB,                                      /* S2D Gain */ \
1181 	TDA18273_Negative_Modulation_Enabled,                       /* Negative Modulation */ \
1182 	TDA18273_AGCK_Steps_0_2dB,                                  /* Step */ \
1183 	TDA18273_AGCK_Time_Constant_1_STEP_EACH_VSYNC_RISING_EDGE,  /* AGCK Time Constant */ \
1184 	TDA18273_AGC5_HPF_Enabled,                                  /* AGC5 HPF */ \
1185 	TDA18273_Pulse_Shaper_Disable_Enabled,                      /* Pulse Shaper Disable */ \
1186 	TDA18273_VHF_III_Mode_Disabled,                             /* VHF III Mode */ \
1187 	TDA18273_LO_CP_Current_Enabled,                             /* LO CP Current */ \
1188 		TDA18273_PD_Underload_Disabled,                             /* PD Underload */ \
1189 		754000000													/* Frequency Start LTE */ \
1190     }
1191 
1192 #define TDA18273_INSTANCE_CUSTOM_STD_ANALOG_DK \
1193     {                                                               /* SECAM D/K */ \
1194 	6850000,                                                    /* IF */ \
1195 	2750000,                                                    /* CF_Offset */ \
1196 	TDA18273_LPF_8MHz,                                          /* LPF */ \
1197 	TDA18273_LPFOffset_0pc,                                     /* LPF_Offset */ \
1198 	TDA18273_DC_Notch_IF_PPF_Disabled,                          /* DC notch IF PPF */ \
1199 	TDA18273_IF_HPF_Disabled,                                   /* Hi Pass */ \
1200 	TDA18273_IF_Notch_Enabled,                                  /* IF notch */ \
1201 	TDA18273_IFnotchToRSSI_Disabled,                            /* IF notch To RSSI */ \
1202 	TDA18273_AGC1_TOP_I2C_DN_UP_d95_u89dBuV,                    /* AGC1 TOP I2C DN/UP */ \
1203 	TDA18273_AGC1_Adapt_TOP_DN_UP_1_Step,                       /* AGC1 Adapt TOP DN/UP */ \
1204 		TDA18273_AGC1_DN_Time_Constant_8_188ms,                     /* AGC1 DN Time Constant */ \
1205 	TDA18273_AGC1_Mode_LNA_ADAPT_TOP_ADAPT,                     /* AGC1 mode */ \
1206 	TDA18273_Range_LNA_Adapt_20dB_11dB,                         /* Range LNA Adapt */ \
1207 	TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_18_25dB,              /* LNA Adapt RFAGC Gv Threshold */ \
1208 	TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_15_25dB,         /* AGC1 TOP Adapt RFAGC Gv Threshold */ \
1209 	TDA18273_AGC2_TOP_DN_UP_d90_u84dBuV,                        /* AGC2 TOP DN/UP */ \
1210 		TDA18273_AGC2_DN_Time_Constant_8_188ms,                     /* AGC2 DN Time Constant */ \
1211 	TDA18273_AGC3_TOP_I2C_96dBuV,                               /* AGC3 TOP I2C Low Band */ \
1212 		TDA18273_AGC3_TOP_I2C_96dBuV,                               /* AGC3 TOP I2C High Band */ \
1213 	TDA18273_AGC4_TOP_DN_UP_d105_u100dBuV,                      /* AGC4 TOP DN/UP */ \
1214 	TDA18273_AGC5_TOP_DN_UP_d105_u100dBuV,                      /* AGC5 TOP DN/UP */ \
1215 	TDA18273_Top_Adapt_TOP_ADAPT34,                             /* AGC3 TOP Adapt Algorithm */ \
1216 	TDA18273_AGC3_Adapt_TOP_1_Step,                             /* AGC3 Adapt Low Band */ \
1217 		TDA18273_AGC3_Adapt_TOP_1_Step,                             /* AGC3 Adapt High Band */ \
1218 	TDA18273_AGC_Overload_TOP_plus_9_plus_4_5_min_3_5,          /* AGC Overload TOP */ \
1219 	TDA18273_TH_AGC_Adapt34_5dB,                                /* Adapt TOP 34 Gain Threshold */ \
1220 	TDA18273_RF_Atten_3dB_Disabled,                             /* RF Atten 3dB */ \
1221 	TDA18273_IF_Output_Level_0_7Vpp_min_9_21dB,                 /* IF Output Level */ \
1222 	TDA18273_S2D_Gain_6dB,                                      /* S2D Gain */ \
1223 	TDA18273_Negative_Modulation_Enabled,                       /* Negative Modulation */ \
1224 	TDA18273_AGCK_Steps_0_2dB,                                  /* Step */ \
1225 	TDA18273_AGCK_Time_Constant_1_STEP_EACH_VSYNC_RISING_EDGE,  /* AGCK Time Constant */ \
1226 	TDA18273_AGC5_HPF_Enabled,                                  /* AGC5 HPF */ \
1227 	TDA18273_Pulse_Shaper_Disable_Enabled,                      /* Pulse Shaper Disable */ \
1228 	TDA18273_VHF_III_Mode_Disabled,                             /* VHF III Mode */ \
1229 	TDA18273_LO_CP_Current_Enabled,                             /* LO CP Current */ \
1230 		TDA18273_PD_Underload_Disabled,                             /* PD Underload */ \
1231 		754000000													/* Frequency Start LTE */ \
1232     }
1233 
1234 #define TDA18273_INSTANCE_CUSTOM_STD_ANALOG_L \
1235     {                                                               /* SECAM L */ \
1236 	6750000,                                                    /* IF */ \
1237 	2750000,                                                    /* CF_Offset */ \
1238 	TDA18273_LPF_8MHz,                                          /* LPF */ \
1239 	TDA18273_LPFOffset_0pc,                                     /* LPF_Offset */ \
1240 	TDA18273_DC_Notch_IF_PPF_Disabled,                          /* DC notch IF PPF */ \
1241 	TDA18273_IF_HPF_Disabled,                                   /* Hi Pass */ \
1242 	TDA18273_IF_Notch_Enabled,                                  /* IF notch */ \
1243 	TDA18273_IFnotchToRSSI_Disabled,                            /* IF notch To RSSI */ \
1244 	TDA18273_AGC1_TOP_I2C_DN_UP_d95_u89dBuV,                    /* AGC1 TOP I2C DN/UP */ \
1245 	TDA18273_AGC1_Adapt_TOP_DN_UP_1_Step,                       /* AGC1 Adapt TOP DN/UP */ \
1246 		TDA18273_AGC1_DN_Time_Constant_8_188ms,                     /* AGC1 DN Time Constant */ \
1247 	TDA18273_AGC1_Mode_LNA_ADAPT_TOP_ADAPT,                     /* AGC1 mode */ \
1248 	TDA18273_Range_LNA_Adapt_20dB_11dB,                         /* Range LNA Adapt */ \
1249 	TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_18_25dB,              /* LNA Adapt RFAGC Gv Threshold */ \
1250 	TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_15_25dB,         /* AGC1 TOP Adapt RFAGC Gv Threshold */ \
1251 	TDA18273_AGC2_TOP_DN_UP_d90_u84dBuV,                        /* AGC2 TOP DN/UP */ \
1252 		TDA18273_AGC2_DN_Time_Constant_8_188ms,                     /* AGC2 DN Time Constant */ \
1253 	TDA18273_AGC3_TOP_I2C_96dBuV,                               /* AGC3 TOP I2C Low Band */ \
1254 		TDA18273_AGC3_TOP_I2C_96dBuV,                               /* AGC3 TOP I2C High Band */ \
1255 	TDA18273_AGC4_TOP_DN_UP_d105_u100dBuV,                      /* AGC4 TOP DN/UP */ \
1256 	TDA18273_AGC5_TOP_DN_UP_d105_u100dBuV,                      /* AGC5 TOP DN/UP */ \
1257 	TDA18273_Top_Adapt_TOP_ADAPT34,                             /* AGC3 TOP Adapt Algorithm */ \
1258 	TDA18273_AGC3_Adapt_TOP_1_Step,                             /* AGC3 Adapt Low Band */ \
1259 		TDA18273_AGC3_Adapt_TOP_1_Step,                             /* AGC3 Adapt High Band */ \
1260 	TDA18273_AGC_Overload_TOP_plus_9_plus_6_min_9,              /* AGC Overload TOP */ \
1261 	TDA18273_TH_AGC_Adapt34_5dB,                                /* Adapt TOP 34 Gain Threshold */ \
1262 	TDA18273_RF_Atten_3dB_Disabled,                             /* RF Atten 3dB */ \
1263 	TDA18273_IF_Output_Level_0_7Vpp_min_9_21dB,                 /* IF Output Level */ \
1264 	TDA18273_S2D_Gain_6dB,                                      /* S2D Gain */ \
1265 	TDA18273_Negative_Modulation_Disabled,                      /* Negative Modulation */ \
1266 	TDA18273_AGCK_Steps_0_2dB,                                  /* Step */ \
1267 	TDA18273_AGCK_Time_Constant_1_STEP_EACH_VSYNC_RISING_EDGE,  /* AGCK Time Constant */ \
1268 	TDA18273_AGC5_HPF_Enabled,                                  /* AGC5 HPF */ \
1269 	TDA18273_Pulse_Shaper_Disable_Enabled,                      /* Pulse Shaper Disable */ \
1270 	TDA18273_VHF_III_Mode_Disabled,                             /* VHF III Mode */ \
1271 	TDA18273_LO_CP_Current_Enabled,                             /* LO CP Current */ \
1272 		TDA18273_PD_Underload_Disabled,                             /* PD Underload */ \
1273 		754000000													/* Frequency Start LTE */ \
1274     }
1275 
1276 #define TDA18273_INSTANCE_CUSTOM_STD_ANALOG_LL \
1277     {                                                               /* SECAM L' */ \
1278 	1250000,                                                    /* IF */ \
1279 	-2750000,                                                   /* CF_Offset */ \
1280 	TDA18273_LPF_8MHz,                                          /* LPF */ \
1281 	TDA18273_LPFOffset_0pc,                                     /* LPF_Offset */ \
1282 	TDA18273_DC_Notch_IF_PPF_Disabled,                          /* DC notch IF PPF */ \
1283 	TDA18273_IF_HPF_Disabled,                                   /* Hi Pass */ \
1284 	TDA18273_IF_Notch_Disabled,                                 /* IF notch */ \
1285 	TDA18273_IFnotchToRSSI_Enabled,                             /* IF notch To RSSI */ \
1286 	TDA18273_AGC1_TOP_I2C_DN_UP_d95_u89dBuV,                    /* AGC1 TOP I2C DN/UP */ \
1287 	TDA18273_AGC1_Adapt_TOP_DN_UP_1_Step,                       /* AGC1 Adapt TOP DN/UP */ \
1288 		TDA18273_AGC1_DN_Time_Constant_8_188ms,                     /* AGC1 DN Time Constant */ \
1289 	TDA18273_AGC1_Mode_LNA_ADAPT_TOP_ADAPT,                     /* AGC1 mode */ \
1290 	TDA18273_Range_LNA_Adapt_20dB_11dB,                         /* Range LNA Adapt */ \
1291 	TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_18_25dB,              /* LNA Adapt RFAGC Gv Threshold */ \
1292 	TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_15_25dB,         /* AGC1 TOP Adapt RFAGC Gv Threshold */ \
1293 	TDA18273_AGC2_TOP_DN_UP_d90_u84dBuV,                        /* AGC2 TOP DN/UP */ \
1294 		TDA18273_AGC2_DN_Time_Constant_8_188ms,                     /* AGC2 DN Time Constant */ \
1295 	TDA18273_AGC3_TOP_I2C_96dBuV,                               /* AGC3 TOP I2C Low Band */ \
1296 		TDA18273_AGC3_TOP_I2C_96dBuV,                               /* AGC3 TOP I2C High Band */ \
1297 	TDA18273_AGC4_TOP_DN_UP_d105_u100dBuV,                      /* AGC4 TOP DN/UP */ \
1298 	TDA18273_AGC5_TOP_DN_UP_d105_u100dBuV,                      /* AGC5 TOP DN/UP */ \
1299 	TDA18273_Top_Adapt_TOP_ADAPT34,                             /* AGC3 TOP Adapt Algorithm */ \
1300 	TDA18273_AGC3_Adapt_TOP_1_Step,                             /* AGC3 Adapt Low Band */ \
1301 		TDA18273_AGC3_Adapt_TOP_1_Step,                             /* AGC3 Adapt High Band */ \
1302 	TDA18273_AGC_Overload_TOP_plus_9_plus_6_min_9,              /* AGC Overload TOP */ \
1303 	TDA18273_TH_AGC_Adapt34_5dB,                                /* Adapt TOP 34 Gain Threshold */ \
1304 	TDA18273_RF_Atten_3dB_Disabled,                             /* RF Atten 3dB */ \
1305 	TDA18273_IF_Output_Level_0_7Vpp_min_9_21dB,                 /* IF Output Level */ \
1306 	TDA18273_S2D_Gain_6dB,                                      /* S2D Gain */ \
1307 	TDA18273_Negative_Modulation_Disabled,                      /* Negative Modulation */ \
1308 	TDA18273_AGCK_Steps_0_2dB,                                  /* Step */ \
1309 	TDA18273_AGCK_Time_Constant_1_STEP_EACH_VSYNC_RISING_EDGE,  /* AGCK Time Constant */ \
1310 	TDA18273_AGC5_HPF_Disabled,                                 /* AGC5 HPF */ \
1311 	TDA18273_Pulse_Shaper_Disable_Enabled,                      /* Pulse Shaper Disable */ \
1312 	TDA18273_VHF_III_Mode_Disabled,                             /* VHF III Mode */ \
1313 	TDA18273_LO_CP_Current_Enabled,                             /* LO CP Current */ \
1314 		TDA18273_PD_Underload_Disabled,                             /* PD Underload */ \
1315 		754000000													/* Frequency Start LTE */ \
1316     }
1317 
1318 #define TDA18273_INSTANCE_CUSTOM_STD_ANALOG_BLIND_SCANNING \
1319     {                                                               /* Blind Scanning copy of PAL-I */ \
1320 	7250000,                                                    /* IF */ \
1321 	2750000,                                                    /* CF_Offset */ \
1322 	TDA18273_LPF_8MHz,                                          /* LPF */ \
1323 	TDA18273_LPFOffset_0pc,                                     /* LPF_Offset */ \
1324 	TDA18273_DC_Notch_IF_PPF_Disabled,                          /* DC notch IF PPF */ \
1325 	TDA18273_IF_HPF_Disabled,                                   /* Hi Pass */ \
1326 	TDA18273_IF_Notch_Disabled,                                 /* IF notch */ \
1327 	TDA18273_IFnotchToRSSI_Enabled,                             /* IF notch To RSSI */ \
1328 	TDA18273_AGC1_TOP_I2C_DN_UP_d95_u89dBuV,                    /* AGC1 TOP I2C DN/UP */ \
1329 	TDA18273_AGC1_Adapt_TOP_DN_UP_1_Step,                       /* AGC1 Adapt TOP DN/UP */ \
1330 		TDA18273_AGC1_DN_Time_Constant_8_188ms,                     /* AGC1 DN Time Constant */ \
1331 	TDA18273_AGC1_Mode_LNA_ADAPT_TOP_ADAPT,                     /* AGC1 mode */ \
1332 	TDA18273_Range_LNA_Adapt_20dB_11dB,                         /* Range LNA Adapt */ \
1333 	TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_18_25dB,              /* LNA Adapt RFAGC Gv Threshold */ \
1334 	TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_15_25dB,         /* AGC1 TOP Adapt RFAGC Gv Threshold */ \
1335 	TDA18273_AGC2_TOP_DN_UP_d90_u84dBuV,                        /* AGC2 TOP DN/UP */ \
1336 		TDA18273_AGC2_DN_Time_Constant_8_188ms,                     /* AGC2 DN Time Constant */ \
1337 	TDA18273_AGC3_TOP_I2C_96dBuV,                               /* AGC3 TOP I2C Low Band */ \
1338 		TDA18273_AGC3_TOP_I2C_96dBuV,                               /* AGC3 TOP I2C High Band */ \
1339 	TDA18273_AGC4_TOP_DN_UP_d105_u100dBuV,                      /* AGC4 TOP DN/UP */ \
1340 	TDA18273_AGC5_TOP_DN_UP_d105_u100dBuV,                      /* AGC5 TOP DN/UP */ \
1341 	TDA18273_Top_Adapt_TOP_ADAPT34,                             /* AGC3 TOP Adapt Algorithm */ \
1342 	TDA18273_AGC3_Adapt_TOP_1_Step,                             /* AGC3 Adapt Low Band */ \
1343 		TDA18273_AGC3_Adapt_TOP_1_Step,                             /* AGC3 Adapt High Band */ \
1344 	TDA18273_AGC_Overload_TOP_plus_9_plus_4_5_min_3_5,          /* AGC Overload TOP */ \
1345 	TDA18273_TH_AGC_Adapt34_5dB,                                /* Adapt TOP 34 Gain Threshold */ \
1346 	TDA18273_RF_Atten_3dB_Disabled,                             /* RF Atten 3dB */ \
1347 	TDA18273_IF_Output_Level_0_7Vpp_min_9_21dB,                 /* IF Output Level */ \
1348 	TDA18273_S2D_Gain_6dB,                                      /* S2D Gain */ \
1349 	TDA18273_Negative_Modulation_Disabled,                      /* Negative Modulation */ \
1350 	TDA18273_AGCK_Steps_0_2dB,                                  /* Step */ \
1351 	TDA18273_AGCK_Time_Constant_1_STEP_EACH_VSYNC_RISING_EDGE,  /* AGCK Time Constant */ \
1352 	TDA18273_AGC5_HPF_Enabled,                                  /* AGC5 HPF */ \
1353 	TDA18273_Pulse_Shaper_Disable_Enabled,                      /* Pulse Shaper Disable */ \
1354 	TDA18273_VHF_III_Mode_Disabled,                             /* VHF III Mode */ \
1355 	TDA18273_LO_CP_Current_Enabled,                             /* LO CP Current */ \
1356 		TDA18273_PD_Underload_Disabled,                             /* PD Underload */ \
1357 		754000000													/* Frequency Start LTE */ \
1358     }
1359 
1360 #define TDA18273_INSTANCE_CUSTOM_STD_SCANXPRESS \
1361     {                                                               /* ScanXpress */ \
1362 	5000000,                                                    /* IF */ \
1363 	0,                                                          /* CF_Offset */ \
1364 	TDA18273_LPF_9MHz,                                          /* LPF */ \
1365 	TDA18273_LPFOffset_min_8pc,                                 /* LPF_Offset */ \
1366 	TDA18273_DC_Notch_IF_PPF_Enabled,                           /* DC notch IF PPF */ \
1367 	TDA18273_IF_HPF_0_85MHz,                                    /* Hi Pass */ \
1368 	TDA18273_IF_Notch_Disabled,                                 /* IF notch */ \
1369 	TDA18273_IFnotchToRSSI_Enabled,                             /* IF notch To RSSI */ \
1370 	TDA18273_AGC1_TOP_I2C_DN_UP_d95_u89wdBuV,                   /* AGC1 TOP I2C DN/UP */ \
1371 	TDA18273_AGC1_Adapt_TOP_DN_UP_0_Step,                       /* AGC1 Adapt TOP DN/UP */ \
1372 		TDA18273_AGC1_DN_Time_Constant_8_188ms,                     /* AGC1 DN Time Constant */ \
1373 	TDA18273_AGC1_Mode_LNA_ADAPT_WIDE,                          /* AGC1 mode */ \
1374 	TDA18273_Range_LNA_Adapt_20dB_11dB,                         /* Range LNA Adapt */ \
1375 	TDA18273_LNA_Adapt_RFAGC_Gv_Threshold_18_25dB,              /* LNA Adapt RFAGC Gv Threshold */ \
1376 	TDA18273_AGC1_Top_Adapt_RFAGC_Gv_Threshold_16_75dB,         /* AGC1 TOP Adapt RFAGC Gv Threshold */ \
1377 	TDA18273_AGC2_TOP_DN_UP_d90_u84dBuV,                        /* AGC2 TOP DN/UP */ \
1378 		TDA18273_AGC2_DN_Time_Constant_8_188ms,                     /* AGC2 DN Time Constant */ \
1379 	TDA18273_AGC3_TOP_I2C_100dBuV,                              /* AGC3 TOP I2C Low Band */ \
1380 		TDA18273_AGC3_TOP_I2C_100dBuV,                              /* AGC3 TOP I2C High Band */ \
1381 	TDA18273_AGC4_TOP_DN_UP_d110_u105dBuV,                      /* AGC4 TOP DN/UP */ \
1382 	TDA18273_AGC5_TOP_DN_UP_d110_u105dBuV,                      /* AGC5 TOP DN/UP */ \
1383 	TDA18273_Top_Adapt_NO_TOP_ADAPT,                            /* AGC3 TOP Adapt Algorithm */ \
1384 	TDA18273_AGC3_Adapt_TOP_0_Step,                             /* AGC3 Adapt Low Band */ \
1385 		TDA18273_AGC3_Adapt_TOP_0_Step,                             /* AGC3 Adapt High Band */ \
1386 	TDA18273_AGC_Overload_TOP_plus_9_plus_4_5_min_3_5,          /* AGC Overload TOP */ \
1387 	TDA18273_TH_AGC_Adapt34_5dB,                                /* Adapt TOP 34 Gain Threshold */ \
1388 	TDA18273_RF_Atten_3dB_Disabled,                             /* RF Atten 3dB */ \
1389 	TDA18273_IF_Output_Level_1Vpp_min_6_24dB,                   /* IF Output Level */ \
1390 	TDA18273_S2D_Gain_6dB,                                      /* S2D Gain */ \
1391 	TDA18273_Negative_Modulation_Disabled,                      /* Negative Modulation */ \
1392 	TDA18273_AGCK_Steps_0_2dB,                                  /* Step */ \
1393 	TDA18273_AGCK_Time_Constant_32_768ms,                       /* AGCK Time Constant */ \
1394 	TDA18273_AGC5_HPF_Disabled,                                 /* AGC5 HPF */ \
1395 	TDA18273_Pulse_Shaper_Disable_Enabled,                      /* Pulse Shaper Disable */ \
1396 	TDA18273_VHF_III_Mode_Disabled,                             /* VHF III Mode */ \
1397 	TDA18273_LO_CP_Current_Enabled,                             /* LO CP Current */ \
1398 		TDA18273_PD_Underload_Disabled,                             /* PD Underload */ \
1399 		754000000													/* Frequency Start LTE */ \
1400     }
1401 
1402 /* Standard Presets Aggregation: */
1403 #define TDA18273_INSTANCE_CUSTOM_STD_DEF \
1404     { \
1405 	TDA18273_INSTANCE_CUSTOM_STD_QAM_6MHZ, \
1406 	TDA18273_INSTANCE_CUSTOM_STD_QAM_8MHZ, \
1407 	TDA18273_INSTANCE_CUSTOM_STD_ATSC_6MHZ, \
1408 	TDA18273_INSTANCE_CUSTOM_STD_ISDBT_6MHZ, \
1409 	TDA18273_INSTANCE_CUSTOM_STD_DVBT_1_7MHZ, \
1410 	TDA18273_INSTANCE_CUSTOM_STD_DVBT_6MHZ, \
1411 	TDA18273_INSTANCE_CUSTOM_STD_DVBT_7MHZ, \
1412 	TDA18273_INSTANCE_CUSTOM_STD_DVBT_8MHZ, \
1413 	TDA18273_INSTANCE_CUSTOM_STD_DVBT_10MHZ, \
1414 	TDA18273_INSTANCE_CUSTOM_STD_DMBT_8MHZ, \
1415 	TDA18273_INSTANCE_CUSTOM_STD_ANALOG_FM_RADIO, \
1416 	TDA18273_INSTANCE_CUSTOM_STD_ANALOG_MN, \
1417 	TDA18273_INSTANCE_CUSTOM_STD_ANALOG_B, \
1418 	TDA18273_INSTANCE_CUSTOM_STD_ANALOG_GH, \
1419 	TDA18273_INSTANCE_CUSTOM_STD_ANALOG_I, \
1420 	TDA18273_INSTANCE_CUSTOM_STD_ANALOG_DK, \
1421 	TDA18273_INSTANCE_CUSTOM_STD_ANALOG_L, \
1422 	TDA18273_INSTANCE_CUSTOM_STD_ANALOG_LL, \
1423 	TDA18273_INSTANCE_CUSTOM_STD_ANALOG_BLIND_SCANNING, \
1424 	TDA18273_INSTANCE_CUSTOM_STD_SCANXPRESS \
1425     }
1426 
1427 #endif	/* __TDA18273_PRIV */
1428