diff options
author | Michael Krufky <mkrufky@m1k.net> | 2006-01-09 12:25:29 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2006-01-09 12:25:29 -0500 |
commit | 83ac8722be6d34b9bbcaabfff825d5847ce3a9d4 (patch) | |
tree | 2f5b1e111f7c988a0a5ce288e1c19e4159c31446 | |
parent | bc61b0102a53ee0ced3a8747cd4afe656a453756 (diff) |
V4L/DVB (3196): correct Thomson DTT 761x frequency ranges
- Corrected Thomson DTT 7611 tuner programming, based on spec sheet
- renamed to Thomson DTT 761x
- applies to DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A
(DTT 7610 is similar, but slightly different programming)
- corrected frequency ranges for analog and digital modes
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
-rw-r--r-- | Documentation/video4linux/CARDLIST.tuner | 4 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/dvb-pll.c | 15 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/dvb-pll.h | 2 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-cards.c | 2 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-dvb.c | 2 | ||||
-rw-r--r-- | drivers/media/video/tuner-simple.c | 11 | ||||
-rw-r--r-- | include/media/tuner.h | 2 |
7 files changed, 20 insertions, 18 deletions
diff --git a/Documentation/video4linux/CARDLIST.tuner b/Documentation/video4linux/CARDLIST.tuner index 1d658a388b80..0bf3d5bf9ef8 100644 --- a/Documentation/video4linux/CARDLIST.tuner +++ b/Documentation/video4linux/CARDLIST.tuner | |||
@@ -50,7 +50,7 @@ tuner=48 - Tenna TNF 8831 BGFF) | |||
50 | tuner=49 - Microtune 4042 FI5 ATSC/NTSC dual in | 50 | tuner=49 - Microtune 4042 FI5 ATSC/NTSC dual in |
51 | tuner=50 - TCL 2002N | 51 | tuner=50 - TCL 2002N |
52 | tuner=51 - Philips PAL/SECAM_D (FM 1256 I-H3) | 52 | tuner=51 - Philips PAL/SECAM_D (FM 1256 I-H3) |
53 | tuner=52 - Thomson DDT 7610 (ATSC/NTSC) | 53 | tuner=52 - Thomson DTT 7610 (ATSC/NTSC) |
54 | tuner=53 - Philips FQ1286 | 54 | tuner=53 - Philips FQ1286 |
55 | tuner=54 - tda8290+75 | 55 | tuner=54 - tda8290+75 |
56 | tuner=55 - TCL 2002MB | 56 | tuner=55 - TCL 2002MB |
@@ -58,7 +58,7 @@ tuner=56 - Philips PAL/SECAM multi (FQ1216AME MK4) | |||
58 | tuner=57 - Philips FQ1236A MK4 | 58 | tuner=57 - Philips FQ1236A MK4 |
59 | tuner=58 - Ymec TVision TVF-8531MF/8831MF/8731MF | 59 | tuner=58 - Ymec TVision TVF-8531MF/8831MF/8731MF |
60 | tuner=59 - Ymec TVision TVF-5533MF | 60 | tuner=59 - Ymec TVision TVF-5533MF |
61 | tuner=60 - Thomson DDT 7611 (ATSC/NTSC) | 61 | tuner=60 - Thomson DTT 761X (ATSC/NTSC) |
62 | tuner=61 - Tena TNF9533-D/IF/TNF9533-B/DF | 62 | tuner=61 - Tena TNF9533-D/IF/TNF9533-B/DF |
63 | tuner=62 - Philips TEA5767HN FM Radio | 63 | tuner=62 - Philips TEA5767HN FM Radio |
64 | tuner=63 - Philips FMD1216ME MK3 Hybrid Tuner | 64 | tuner=63 - Philips FMD1216ME MK3 Hybrid Tuner |
diff --git a/drivers/media/dvb/frontends/dvb-pll.c b/drivers/media/dvb/frontends/dvb-pll.c index f857b869616c..a3d57ce9dd12 100644 --- a/drivers/media/dvb/frontends/dvb-pll.c +++ b/drivers/media/dvb/frontends/dvb-pll.c | |||
@@ -107,18 +107,19 @@ struct dvb_pll_desc dvb_pll_microtune_4042 = { | |||
107 | }; | 107 | }; |
108 | EXPORT_SYMBOL(dvb_pll_microtune_4042); | 108 | EXPORT_SYMBOL(dvb_pll_microtune_4042); |
109 | 109 | ||
110 | struct dvb_pll_desc dvb_pll_thomson_dtt7611 = { | 110 | struct dvb_pll_desc dvb_pll_thomson_dtt761x = { |
111 | .name = "Thomson dtt7611", | 111 | /* DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A */ |
112 | .min = 44000000, | 112 | .name = "Thomson dtt761x", |
113 | .max = 958000000, | 113 | .min = 57000000, |
114 | .max = 863000000, | ||
114 | .count = 3, | 115 | .count = 3, |
115 | .entries = { | 116 | .entries = { |
116 | { 157250000, 44000000, 62500, 0x8e, 0x39 }, | 117 | { 147000000, 44000000, 62500, 0x8e, 0x39 }, |
117 | { 454000000, 44000000, 62500, 0x8e, 0x3a }, | 118 | { 417000000, 44000000, 62500, 0x8e, 0x3a }, |
118 | { 999999999, 44000000, 62500, 0x8e, 0x3c }, | 119 | { 999999999, 44000000, 62500, 0x8e, 0x3c }, |
119 | }, | 120 | }, |
120 | }; | 121 | }; |
121 | EXPORT_SYMBOL(dvb_pll_thomson_dtt7611); | 122 | EXPORT_SYMBOL(dvb_pll_thomson_dtt761x); |
122 | 123 | ||
123 | struct dvb_pll_desc dvb_pll_unknown_1 = { | 124 | struct dvb_pll_desc dvb_pll_unknown_1 = { |
124 | .name = "unknown 1", /* used by dntv live dvb-t */ | 125 | .name = "unknown 1", /* used by dntv live dvb-t */ |
diff --git a/drivers/media/dvb/frontends/dvb-pll.h b/drivers/media/dvb/frontends/dvb-pll.h index 497d31dcf41e..24d4d2e9acd8 100644 --- a/drivers/media/dvb/frontends/dvb-pll.h +++ b/drivers/media/dvb/frontends/dvb-pll.h | |||
@@ -25,7 +25,7 @@ extern struct dvb_pll_desc dvb_pll_thomson_dtt759x; | |||
25 | extern struct dvb_pll_desc dvb_pll_thomson_dtt7610; | 25 | extern struct dvb_pll_desc dvb_pll_thomson_dtt7610; |
26 | extern struct dvb_pll_desc dvb_pll_lg_z201; | 26 | extern struct dvb_pll_desc dvb_pll_lg_z201; |
27 | extern struct dvb_pll_desc dvb_pll_microtune_4042; | 27 | extern struct dvb_pll_desc dvb_pll_microtune_4042; |
28 | extern struct dvb_pll_desc dvb_pll_thomson_dtt7611; | 28 | extern struct dvb_pll_desc dvb_pll_thomson_dtt761x; |
29 | extern struct dvb_pll_desc dvb_pll_unknown_1; | 29 | extern struct dvb_pll_desc dvb_pll_unknown_1; |
30 | 30 | ||
31 | extern struct dvb_pll_desc dvb_pll_tua6010xs; | 31 | extern struct dvb_pll_desc dvb_pll_tua6010xs; |
diff --git a/drivers/media/video/cx88/cx88-cards.c b/drivers/media/video/cx88/cx88-cards.c index c20c07117537..85798e1fa047 100644 --- a/drivers/media/video/cx88/cx88-cards.c +++ b/drivers/media/video/cx88/cx88-cards.c | |||
@@ -708,7 +708,7 @@ struct cx88_board cx88_boards[] = { | |||
708 | }, | 708 | }, |
709 | [CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD_T] = { | 709 | [CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD_T] = { |
710 | .name = "DViCO FusionHDTV 3 Gold-T", | 710 | .name = "DViCO FusionHDTV 3 Gold-T", |
711 | .tuner_type = TUNER_THOMSON_DTT7611, | 711 | .tuner_type = TUNER_THOMSON_DTT761X, |
712 | .radio_type = UNSET, | 712 | .radio_type = UNSET, |
713 | .tuner_addr = ADDR_UNSET, | 713 | .tuner_addr = ADDR_UNSET, |
714 | .radio_addr = ADDR_UNSET, | 714 | .radio_addr = ADDR_UNSET, |
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c index c4551d996119..ed5cfe5f5c0e 100644 --- a/drivers/media/video/cx88/cx88-dvb.c +++ b/drivers/media/video/cx88/cx88-dvb.c | |||
@@ -441,7 +441,7 @@ static int dvb_register(struct cx8802_dev *dev) | |||
441 | cx_set(MO_GP0_IO, 9); | 441 | cx_set(MO_GP0_IO, 9); |
442 | mdelay(200); | 442 | mdelay(200); |
443 | dev->core->pll_addr = 0x61; | 443 | dev->core->pll_addr = 0x61; |
444 | dev->core->pll_desc = &dvb_pll_thomson_dtt7611; | 444 | dev->core->pll_desc = &dvb_pll_thomson_dtt761x; |
445 | dev->dvb.frontend = lgdt330x_attach(&fusionhdtv_3_gold, | 445 | dev->dvb.frontend = lgdt330x_attach(&fusionhdtv_3_gold, |
446 | &dev->core->i2c_adap); | 446 | &dev->core->i2c_adap); |
447 | } | 447 | } |
diff --git a/drivers/media/video/tuner-simple.c b/drivers/media/video/tuner-simple.c index cabb02a610df..985464f4b7c2 100644 --- a/drivers/media/video/tuner-simple.c +++ b/drivers/media/video/tuner-simple.c | |||
@@ -573,7 +573,7 @@ static struct tunertype tuners[] = { | |||
573 | .config = 0x8e, | 573 | .config = 0x8e, |
574 | }, | 574 | }, |
575 | [TUNER_THOMSON_DTT7610] = { /* THOMSON ATSC */ | 575 | [TUNER_THOMSON_DTT7610] = { /* THOMSON ATSC */ |
576 | .name = "Thomson DDT 7610 (ATSC/NTSC)", | 576 | .name = "Thomson DTT 7610 (ATSC/NTSC)", |
577 | .thresh1= 16 * 157.25 /*MHz*/, | 577 | .thresh1= 16 * 157.25 /*MHz*/, |
578 | .thresh2= 16 * 454.00 /*MHz*/, | 578 | .thresh2= 16 * 454.00 /*MHz*/, |
579 | .VHF_L = 0x39, | 579 | .VHF_L = 0x39, |
@@ -640,10 +640,11 @@ static struct tunertype tuners[] = { | |||
640 | }, | 640 | }, |
641 | 641 | ||
642 | /* 60-69 */ | 642 | /* 60-69 */ |
643 | [TUNER_THOMSON_DTT7611] = { /* THOMSON ATSC */ | 643 | [TUNER_THOMSON_DTT761X] = { /* THOMSON ATSC */ |
644 | .name = "Thomson DDT 7611 (ATSC/NTSC)", | 644 | /* DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A */ |
645 | .thresh1= 16 * 157.25 /*MHz*/, | 645 | .name = "Thomson DTT 761X (ATSC/NTSC)", |
646 | .thresh2= 16 * 454.00 /*MHz*/, | 646 | .thresh1= 16 * 145.25 /*MHz*/, |
647 | .thresh2= 16 * 415.25 /*MHz*/, | ||
647 | .VHF_L = 0x39, | 648 | .VHF_L = 0x39, |
648 | .VHF_H = 0x3a, | 649 | .VHF_H = 0x3a, |
649 | .UHF = 0x3c, | 650 | .UHF = 0x3c, |
diff --git a/include/media/tuner.h b/include/media/tuner.h index b39e908cd068..aa91ce35915b 100644 --- a/include/media/tuner.h +++ b/include/media/tuner.h | |||
@@ -102,7 +102,7 @@ | |||
102 | #define TUNER_YMEC_TVF_8531MF 58 | 102 | #define TUNER_YMEC_TVF_8531MF 58 |
103 | #define TUNER_YMEC_TVF_5533MF 59 /* Pixelview Pro Ultra NTSC */ | 103 | #define TUNER_YMEC_TVF_5533MF 59 /* Pixelview Pro Ultra NTSC */ |
104 | 104 | ||
105 | #define TUNER_THOMSON_DTT7611 60 /* DViCO FusionHDTV 3 Gold-T */ | 105 | #define TUNER_THOMSON_DTT761X 60 /* DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A */ |
106 | #define TUNER_TENA_9533_DI 61 | 106 | #define TUNER_TENA_9533_DI 61 |
107 | #define TUNER_TEA5767 62 /* Only FM Radio Tuner */ | 107 | #define TUNER_TEA5767 62 /* Only FM Radio Tuner */ |
108 | #define TUNER_PHILIPS_FMD1216ME_MK3 63 | 108 | #define TUNER_PHILIPS_FMD1216ME_MK3 63 |