18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci *    Support for LGDT3302 and LGDT3303 - VSB/QAM
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci *    Copyright (C) 2005 Wilson Michaels <wilsonmichaels@earthlink.net>
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#ifndef _LGDT330X_PRIV_
98c2ecf20Sopenharmony_ci#define _LGDT330X_PRIV_
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci/* i2c control register addresses */
128c2ecf20Sopenharmony_cienum I2C_REG {
138c2ecf20Sopenharmony_ci	TOP_CONTROL= 0x00,
148c2ecf20Sopenharmony_ci	IRQ_MASK= 0x01,
158c2ecf20Sopenharmony_ci	IRQ_STATUS= 0x02,
168c2ecf20Sopenharmony_ci	VSB_CARRIER_FREQ0= 0x16,
178c2ecf20Sopenharmony_ci	VSB_CARRIER_FREQ1= 0x17,
188c2ecf20Sopenharmony_ci	VSB_CARRIER_FREQ2= 0x18,
198c2ecf20Sopenharmony_ci	VSB_CARRIER_FREQ3= 0x19,
208c2ecf20Sopenharmony_ci	CARRIER_MSEQAM1= 0x1a,
218c2ecf20Sopenharmony_ci	CARRIER_MSEQAM2= 0x1b,
228c2ecf20Sopenharmony_ci	CARRIER_LOCK= 0x1c,
238c2ecf20Sopenharmony_ci	TIMING_RECOVERY= 0x1d,
248c2ecf20Sopenharmony_ci	AGC_DELAY0= 0x2a,
258c2ecf20Sopenharmony_ci	AGC_DELAY1= 0x2b,
268c2ecf20Sopenharmony_ci	AGC_DELAY2= 0x2c,
278c2ecf20Sopenharmony_ci	AGC_RF_BANDWIDTH0= 0x2d,
288c2ecf20Sopenharmony_ci	AGC_RF_BANDWIDTH1= 0x2e,
298c2ecf20Sopenharmony_ci	AGC_RF_BANDWIDTH2= 0x2f,
308c2ecf20Sopenharmony_ci	AGC_LOOP_BANDWIDTH0= 0x30,
318c2ecf20Sopenharmony_ci	AGC_LOOP_BANDWIDTH1= 0x31,
328c2ecf20Sopenharmony_ci	AGC_FUNC_CTRL1= 0x32,
338c2ecf20Sopenharmony_ci	AGC_FUNC_CTRL2= 0x33,
348c2ecf20Sopenharmony_ci	AGC_FUNC_CTRL3= 0x34,
358c2ecf20Sopenharmony_ci	AGC_RFIF_ACC0= 0x39,
368c2ecf20Sopenharmony_ci	AGC_RFIF_ACC1= 0x3a,
378c2ecf20Sopenharmony_ci	AGC_RFIF_ACC2= 0x3b,
388c2ecf20Sopenharmony_ci	AGC_STATUS= 0x3f,
398c2ecf20Sopenharmony_ci	SYNC_STATUS_VSB= 0x43,
408c2ecf20Sopenharmony_ci	DEMUX_CONTROL= 0x66,
418c2ecf20Sopenharmony_ci	LGDT3302_EQPH_ERR0= 0x47,
428c2ecf20Sopenharmony_ci	LGDT3302_EQ_ERR1= 0x48,
438c2ecf20Sopenharmony_ci	LGDT3302_EQ_ERR2= 0x49,
448c2ecf20Sopenharmony_ci	LGDT3302_PH_ERR1= 0x4a,
458c2ecf20Sopenharmony_ci	LGDT3302_PH_ERR2= 0x4b,
468c2ecf20Sopenharmony_ci	LGDT3302_PACKET_ERR_COUNTER1= 0x6a,
478c2ecf20Sopenharmony_ci	LGDT3302_PACKET_ERR_COUNTER2= 0x6b,
488c2ecf20Sopenharmony_ci	LGDT3303_EQPH_ERR0= 0x6e,
498c2ecf20Sopenharmony_ci	LGDT3303_EQ_ERR1= 0x6f,
508c2ecf20Sopenharmony_ci	LGDT3303_EQ_ERR2= 0x70,
518c2ecf20Sopenharmony_ci	LGDT3303_PH_ERR1= 0x71,
528c2ecf20Sopenharmony_ci	LGDT3303_PH_ERR2= 0x72,
538c2ecf20Sopenharmony_ci	LGDT3303_PACKET_ERR_COUNTER1= 0x8b,
548c2ecf20Sopenharmony_ci	LGDT3303_PACKET_ERR_COUNTER2= 0x8c,
558c2ecf20Sopenharmony_ci};
568c2ecf20Sopenharmony_ci
578c2ecf20Sopenharmony_ci#endif /* _LGDT330X_PRIV_ */
58