diff options
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-cards.c')
-rw-r--r-- | drivers/media/video/em28xx/em28xx-cards.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c index 419304d31256..c16c28e1ec48 100644 --- a/drivers/media/video/em28xx/em28xx-cards.c +++ b/drivers/media/video/em28xx/em28xx-cards.c | |||
@@ -1297,6 +1297,26 @@ struct em28xx_board em28xx_boards[] = { | |||
1297 | .amux = EM28XX_AMUX_LINE_IN, | 1297 | .amux = EM28XX_AMUX_LINE_IN, |
1298 | } }, | 1298 | } }, |
1299 | }, | 1299 | }, |
1300 | [EM2820_BOARD_IODATA_GVMVP_SZ] = { | ||
1301 | .name = "IO-DATA GV-MVP/SZ", | ||
1302 | .tuner_type = TUNER_PHILIPS_FM1236_MK3, | ||
1303 | .tuner_gpio = default_tuner_gpio, | ||
1304 | .tda9887_conf = TDA9887_PRESENT, | ||
1305 | .decoder = EM28XX_TVP5150, | ||
1306 | .input = { { | ||
1307 | .type = EM28XX_VMUX_TELEVISION, | ||
1308 | .vmux = TVP5150_COMPOSITE0, | ||
1309 | .amux = EM28XX_AMUX_VIDEO, | ||
1310 | }, { /* Composite has not been tested yet */ | ||
1311 | .type = EM28XX_VMUX_COMPOSITE1, | ||
1312 | .vmux = TVP5150_COMPOSITE1, | ||
1313 | .amux = EM28XX_AMUX_VIDEO, | ||
1314 | }, { /* S-video has not been tested yet */ | ||
1315 | .type = EM28XX_VMUX_SVIDEO, | ||
1316 | .vmux = TVP5150_SVIDEO, | ||
1317 | .amux = EM28XX_AMUX_VIDEO, | ||
1318 | } }, | ||
1319 | }, | ||
1300 | }; | 1320 | }; |
1301 | const unsigned int em28xx_bcount = ARRAY_SIZE(em28xx_boards); | 1321 | const unsigned int em28xx_bcount = ARRAY_SIZE(em28xx_boards); |
1302 | 1322 | ||
@@ -1396,6 +1416,8 @@ struct usb_device_id em28xx_id_table[] = { | |||
1396 | .driver_info = EM2800_BOARD_LEADTEK_WINFAST_USBII }, | 1416 | .driver_info = EM2800_BOARD_LEADTEK_WINFAST_USBII }, |
1397 | { USB_DEVICE(0x093b, 0xa005), | 1417 | { USB_DEVICE(0x093b, 0xa005), |
1398 | .driver_info = EM2861_BOARD_PLEXTOR_PX_TV100U }, | 1418 | .driver_info = EM2861_BOARD_PLEXTOR_PX_TV100U }, |
1419 | { USB_DEVICE(0x04bb, 0x0515), | ||
1420 | .driver_info = EM2820_BOARD_IODATA_GVMVP_SZ }, | ||
1399 | { }, | 1421 | { }, |
1400 | }; | 1422 | }; |
1401 | MODULE_DEVICE_TABLE(usb, em28xx_id_table); | 1423 | MODULE_DEVICE_TABLE(usb, em28xx_id_table); |
@@ -1589,6 +1611,16 @@ void em28xx_pre_card_setup(struct em28xx *dev) | |||
1589 | em28xx_write_regs(dev, 0x08, "\xf8", 1); | 1611 | em28xx_write_regs(dev, 0x08, "\xf8", 1); |
1590 | break; | 1612 | break; |
1591 | 1613 | ||
1614 | case EM2820_BOARD_IODATA_GVMVP_SZ: | ||
1615 | em28xx_write_reg(dev, EM28XX_R08_GPIO, 0xff); | ||
1616 | msleep(70); | ||
1617 | em28xx_write_reg(dev, EM28XX_R08_GPIO, 0xf7); | ||
1618 | msleep(10); | ||
1619 | em28xx_write_reg(dev, EM28XX_R08_GPIO, 0xfe); | ||
1620 | msleep(70); | ||
1621 | em28xx_write_reg(dev, EM28XX_R08_GPIO, 0xfd); | ||
1622 | msleep(70); | ||
1623 | break; | ||
1592 | } | 1624 | } |
1593 | 1625 | ||
1594 | em28xx_gpio_set(dev, dev->board.tuner_gpio); | 1626 | em28xx_gpio_set(dev, dev->board.tuner_gpio); |