diff options
author | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2005-07-07 20:58:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-07 21:24:03 -0400 |
commit | a82decf64d34e79a0cc622997866c754350f18f8 (patch) | |
tree | 7841c828bdd03cc476067bf1f9b192613f111ae0 /drivers/media/video/cx88/cx88-cards.c | |
parent | a2f552f5edc13e18b75f11fb1b08bbcad67fd362 (diff) |
[PATCH] v4l: cx88 update
- Add support for ADS Tech Instant TV DVB-T PCI.
- Remove obsoleted config options.
- Fix DViCO Board names
- Remove CABLE type setting from DViCO FusionHDTV3 Gold-T.
- Fix compilation with gcc4.0.
- V4L2_TUNER_CAP_LOW implemented according with V4L2 API for Radio.
- radio range is now defined on tuner-core.c. Cleaning up.
- Fix a bug on frequency report for cx88 based cards.
- Added support for changing radio mode stereo/mono.
- Add remove for MSI TV@nywhere.
Signed-off-by: Jorik Jonker <jorik@dnd.utwente.nl>.
Signed-off-by: Didier Caillaud <mailing.cld@free.fr>
Signed-off-by: Benoit Laniel <benoit.laniel@gmail.com>.
Signed-off-by: Nickolay V Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/video/cx88/cx88-cards.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-cards.c | 50 |
1 files changed, 36 insertions, 14 deletions
diff --git a/drivers/media/video/cx88/cx88-cards.c b/drivers/media/video/cx88/cx88-cards.c index b3fb04356b71..f9e4cb196874 100644 --- a/drivers/media/video/cx88/cx88-cards.c +++ b/drivers/media/video/cx88/cx88-cards.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * $Id: cx88-cards.c,v 1.76 2005/06/08 01:28:09 mchehab Exp $ | 2 | * $Id: cx88-cards.c,v 1.82 2005/06/28 04:33:53 mkrufky Exp $ |
3 | * | 3 | * |
4 | * device driver for Conexant 2388x based TV cards | 4 | * device driver for Conexant 2388x based TV cards |
5 | * card-specific stuff. | 5 | * card-specific stuff. |
@@ -401,7 +401,7 @@ struct cx88_board cx88_boards[] = { | |||
401 | .dvb = 1, | 401 | .dvb = 1, |
402 | }, | 402 | }, |
403 | [CX88_BOARD_DVICO_FUSIONHDTV_DVB_T1] = { | 403 | [CX88_BOARD_DVICO_FUSIONHDTV_DVB_T1] = { |
404 | .name = "DVICO FusionHDTV DVB-T1", | 404 | .name = "DViCO FusionHDTV DVB-T1", |
405 | .tuner_type = TUNER_ABSENT, /* No analog tuner */ | 405 | .tuner_type = TUNER_ABSENT, /* No analog tuner */ |
406 | .radio_type = UNSET, | 406 | .radio_type = UNSET, |
407 | .tuner_addr = ADDR_UNSET, | 407 | .tuner_addr = ADDR_UNSET, |
@@ -445,8 +445,8 @@ struct cx88_board cx88_boards[] = { | |||
445 | .gpio0 = 0x000007f8, | 445 | .gpio0 = 0x000007f8, |
446 | }, | 446 | }, |
447 | }, | 447 | }, |
448 | [CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD] = { | 448 | [CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD_Q] = { |
449 | .name = "DViCO - FusionHDTV 3 Gold", | 449 | .name = "DViCO FusionHDTV 3 Gold-Q", |
450 | .tuner_type = TUNER_MICROTUNE_4042FI5, | 450 | .tuner_type = TUNER_MICROTUNE_4042FI5, |
451 | .radio_type = UNSET, | 451 | .radio_type = UNSET, |
452 | .tuner_addr = ADDR_UNSET, | 452 | .tuner_addr = ADDR_UNSET, |
@@ -464,6 +464,9 @@ struct cx88_board cx88_boards[] = { | |||
464 | GPIO[3] selects RF input connector on tuner module | 464 | GPIO[3] selects RF input connector on tuner module |
465 | 0 - RF connector labeled CABLE | 465 | 0 - RF connector labeled CABLE |
466 | 1 - RF connector labeled ANT | 466 | 1 - RF connector labeled ANT |
467 | GPIO[4] selects high RF for QAM256 mode | ||
468 | 0 - normal RF | ||
469 | 1 - high RF | ||
467 | */ | 470 | */ |
468 | .input = {{ | 471 | .input = {{ |
469 | .type = CX88_VMUX_TELEVISION, | 472 | .type = CX88_VMUX_TELEVISION, |
@@ -520,7 +523,7 @@ struct cx88_board cx88_boards[] = { | |||
520 | .blackbird = 1, | 523 | .blackbird = 1, |
521 | }, | 524 | }, |
522 | [CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_PLUS] = { | 525 | [CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_PLUS] = { |
523 | .name = "DVICO FusionHDTV DVB-T Plus", | 526 | .name = "DViCO FusionHDTV DVB-T Plus", |
524 | .tuner_type = TUNER_ABSENT, /* No analog tuner */ | 527 | .tuner_type = TUNER_ABSENT, /* No analog tuner */ |
525 | .radio_type = UNSET, | 528 | .radio_type = UNSET, |
526 | .tuner_addr = ADDR_UNSET, | 529 | .tuner_addr = ADDR_UNSET, |
@@ -700,21 +703,17 @@ struct cx88_board cx88_boards[] = { | |||
700 | }, | 703 | }, |
701 | }, | 704 | }, |
702 | [CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD_T] = { | 705 | [CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD_T] = { |
703 | .name = "DViCO - FusionHDTV 3 Gold-T", | 706 | .name = "DViCO FusionHDTV 3 Gold-T", |
704 | .tuner_type = TUNER_THOMSON_DTT7611, | 707 | .tuner_type = TUNER_THOMSON_DTT7611, |
705 | .radio_type = UNSET, | 708 | .radio_type = UNSET, |
706 | .tuner_addr = ADDR_UNSET, | 709 | .tuner_addr = ADDR_UNSET, |
707 | .radio_addr = ADDR_UNSET, | 710 | .radio_addr = ADDR_UNSET, |
708 | /* See DViCO FusionHDTV 3 Gold for GPIO documentation. */ | 711 | /* See DViCO FusionHDTV 3 Gold-Q for GPIO documentation. */ |
709 | .input = {{ | 712 | .input = {{ |
710 | .type = CX88_VMUX_TELEVISION, | 713 | .type = CX88_VMUX_TELEVISION, |
711 | .vmux = 0, | 714 | .vmux = 0, |
712 | .gpio0 = 0x0f0d, | 715 | .gpio0 = 0x0f0d, |
713 | },{ | 716 | },{ |
714 | .type = CX88_VMUX_CABLE, | ||
715 | .vmux = 0, | ||
716 | .gpio0 = 0x0f05, | ||
717 | },{ | ||
718 | .type = CX88_VMUX_COMPOSITE1, | 717 | .type = CX88_VMUX_COMPOSITE1, |
719 | .vmux = 1, | 718 | .vmux = 1, |
720 | .gpio0 = 0x0f00, | 719 | .gpio0 = 0x0f00, |
@@ -724,6 +723,25 @@ struct cx88_board cx88_boards[] = { | |||
724 | .gpio0 = 0x0f00, | 723 | .gpio0 = 0x0f00, |
725 | }}, | 724 | }}, |
726 | }, | 725 | }, |
726 | [CX88_BOARD_ADSTECH_DVB_T_PCI] = { | ||
727 | .name = "ADS Tech Instant TV DVB-T PCI", | ||
728 | .tuner_type = TUNER_ABSENT, | ||
729 | .radio_type = UNSET, | ||
730 | .tuner_addr = ADDR_UNSET, | ||
731 | .radio_addr = ADDR_UNSET, | ||
732 | .input = {{ | ||
733 | .type = CX88_VMUX_COMPOSITE1, | ||
734 | .vmux = 1, | ||
735 | .gpio0 = 0x0700, | ||
736 | .gpio2 = 0x0101, | ||
737 | },{ | ||
738 | .type = CX88_VMUX_SVIDEO, | ||
739 | .vmux = 2, | ||
740 | .gpio0 = 0x0700, | ||
741 | .gpio2 = 0x0101, | ||
742 | }}, | ||
743 | .dvb = 1, | ||
744 | }, | ||
727 | }; | 745 | }; |
728 | const unsigned int cx88_bcount = ARRAY_SIZE(cx88_boards); | 746 | const unsigned int cx88_bcount = ARRAY_SIZE(cx88_boards); |
729 | 747 | ||
@@ -794,7 +812,7 @@ struct cx88_subid cx88_subids[] = { | |||
794 | },{ | 812 | },{ |
795 | .subvendor = 0x18ac, | 813 | .subvendor = 0x18ac, |
796 | .subdevice = 0xd810, | 814 | .subdevice = 0xd810, |
797 | .card = CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD, | 815 | .card = CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD_Q, |
798 | },{ | 816 | },{ |
799 | .subvendor = 0x18ac, | 817 | .subvendor = 0x18ac, |
800 | .subdevice = 0xd820, | 818 | .subdevice = 0xd820, |
@@ -843,7 +861,11 @@ struct cx88_subid cx88_subids[] = { | |||
843 | .subvendor = 0x10fc, | 861 | .subvendor = 0x10fc, |
844 | .subdevice = 0xd035, | 862 | .subdevice = 0xd035, |
845 | .card = CX88_BOARD_IODATA_GVBCTV7E, | 863 | .card = CX88_BOARD_IODATA_GVBCTV7E, |
846 | } | 864 | },{ |
865 | .subvendor = 0x1421, | ||
866 | .subdevice = 0x0334, | ||
867 | .card = CX88_BOARD_ADSTECH_DVB_T_PCI, | ||
868 | }, | ||
847 | }; | 869 | }; |
848 | const unsigned int cx88_idcount = ARRAY_SIZE(cx88_subids); | 870 | const unsigned int cx88_idcount = ARRAY_SIZE(cx88_subids); |
849 | 871 | ||