aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitaly Wool <vital@embeddedalley.com>2008-07-27 13:10:11 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-27 13:22:56 -0400
commitd3603341e2f3c39f017f8df4b1cd734aeb0d453b (patch)
tree57807be2cd210771d2d8ad37f4463a9641a34515
parent95b86a9a9020da22e7c25abc77aae4dc8f02ab55 (diff)
V4L/DVB (8540): em28xx-cards: Add Compro VideoMate ForYou/Stereo model
Added Compro VideoMate ForYou/Stereo model (analog only) Signed-off-by: Vitaly Wool <vital@embeddedalley.com> [dougsland@gmail.com: Solved conflicts with v4l-dvb devel tree] Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> [mchehab@infradead.org: Need to fix some merge conflicts] Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--Documentation/video4linux/CARDLIST.em28xx1
-rw-r--r--drivers/media/video/em28xx/em28xx-cards.c18
-rw-r--r--drivers/media/video/em28xx/em28xx.h1
3 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/video4linux/CARDLIST.em28xx b/Documentation/video4linux/CARDLIST.em28xx
index 4126397a3ec8..57dfb2340181 100644
--- a/Documentation/video4linux/CARDLIST.em28xx
+++ b/Documentation/video4linux/CARDLIST.em28xx
@@ -57,3 +57,4 @@
57 56 -> Pinnacle Hybrid Pro (2) (em2882) [2304:0226] 57 56 -> Pinnacle Hybrid Pro (2) (em2882) [2304:0226]
58 57 -> Kworld PlusTV HD Hybrid 330 (em2883) [eb1a:a316] 58 57 -> Kworld PlusTV HD Hybrid 330 (em2883) [eb1a:a316]
59 58 -> Hauppauge WinTV HVR 950 (em2883) 59 58 -> Hauppauge WinTV HVR 950 (em2883)
60 59 -> Compro VideoMate ForYou/Stereo (em2820/em2840) [185b:2041]
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c
index e3e965defd5a..766b0bed7e7f 100644
--- a/drivers/media/video/em28xx/em28xx-cards.c
+++ b/drivers/media/video/em28xx/em28xx-cards.c
@@ -1134,6 +1134,22 @@ struct em28xx_board em28xx_boards[] = {
1134 .amux = 1, 1134 .amux = 1,
1135 } }, 1135 } },
1136 }, 1136 },
1137 [EM2820_BOARD_COMPRO_VIDEO_MATE] = {
1138 .name = "Compro VideoMate ForYou/Stereo",
1139 .vchannels = 2,
1140 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
1141 .tda9887_conf = TDA9887_PRESENT,
1142 .decoder = EM28XX_TVP5150,
1143 .input = { {
1144 .type = EM28XX_VMUX_TELEVISION,
1145 .vmux = TVP5150_COMPOSITE0,
1146 .amux = EM28XX_AMUX_LINE_IN,
1147 }, {
1148 .type = EM28XX_VMUX_SVIDEO,
1149 .vmux = TVP5150_SVIDEO,
1150 .amux = EM28XX_AMUX_LINE_IN,
1151 } },
1152 },
1137}; 1153};
1138const unsigned int em28xx_bcount = ARRAY_SIZE(em28xx_boards); 1154const unsigned int em28xx_bcount = ARRAY_SIZE(em28xx_boards);
1139 1155
@@ -1195,6 +1211,8 @@ struct usb_device_id em28xx_id_table [] = {
1195 .driver_info = EM2880_BOARD_TERRATEC_PRODIGY_XS }, 1211 .driver_info = EM2880_BOARD_TERRATEC_PRODIGY_XS },
1196 { USB_DEVICE(0x185b, 0x2870), 1212 { USB_DEVICE(0x185b, 0x2870),
1197 .driver_info = EM2870_BOARD_COMPRO_VIDEOMATE }, 1213 .driver_info = EM2870_BOARD_COMPRO_VIDEOMATE },
1214 { USB_DEVICE(0x185b, 0x2041),
1215 .driver_info = EM2820_BOARD_COMPRO_VIDEO_MATE },
1198 { USB_DEVICE(0x2040, 0x4200), 1216 { USB_DEVICE(0x2040, 0x4200),
1199 .driver_info = EM2820_BOARD_HAUPPAUGE_WINTV_USB_2 }, 1217 .driver_info = EM2820_BOARD_HAUPPAUGE_WINTV_USB_2 },
1200 { USB_DEVICE(0x2040, 0x4201), 1218 { USB_DEVICE(0x2040, 0x4201),
diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h
index 1b7364d664bf..746a7acaf9d0 100644
--- a/drivers/media/video/em28xx/em28xx.h
+++ b/drivers/media/video/em28xx/em28xx.h
@@ -97,6 +97,7 @@
97#define EM2882_BOARD_PINNACLE_HYBRID_PRO 56 97#define EM2882_BOARD_PINNACLE_HYBRID_PRO 56
98#define EM2883_BOARD_KWORLD_HYBRID_A316 57 98#define EM2883_BOARD_KWORLD_HYBRID_A316 57
99#define EM2883_BOARD_HAUPPAUGE_WINTV_HVR_950 58 99#define EM2883_BOARD_HAUPPAUGE_WINTV_HVR_950 58
100#define EM2820_BOARD_COMPRO_VIDEO_MATE 59
100 101
101/* Limits minimum and default number of buffers */ 102/* Limits minimum and default number of buffers */
102#define EM28XX_MIN_BUF 4 103#define EM28XX_MIN_BUF 4