[media] siano: add support for PCTV 77e
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 11 Aug 2014 21:09:32 +0000 (18:09 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 21 Aug 2014 20:25:27 +0000 (15:25 -0500)
Add support for PCTV microStick (77e) device that uses a sms1140
chipset.

Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/common/siano/sms-cards.c
drivers/media/common/siano/sms-cards.h
drivers/media/usb/siano/smsusb.c

index 82769993eeb7b390cc5441cffc9bf5096b6411a9..82c7a1289f053313bb7f866bb08a9288e2a67db6 100644 (file)
@@ -157,6 +157,12 @@ static struct sms_board sms_boards[] = {
                .type = SMS_DENVER_2160,
                .default_mode = DEVICE_MODE_DAB_TDMB,
        },
+       [SMS1XXX_BOARD_PCTV_77E] = {
+               .name   = "Hauppauge microStick 77e",
+               .type   = SMS_NOVA_B0,
+               .fw[DEVICE_MODE_DVBT_BDA] = SMS_FW_DVB_NOVA_12MHZ_B0,
+               .default_mode = DEVICE_MODE_DVBT_BDA,
+       },
 };
 
 struct sms_board *sms_get_board(unsigned id)
index c63b544c49c5b721769131d8065f044eebd76e91..4c4caddf986984e2aa94ce2da8bf7f1229718767 100644 (file)
@@ -45,6 +45,7 @@
 #define SMS1XXX_BOARD_SIANO_RIO                18
 #define SMS1XXX_BOARD_SIANO_DENVER_1530        19
 #define SMS1XXX_BOARD_SIANO_DENVER_2160 20
+#define SMS1XXX_BOARD_PCTV_77E         21
 
 struct sms_board_gpio_cfg {
        int lna_vhf_exist;
index 1836a416d80646151e80c67d8896f96fa6fd1fe2..89c86ee2b2253ce79ce5a0ce0fb5a5bb7da92279 100644 (file)
@@ -655,6 +655,8 @@ static const struct usb_device_id smsusb_id_table[] = {
                .driver_info = SMS1XXX_BOARD_ONDA_MDTV_DATA_CARD },
        { USB_DEVICE(0x3275, 0x0080),
                .driver_info = SMS1XXX_BOARD_SIANO_RIO },
+       { USB_DEVICE(0x2013, 0x0257),
+               .driver_info = SMS1XXX_BOARD_PCTV_77E },
        { } /* Terminating entry */
        };