aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx23885/cx23885-cards.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-cards.c')
-rw-r--r--drivers/media/video/cx23885/cx23885-cards.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c
index 68ac04b7f1e..604ceb18052 100644
--- a/drivers/media/video/cx23885/cx23885-cards.c
+++ b/drivers/media/video/cx23885/cx23885-cards.c
@@ -189,6 +189,10 @@ struct cx23885_board cx23885_boards[] = {
189 .name = "Hauppauge WinTV-HVR1275", 189 .name = "Hauppauge WinTV-HVR1275",
190 .portc = CX23885_MPEG_DVB, 190 .portc = CX23885_MPEG_DVB,
191 }, 191 },
192 [CX23885_BOARD_HAUPPAUGE_HVR1255] = {
193 .name = "Hauppauge WinTV-HVR1255",
194 .portc = CX23885_MPEG_DVB,
195 },
192}; 196};
193const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards); 197const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards);
194 198
@@ -296,6 +300,10 @@ struct cx23885_subid cx23885_subids[] = {
296 .subvendor = 0x0070, 300 .subvendor = 0x0070,
297 .subdevice = 0x2215, 301 .subdevice = 0x2215,
298 .card = CX23885_BOARD_HAUPPAUGE_HVR1275, 302 .card = CX23885_BOARD_HAUPPAUGE_HVR1275,
303 }, {
304 .subvendor = 0x0070,
305 .subdevice = 0x2251,
306 .card = CX23885_BOARD_HAUPPAUGE_HVR1255,
299 }, 307 },
300}; 308};
301const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids); 309const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids);
@@ -637,6 +645,7 @@ void cx23885_gpio_setup(struct cx23885_dev *dev)
637 break; 645 break;
638 case CX23885_BOARD_HAUPPAUGE_HVR1270: 646 case CX23885_BOARD_HAUPPAUGE_HVR1270:
639 case CX23885_BOARD_HAUPPAUGE_HVR1275: 647 case CX23885_BOARD_HAUPPAUGE_HVR1275:
648 case CX23885_BOARD_HAUPPAUGE_HVR1255:
640 /* GPIO-5 RF Control: 0 = RF1 Terrestrial, 1 = RF2 Cable */ 649 /* GPIO-5 RF Control: 0 = RF1 Terrestrial, 1 = RF2 Cable */
641 /* GPIO-6 I2C Gate which can isolate the 3305 from the bus */ 650 /* GPIO-6 I2C Gate which can isolate the 3305 from the bus */
642 /* GPIO-9 LG3305 reset */ 651 /* GPIO-9 LG3305 reset */
@@ -662,6 +671,7 @@ int cx23885_ir_init(struct cx23885_dev *dev)
662 case CX23885_BOARD_HAUPPAUGE_HVR1400: 671 case CX23885_BOARD_HAUPPAUGE_HVR1400:
663 case CX23885_BOARD_HAUPPAUGE_HVR1270: 672 case CX23885_BOARD_HAUPPAUGE_HVR1270:
664 case CX23885_BOARD_HAUPPAUGE_HVR1275: 673 case CX23885_BOARD_HAUPPAUGE_HVR1275:
674 case CX23885_BOARD_HAUPPAUGE_HVR1255:
665 /* FIXME: Implement me */ 675 /* FIXME: Implement me */
666 break; 676 break;
667 case CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP: 677 case CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP:
@@ -699,6 +709,7 @@ void cx23885_card_setup(struct cx23885_dev *dev)
699 case CX23885_BOARD_HAUPPAUGE_HVR1700: 709 case CX23885_BOARD_HAUPPAUGE_HVR1700:
700 case CX23885_BOARD_HAUPPAUGE_HVR1270: 710 case CX23885_BOARD_HAUPPAUGE_HVR1270:
701 case CX23885_BOARD_HAUPPAUGE_HVR1275: 711 case CX23885_BOARD_HAUPPAUGE_HVR1275:
712 case CX23885_BOARD_HAUPPAUGE_HVR1255:
702 if (dev->i2c_bus[0].i2c_rc == 0) 713 if (dev->i2c_bus[0].i2c_rc == 0)
703 hauppauge_eeprom(dev, eeprom+0xc0); 714 hauppauge_eeprom(dev, eeprom+0xc0);
704 break; 715 break;
@@ -758,6 +769,7 @@ void cx23885_card_setup(struct cx23885_dev *dev)
758 case CX23885_BOARD_COMPRO_VIDEOMATE_E650F: 769 case CX23885_BOARD_COMPRO_VIDEOMATE_E650F:
759 case CX23885_BOARD_HAUPPAUGE_HVR1270: 770 case CX23885_BOARD_HAUPPAUGE_HVR1270:
760 case CX23885_BOARD_HAUPPAUGE_HVR1275: 771 case CX23885_BOARD_HAUPPAUGE_HVR1275:
772 case CX23885_BOARD_HAUPPAUGE_HVR1255:
761 default: 773 default:
762 ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ 774 ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */
763 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ 775 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */