diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2006-04-11 00:46:46 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-25 00:57:57 -0400 |
commit | 8c99024b88b5da3a73f0575dad98527c9a278d1b (patch) | |
tree | ad4715143aeee52429b7ac3bf1ff485a5a3af66b | |
parent | 20fe4f6599ed300ebd5ef5ef20545a1297c094fa (diff) |
V4L/DVB (3765): Dvb-bt8xx: add support for DViCO FusionHDTV DVB-T Lite 2nd revision
This patch adds support for the new revision of the DViCO
FusionHDTV DVB-T Lite, based on the zl10353 demod instead
of mt352.
Both mt352 and zl10353 revisions of this card have the
same PCI subsystem ID.
Acked-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
Ack'd-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | drivers/media/dvb/bt8xx/dvb-bt8xx.c | 10 | ||||
-rw-r--r-- | drivers/media/dvb/bt8xx/dvb-bt8xx.h | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/drivers/media/dvb/bt8xx/dvb-bt8xx.c b/drivers/media/dvb/bt8xx/dvb-bt8xx.c index 1bf3392ac80d..809f6a664c4f 100644 --- a/drivers/media/dvb/bt8xx/dvb-bt8xx.c +++ b/drivers/media/dvb/bt8xx/dvb-bt8xx.c | |||
@@ -184,6 +184,11 @@ static struct mt352_config thomson_dtt7579_config = { | |||
184 | .pll_set = thomson_dtt7579_pll_set, | 184 | .pll_set = thomson_dtt7579_pll_set, |
185 | }; | 185 | }; |
186 | 186 | ||
187 | static struct zl10353_config thomson_dtt7579_zl10353_config = { | ||
188 | .demod_address = 0x0f, | ||
189 | .pll_set = thomson_dtt7579_pll_set, | ||
190 | }; | ||
191 | |||
187 | static int cx24108_pll_set(struct dvb_frontend* fe, struct dvb_frontend_parameters* params) | 192 | static int cx24108_pll_set(struct dvb_frontend* fe, struct dvb_frontend_parameters* params) |
188 | { | 193 | { |
189 | u32 freq = params->frequency; | 194 | u32 freq = params->frequency; |
@@ -617,6 +622,11 @@ static void frontend_init(struct dvb_bt8xx_card *card, u32 type) | |||
617 | switch(type) { | 622 | switch(type) { |
618 | case BTTV_BOARD_DVICO_DVBT_LITE: | 623 | case BTTV_BOARD_DVICO_DVBT_LITE: |
619 | card->fe = mt352_attach(&thomson_dtt7579_config, card->i2c_adapter); | 624 | card->fe = mt352_attach(&thomson_dtt7579_config, card->i2c_adapter); |
625 | |||
626 | if (card->fe == NULL) | ||
627 | card->fe = zl10353_attach(&thomson_dtt7579_zl10353_config, | ||
628 | card->i2c_adapter); | ||
629 | |||
620 | if (card->fe != NULL) { | 630 | if (card->fe != NULL) { |
621 | card->fe->ops->info.frequency_min = 174000000; | 631 | card->fe->ops->info.frequency_min = 174000000; |
622 | card->fe->ops->info.frequency_max = 862000000; | 632 | card->fe->ops->info.frequency_max = 862000000; |
diff --git a/drivers/media/dvb/bt8xx/dvb-bt8xx.h b/drivers/media/dvb/bt8xx/dvb-bt8xx.h index 00dd9fa54c82..e41066ae7397 100644 --- a/drivers/media/dvb/bt8xx/dvb-bt8xx.h +++ b/drivers/media/dvb/bt8xx/dvb-bt8xx.h | |||
@@ -37,6 +37,7 @@ | |||
37 | #include "cx24110.h" | 37 | #include "cx24110.h" |
38 | #include "or51211.h" | 38 | #include "or51211.h" |
39 | #include "lgdt330x.h" | 39 | #include "lgdt330x.h" |
40 | #include "zl10353.h" | ||
40 | 41 | ||
41 | struct dvb_bt8xx_card { | 42 | struct dvb_bt8xx_card { |
42 | struct mutex lock; | 43 | struct mutex lock; |