diff options
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-cards.c')
-rw-r--r-- | drivers/media/video/em28xx/em28xx-cards.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c index 9a5ac562ee33..4e37375decf5 100644 --- a/drivers/media/video/em28xx/em28xx-cards.c +++ b/drivers/media/video/em28xx/em28xx-cards.c | |||
@@ -289,6 +289,16 @@ static struct em28xx_reg_seq leadership_reset[] = { | |||
289 | { -1, -1, -1, -1}, | 289 | { -1, -1, -1, -1}, |
290 | }; | 290 | }; |
291 | 291 | ||
292 | /* 2013:024f PCTV Systems nanoStick T2 290e | ||
293 | * GPIO_6 - demod reset | ||
294 | * GPIO_7 - LED | ||
295 | */ | ||
296 | static struct em28xx_reg_seq pctv_290e[] = { | ||
297 | {EM2874_R80_GPIO, 0x00, 0xff, 80}, | ||
298 | {EM2874_R80_GPIO, 0x40, 0xff, 80}, /* GPIO_6 = 1 */ | ||
299 | {EM2874_R80_GPIO, 0xc0, 0xff, 80}, /* GPIO_7 = 1 */ | ||
300 | {-1, -1, -1, -1}, | ||
301 | }; | ||
292 | 302 | ||
293 | /* | 303 | /* |
294 | * Board definitions | 304 | * Board definitions |
@@ -1760,6 +1770,17 @@ struct em28xx_board em28xx_boards[] = { | |||
1760 | .dvb_gpio = kworld_a340_digital, | 1770 | .dvb_gpio = kworld_a340_digital, |
1761 | .tuner_gpio = default_tuner_gpio, | 1771 | .tuner_gpio = default_tuner_gpio, |
1762 | }, | 1772 | }, |
1773 | /* 2013:024f PCTV Systems nanoStick T2 290e. | ||
1774 | * Empia EM28174, Sony CXD2820R and NXP TDA18271HD/C2 */ | ||
1775 | [EM28174_BOARD_PCTV_290E] = { | ||
1776 | .i2c_speed = EM2874_I2C_SECONDARY_BUS_SELECT | | ||
1777 | EM28XX_I2C_CLK_WAIT_ENABLE | EM28XX_I2C_FREQ_100_KHZ, | ||
1778 | .xclk = EM28XX_XCLK_FREQUENCY_12MHZ, | ||
1779 | .name = "PCTV Systems nanoStick T2 290e", | ||
1780 | .tuner_type = TUNER_ABSENT, | ||
1781 | .tuner_gpio = pctv_290e, | ||
1782 | .has_dvb = 1, | ||
1783 | }, | ||
1763 | }; | 1784 | }; |
1764 | const unsigned int em28xx_bcount = ARRAY_SIZE(em28xx_boards); | 1785 | const unsigned int em28xx_bcount = ARRAY_SIZE(em28xx_boards); |
1765 | 1786 | ||
@@ -1887,6 +1908,8 @@ struct usb_device_id em28xx_id_table[] = { | |||
1887 | .driver_info = EM2860_BOARD_GADMEI_UTV330 }, | 1908 | .driver_info = EM2860_BOARD_GADMEI_UTV330 }, |
1888 | { USB_DEVICE(0x1b80, 0xa340), | 1909 | { USB_DEVICE(0x1b80, 0xa340), |
1889 | .driver_info = EM2870_BOARD_KWORLD_A340 }, | 1910 | .driver_info = EM2870_BOARD_KWORLD_A340 }, |
1911 | { USB_DEVICE(0x2013, 0x024f), | ||
1912 | .driver_info = EM28174_BOARD_PCTV_290E }, | ||
1890 | { }, | 1913 | { }, |
1891 | }; | 1914 | }; |
1892 | MODULE_DEVICE_TABLE(usb, em28xx_id_table); | 1915 | MODULE_DEVICE_TABLE(usb, em28xx_id_table); |