diff options
author | Mac Michaels <wmichaels1@earthlink.net> | 2005-07-07 20:58:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-07 21:24:02 -0400 |
commit | d8667cbbe440aacb246832afc217a6a44664115c (patch) | |
tree | 29c68e5317355c398c0de99d5d665fa653384cef /drivers/media/dvb/frontends/lgdt3302_priv.h | |
parent | 25de192660627e1e8dc8ee6a120ff8b54d108593 (diff) |
[PATCH] dvb: frontend: add driver for LGDT3302
Add support for LGDT3302 (ATSC VSB/QAM) used in DViCO FusionHDTV3 Gold.
Signed-off-by: Mac Michaels <wmichaels1@earthlink.net>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/dvb/frontends/lgdt3302_priv.h')
-rw-r--r-- | drivers/media/dvb/frontends/lgdt3302_priv.h | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/lgdt3302_priv.h b/drivers/media/dvb/frontends/lgdt3302_priv.h new file mode 100644 index 00000000000..6193fa7a569 --- /dev/null +++ b/drivers/media/dvb/frontends/lgdt3302_priv.h | |||
@@ -0,0 +1,72 @@ | |||
1 | /* | ||
2 | * $Id: lgdt3302_priv.h,v 1.2 2005/06/28 23:50:48 mkrufky Exp $ | ||
3 | * | ||
4 | * Support for LGDT3302 (DViCO FustionHDTV 3 Gold) - VSB/QAM | ||
5 | * | ||
6 | * Copyright (C) 2005 Wilson Michaels <wilsonmichaels@earthlink.net> | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License as published by | ||
10 | * the Free Software Foundation; either version 2 of the License, or | ||
11 | * (at your option) any later version. | ||
12 | * | ||
13 | * This program is distributed in the hope that it will be useful, | ||
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | * GNU General Public License for more details. | ||
17 | * | ||
18 | * You should have received a copy of the GNU General Public License | ||
19 | * along with this program; if not, write to the Free Software | ||
20 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
21 | * | ||
22 | */ | ||
23 | |||
24 | #ifndef _LGDT3302_PRIV_ | ||
25 | #define _LGDT3302_PRIV_ | ||
26 | |||
27 | /* i2c control register addresses */ | ||
28 | enum I2C_REG { | ||
29 | TOP_CONTROL= 0x00, | ||
30 | IRQ_MASK= 0x01, | ||
31 | IRQ_STATUS= 0x02, | ||
32 | VSB_CARRIER_FREQ0= 0x16, | ||
33 | VSB_CARRIER_FREQ1= 0x17, | ||
34 | VSB_CARRIER_FREQ2= 0x18, | ||
35 | VSB_CARRIER_FREQ3= 0x19, | ||
36 | CARRIER_MSEQAM1= 0x1a, | ||
37 | CARRIER_MSEQAM2= 0x1b, | ||
38 | CARRIER_LOCK= 0x1c, | ||
39 | TIMING_RECOVERY= 0x1d, | ||
40 | AGC_DELAY0= 0x2a, | ||
41 | AGC_DELAY1= 0x2b, | ||
42 | AGC_DELAY2= 0x2c, | ||
43 | AGC_RF_BANDWIDTH0= 0x2d, | ||
44 | AGC_RF_BANDWIDTH1= 0x2e, | ||
45 | AGC_RF_BANDWIDTH2= 0x2f, | ||
46 | AGC_LOOP_BANDWIDTH0= 0x30, | ||
47 | AGC_LOOP_BANDWIDTH1= 0x31, | ||
48 | AGC_FUNC_CTRL1= 0x32, | ||
49 | AGC_FUNC_CTRL2= 0x33, | ||
50 | AGC_FUNC_CTRL3= 0x34, | ||
51 | AGC_RFIF_ACC0= 0x39, | ||
52 | AGC_RFIF_ACC1= 0x3a, | ||
53 | AGC_RFIF_ACC2= 0x3b, | ||
54 | AGC_STATUS= 0x3f, | ||
55 | SYNC_STATUS_VSB= 0x43, | ||
56 | EQPH_ERR0= 0x47, | ||
57 | EQ_ERR1= 0x48, | ||
58 | EQ_ERR2= 0x49, | ||
59 | PH_ERR1= 0x4a, | ||
60 | PH_ERR2= 0x4b, | ||
61 | DEMUX_CONTROL= 0x66, | ||
62 | PACKET_ERR_COUNTER1= 0x6a, | ||
63 | PACKET_ERR_COUNTER2= 0x6b, | ||
64 | }; | ||
65 | |||
66 | #endif /* _LGDT3302_PRIV_ */ | ||
67 | |||
68 | /* | ||
69 | * Local variables: | ||
70 | * c-basic-offset: 8 | ||
71 | * End: | ||
72 | */ | ||