diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-cards.c | 12 | ||||
-rw-r--r-- | drivers/media/video/cx23885/cx23885-dvb.c | 1 | ||||
-rw-r--r-- | drivers/media/video/cx23885/cx23885.h | 1 |
3 files changed, 14 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); |
diff --git a/drivers/media/video/cx23885/cx23885-dvb.c b/drivers/media/video/cx23885/cx23885-dvb.c index 2519b27a370d..45e13ee66dc7 100644 --- a/drivers/media/video/cx23885/cx23885-dvb.c +++ b/drivers/media/video/cx23885/cx23885-dvb.c | |||
@@ -747,6 +747,7 @@ static int dvb_register(struct cx23885_tsport *port) | |||
747 | } | 747 | } |
748 | case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H: | 748 | case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H: |
749 | case CX23885_BOARD_COMPRO_VIDEOMATE_E650F: | 749 | case CX23885_BOARD_COMPRO_VIDEOMATE_E650F: |
750 | case CX23885_BOARD_COMPRO_VIDEOMATE_E800: | ||
750 | i2c_bus = &dev->i2c_bus[0]; | 751 | i2c_bus = &dev->i2c_bus[0]; |
751 | 752 | ||
752 | fe0->dvb.frontend = dvb_attach(zl10353_attach, | 753 | fe0->dvb.frontend = dvb_attach(zl10353_attach, |
diff --git a/drivers/media/video/cx23885/cx23885.h b/drivers/media/video/cx23885/cx23885.h index bee689104a20..cc7a165561ff 100644 --- a/drivers/media/video/cx23885/cx23885.h +++ b/drivers/media/video/cx23885/cx23885.h | |||
@@ -78,6 +78,7 @@ | |||
78 | #define CX23885_BOARD_MYGICA_X8506 22 | 78 | #define CX23885_BOARD_MYGICA_X8506 22 |
79 | #define CX23885_BOARD_MAGICPRO_PROHDTVE2 23 | 79 | #define CX23885_BOARD_MAGICPRO_PROHDTVE2 23 |
80 | #define CX23885_BOARD_HAUPPAUGE_HVR1850 24 | 80 | #define CX23885_BOARD_HAUPPAUGE_HVR1850 24 |
81 | #define CX23885_BOARD_COMPRO_VIDEOMATE_E800 25 | ||
81 | 82 | ||
82 | #define GPIO_0 0x00000001 | 83 | #define GPIO_0 0x00000001 |
83 | #define GPIO_1 0x00000002 | 84 | #define GPIO_1 0x00000002 |