Commit 6ca00047 authored by Holger Nelson's avatar Holger Nelson Committed by Mauro Carvalho Chehab

[media] tm6000: Add support for Terratec Grabster AV 150/250 MX

This patch adds support for Terratec Grabster AV 150/250 MX. For now it is
only possible to use composite input as switching inputs does not work.

[mchehab@redhat.com: Fix merge conflicts and simplify board entries]
Signed-off-by: default avatarHolger Nelson <hnelson@hnelson.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 1f65dd36
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
#define TM6010_BOARD_TWINHAN_TU501 13 #define TM6010_BOARD_TWINHAN_TU501 13
#define TM6010_BOARD_BEHOLD_WANDER_LITE 14 #define TM6010_BOARD_BEHOLD_WANDER_LITE 14
#define TM6010_BOARD_BEHOLD_VOYAGER_LITE 15 #define TM6010_BOARD_BEHOLD_VOYAGER_LITE 15
#define TM5600_BOARD_TERRATEC_GRABSTER 16
#define TM6000_MAXBOARDS 16 #define TM6000_MAXBOARDS 16
static unsigned int card[] = {[0 ... (TM6000_MAXBOARDS - 1)] = UNSET }; static unsigned int card[] = {[0 ... (TM6000_MAXBOARDS - 1)] = UNSET };
...@@ -283,6 +284,11 @@ struct tm6000_board tm6000_boards[] = { ...@@ -283,6 +284,11 @@ struct tm6000_board tm6000_boards[] = {
}, },
.ir_codes = RC_MAP_NEC_TERRATEC_CINERGY_XS, .ir_codes = RC_MAP_NEC_TERRATEC_CINERGY_XS,
}, },
[TM5600_BOARD_TERRATEC_GRABSTER] = {
.name = "Terratec Grabster AV 150/250 MX",
.type = TM5600,
.tuner_type = TUNER_ABSENT,
},
[TM6010_BOARD_TWINHAN_TU501] = { [TM6010_BOARD_TWINHAN_TU501] = {
.name = "Twinhan TU501(704D1)", .name = "Twinhan TU501(704D1)",
.tuner_type = TUNER_XC2028, /* has a XC3028 */ .tuner_type = TUNER_XC2028, /* has a XC3028 */
...@@ -339,7 +345,7 @@ struct tm6000_board tm6000_boards[] = { ...@@ -339,7 +345,7 @@ struct tm6000_board tm6000_boards[] = {
.tuner_reset = TM6010_GPIO_0, .tuner_reset = TM6010_GPIO_0,
.power_led = TM6010_GPIO_6, .power_led = TM6010_GPIO_6,
}, },
} },
}; };
/* table of devices that work with this driver */ /* table of devices that work with this driver */
...@@ -357,6 +363,7 @@ struct usb_device_id tm6000_id_table[] = { ...@@ -357,6 +363,7 @@ struct usb_device_id tm6000_id_table[] = {
{ USB_DEVICE(0x6000, 0xdec1), .driver_info = TM6010_BOARD_BEHOLD_VOYAGER }, { USB_DEVICE(0x6000, 0xdec1), .driver_info = TM6010_BOARD_BEHOLD_VOYAGER },
{ USB_DEVICE(0x0ccd, 0x0086), .driver_info = TM6010_BOARD_TERRATEC_CINERGY_HYBRID_XE }, { USB_DEVICE(0x0ccd, 0x0086), .driver_info = TM6010_BOARD_TERRATEC_CINERGY_HYBRID_XE },
{ USB_DEVICE(0x0ccd, 0x00A5), .driver_info = TM6010_BOARD_TERRATEC_CINERGY_HYBRID_XE }, { USB_DEVICE(0x0ccd, 0x00A5), .driver_info = TM6010_BOARD_TERRATEC_CINERGY_HYBRID_XE },
{ USB_DEVICE(0x0ccd, 0x0079), .driver_info = TM5600_BOARD_TERRATEC_GRABSTER },
{ USB_DEVICE(0x13d3, 0x3240), .driver_info = TM6010_BOARD_TWINHAN_TU501 }, { USB_DEVICE(0x13d3, 0x3240), .driver_info = TM6010_BOARD_TWINHAN_TU501 },
{ USB_DEVICE(0x13d3, 0x3241), .driver_info = TM6010_BOARD_TWINHAN_TU501 }, { USB_DEVICE(0x13d3, 0x3241), .driver_info = TM6010_BOARD_TWINHAN_TU501 },
{ USB_DEVICE(0x13d3, 0x3243), .driver_info = TM6010_BOARD_TWINHAN_TU501 }, { USB_DEVICE(0x13d3, 0x3243), .driver_info = TM6010_BOARD_TWINHAN_TU501 },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment