diff options
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-cards.c')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-cards.c | 12 |
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 02ba4aec7d92..bfdf79f1033c 100644 --- a/drivers/media/video/cx23885/cx23885-cards.c +++ b/drivers/media/video/cx23885/cx23885-cards.c | |||
@@ -210,6 +210,10 @@ struct cx23885_board cx23885_boards[] = { | |||
210 | .portb = CX23885_MPEG_ENCODER, | 210 | .portb = CX23885_MPEG_ENCODER, |
211 | .portc = CX23885_MPEG_DVB, | 211 | .portc = CX23885_MPEG_DVB, |
212 | }, | 212 | }, |
213 | [CX23885_BOARD_COMPRO_VIDEOMATE_E800] = { | ||
214 | .name = "Compro VideoMate E800", | ||
215 | .portc = CX23885_MPEG_DVB, | ||
216 | }, | ||
213 | }; | 217 | }; |
214 | const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards); | 218 | const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards); |
215 | 219 | ||
@@ -341,6 +345,10 @@ struct cx23885_subid cx23885_subids[] = { | |||
341 | .subvendor = 0x0070, | 345 | .subvendor = 0x0070, |
342 | .subdevice = 0x8541, | 346 | .subdevice = 0x8541, |
343 | .card = CX23885_BOARD_HAUPPAUGE_HVR1850, | 347 | .card = CX23885_BOARD_HAUPPAUGE_HVR1850, |
348 | }, { | ||
349 | .subvendor = 0x1858, | ||
350 | .subdevice = 0xe800, | ||
351 | .card = CX23885_BOARD_COMPRO_VIDEOMATE_E800, | ||
344 | }, | 352 | }, |
345 | }; | 353 | }; |
346 | const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids); | 354 | const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids); |
@@ -536,6 +544,7 @@ int cx23885_tuner_callback(void *priv, int component, int command, int arg) | |||
536 | case CX23885_BOARD_HAUPPAUGE_HVR1500Q: | 544 | case CX23885_BOARD_HAUPPAUGE_HVR1500Q: |
537 | case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H: | 545 | case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H: |
538 | case CX23885_BOARD_COMPRO_VIDEOMATE_E650F: | 546 | case CX23885_BOARD_COMPRO_VIDEOMATE_E650F: |
547 | case CX23885_BOARD_COMPRO_VIDEOMATE_E800: | ||
539 | /* Tuner Reset Command */ | 548 | /* Tuner Reset Command */ |
540 | bitmask = 0x04; | 549 | bitmask = 0x04; |
541 | break; | 550 | break; |
@@ -687,6 +696,7 @@ void cx23885_gpio_setup(struct cx23885_dev *dev) | |||
687 | break; | 696 | break; |
688 | case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H: | 697 | case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H: |
689 | case CX23885_BOARD_COMPRO_VIDEOMATE_E650F: | 698 | case CX23885_BOARD_COMPRO_VIDEOMATE_E650F: |
699 | case CX23885_BOARD_COMPRO_VIDEOMATE_E800: | ||
690 | /* GPIO-2 xc3028 tuner reset */ | 700 | /* GPIO-2 xc3028 tuner reset */ |
691 | 701 | ||
692 | /* The following GPIO's are on the internal AVCore (cx25840) */ | 702 | /* The following GPIO's are on the internal AVCore (cx25840) */ |
@@ -911,6 +921,7 @@ void cx23885_card_setup(struct cx23885_dev *dev) | |||
911 | case CX23885_BOARD_HAUPPAUGE_HVR1255: | 921 | case CX23885_BOARD_HAUPPAUGE_HVR1255: |
912 | case CX23885_BOARD_HAUPPAUGE_HVR1210: | 922 | case CX23885_BOARD_HAUPPAUGE_HVR1210: |
913 | case CX23885_BOARD_HAUPPAUGE_HVR1850: | 923 | case CX23885_BOARD_HAUPPAUGE_HVR1850: |
924 | case CX23885_BOARD_COMPRO_VIDEOMATE_E800: | ||
914 | default: | 925 | default: |
915 | ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ | 926 | ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ |
916 | ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ | 927 | ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ |
@@ -927,6 +938,7 @@ void cx23885_card_setup(struct cx23885_dev *dev) | |||
927 | case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H: | 938 | case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H: |
928 | case CX23885_BOARD_COMPRO_VIDEOMATE_E650F: | 939 | case CX23885_BOARD_COMPRO_VIDEOMATE_E650F: |
929 | case CX23885_BOARD_NETUP_DUAL_DVBS2_CI: | 940 | case CX23885_BOARD_NETUP_DUAL_DVBS2_CI: |
941 | case CX23885_BOARD_COMPRO_VIDEOMATE_E800: | ||
930 | dev->sd_cx25840 = v4l2_i2c_new_subdev(&dev->v4l2_dev, | 942 | dev->sd_cx25840 = v4l2_i2c_new_subdev(&dev->v4l2_dev, |
931 | &dev->i2c_bus[2].i2c_adap, | 943 | &dev->i2c_bus[2].i2c_adap, |
932 | "cx25840", "cx25840", 0x88 >> 1, NULL); | 944 | "cx25840", "cx25840", 0x88 >> 1, NULL); |