blob: b6c9d1f466bd7c30b1a2ed76c57aaeb08e9d465d [file] [log] [blame]
Steven Toth265a6512008-04-18 21:34:00 -03001/*
2 * Driver for the Auvitek USB bridge
3 *
Steven Toth6d897612008-09-03 17:12:12 -03004 * Copyright (c) 2008 Steven Toth <stoth@linuxtv.org>
Steven Toth265a6512008-04-18 21:34:00 -03005 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 *
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 */
21
22#include "au0828.h"
23#include "au0828-cards.h"
Devin Heitmueller8b2f0792009-03-11 03:00:40 -030024#include "au8522.h"
Devin Heitmuellerf1add5b2009-03-11 03:00:47 -030025#include "media/tuner.h"
26#include "media/v4l2-common.h"
Devin Heitmueller8b2f0792009-03-11 03:00:40 -030027
Mauro Carvalho Chehaba094ca42012-10-27 14:00:30 -030028static void hvr950q_cs5340_audio(void *priv, int enable)
Devin Heitmueller8b2f0792009-03-11 03:00:40 -030029{
30 /* Because the HVR-950q shares an i2s bus between the cs5340 and the
31 au8522, we need to hold cs5340 in reset when using the au8522 */
32 struct au0828_dev *dev = priv;
33 if (enable == 1)
34 au0828_set(dev, REG_000, 0x10);
35 else
36 au0828_clear(dev, REG_000, 0x10);
37}
Steven Toth265a6512008-04-18 21:34:00 -030038
Steven Toth265a6512008-04-18 21:34:00 -030039struct au0828_board au0828_boards[] = {
40 [AU0828_BOARD_UNKNOWN] = {
41 .name = "Unknown board",
Devin Heitmuellerf1add5b2009-03-11 03:00:47 -030042 .tuner_type = UNSET,
43 .tuner_addr = ADDR_UNSET,
Steven Toth265a6512008-04-18 21:34:00 -030044 },
45 [AU0828_BOARD_HAUPPAUGE_HVR850] = {
46 .name = "Hauppauge HVR850",
Devin Heitmuellerf1add5b2009-03-11 03:00:47 -030047 .tuner_type = TUNER_XC5000,
48 .tuner_addr = 0x61,
Mauro Carvalho Chehabd84fdc72014-08-07 13:10:26 -030049 .has_ir_i2c = 1,
Mauro Carvalho Chehabcfd0c772014-07-25 14:02:14 -030050 .i2c_clk_divider = AU0828_I2C_CLK_250KHZ,
Devin Heitmueller7fdd7c72009-03-11 03:00:43 -030051 .input = {
52 {
53 .type = AU0828_VMUX_TELEVISION,
54 .vmux = AU8522_COMPOSITE_CH4_SIF,
55 .amux = AU8522_AUDIO_SIF,
56 },
57 {
58 .type = AU0828_VMUX_COMPOSITE,
59 .vmux = AU8522_COMPOSITE_CH1,
60 .amux = AU8522_AUDIO_NONE,
61 .audio_setup = hvr950q_cs5340_audio,
62 },
63 {
64 .type = AU0828_VMUX_SVIDEO,
65 .vmux = AU8522_SVIDEO_CH13,
66 .amux = AU8522_AUDIO_NONE,
67 .audio_setup = hvr950q_cs5340_audio,
68 },
69 },
Steven Toth265a6512008-04-18 21:34:00 -030070 },
71 [AU0828_BOARD_HAUPPAUGE_HVR950Q] = {
72 .name = "Hauppauge HVR950Q",
Devin Heitmuellerf1add5b2009-03-11 03:00:47 -030073 .tuner_type = TUNER_XC5000,
74 .tuner_addr = 0x61,
Mauro Carvalho Chehab2fcfd312014-07-24 22:49:02 -030075 .has_ir_i2c = 1,
Devin Heitmueller16af6f52009-04-01 00:11:31 -030076 /* The au0828 hardware i2c implementation does not properly
77 support the xc5000's i2c clock stretching. So we need to
78 lower the clock frequency enough where the 15us clock
79 stretch fits inside of a normal clock cycle, or else the
80 au0828 fails to set the STOP bit. A 30 KHz clock puts the
81 clock pulse width at 18us */
Mauro Carvalho Chehabcfd0c772014-07-25 14:02:14 -030082 .i2c_clk_divider = AU0828_I2C_CLK_250KHZ,
Devin Heitmueller8b2f0792009-03-11 03:00:40 -030083 .input = {
84 {
85 .type = AU0828_VMUX_TELEVISION,
86 .vmux = AU8522_COMPOSITE_CH4_SIF,
87 .amux = AU8522_AUDIO_SIF,
88 },
89 {
90 .type = AU0828_VMUX_COMPOSITE,
91 .vmux = AU8522_COMPOSITE_CH1,
92 .amux = AU8522_AUDIO_NONE,
93 .audio_setup = hvr950q_cs5340_audio,
94 },
95 {
96 .type = AU0828_VMUX_SVIDEO,
97 .vmux = AU8522_SVIDEO_CH13,
98 .amux = AU8522_AUDIO_NONE,
99 .audio_setup = hvr950q_cs5340_audio,
100 },
101 },
Steven Toth265a6512008-04-18 21:34:00 -0300102 },
Michael Krufky59d27522008-07-09 00:23:08 -0300103 [AU0828_BOARD_HAUPPAUGE_HVR950Q_MXL] = {
104 .name = "Hauppauge HVR950Q rev xxF8",
Devin Heitmuellerf1add5b2009-03-11 03:00:47 -0300105 .tuner_type = UNSET,
106 .tuner_addr = ADDR_UNSET,
Devin Heitmueller16af6f52009-04-01 00:11:31 -0300107 .i2c_clk_divider = AU0828_I2C_CLK_250KHZ,
Michael Krufky59d27522008-07-09 00:23:08 -0300108 },
Steven Toth265a6512008-04-18 21:34:00 -0300109 [AU0828_BOARD_DVICO_FUSIONHDTV7] = {
110 .name = "DViCO FusionHDTV USB",
Devin Heitmuellerf1add5b2009-03-11 03:00:47 -0300111 .tuner_type = UNSET,
112 .tuner_addr = ADDR_UNSET,
Mauro Carvalho Chehabcfd0c772014-07-25 14:02:14 -0300113 .i2c_clk_divider = AU0828_I2C_CLK_250KHZ,
Steven Toth265a6512008-04-18 21:34:00 -0300114 },
Michael Krufky8e8bd222008-09-03 16:46:36 -0300115 [AU0828_BOARD_HAUPPAUGE_WOODBURY] = {
116 .name = "Hauppauge Woodbury",
Devin Heitmuellerf1add5b2009-03-11 03:00:47 -0300117 .tuner_type = UNSET,
118 .tuner_addr = ADDR_UNSET,
Devin Heitmueller16af6f52009-04-01 00:11:31 -0300119 .i2c_clk_divider = AU0828_I2C_CLK_250KHZ,
Michael Krufky8e8bd222008-09-03 16:46:36 -0300120 },
Steven Toth265a6512008-04-18 21:34:00 -0300121};
Steven Toth265a6512008-04-18 21:34:00 -0300122
123/* Tuner callback function for au0828 boards. Currently only needed
124 * for HVR1500Q, which has an xc5000 tuner.
125 */
Michael Krufkyd7cba042008-09-12 13:31:45 -0300126int au0828_tuner_callback(void *priv, int component, int command, int arg)
Steven Toth265a6512008-04-18 21:34:00 -0300127{
128 struct au0828_dev *dev = priv;
129
Michael Krufkyf07e8e42008-04-18 21:42:30 -0300130 dprintk(1, "%s()\n", __func__);
Steven Tothbc3c6132008-04-18 21:39:11 -0300131
Devin Heitmuellerf1add5b2009-03-11 03:00:47 -0300132 switch (dev->boardnr) {
Steven Toth265a6512008-04-18 21:34:00 -0300133 case AU0828_BOARD_HAUPPAUGE_HVR850:
134 case AU0828_BOARD_HAUPPAUGE_HVR950Q:
Michael Krufky59d27522008-07-09 00:23:08 -0300135 case AU0828_BOARD_HAUPPAUGE_HVR950Q_MXL:
Steven Toth265a6512008-04-18 21:34:00 -0300136 case AU0828_BOARD_DVICO_FUSIONHDTV7:
Steven Totha9c36aa2008-04-17 21:41:28 -0300137 if (command == 0) {
Steven Toth265a6512008-04-18 21:34:00 -0300138 /* Tuner Reset Command from xc5000 */
139 /* Drive the tuner into reset and out */
140 au0828_clear(dev, REG_001, 2);
Devin Heitmuellerb25ed9c2009-04-02 22:14:51 -0300141 mdelay(10);
Steven Toth265a6512008-04-18 21:34:00 -0300142 au0828_set(dev, REG_001, 2);
Devin Heitmuellerb25ed9c2009-04-02 22:14:51 -0300143 mdelay(10);
Steven Toth265a6512008-04-18 21:34:00 -0300144 return 0;
Mauro Carvalho Chehab18d73c52008-04-18 22:12:52 -0300145 } else {
Steven Toth265a6512008-04-18 21:34:00 -0300146 printk(KERN_ERR
Michael Krufkyf07e8e42008-04-18 21:42:30 -0300147 "%s(): Unknown command.\n", __func__);
Steven Toth265a6512008-04-18 21:34:00 -0300148 return -EINVAL;
149 }
150 break;
151 }
152
153 return 0; /* Should never be here */
154}
155
Steven Toth28930fa2008-03-29 19:53:07 -0300156static void hauppauge_eeprom(struct au0828_dev *dev, u8 *eeprom_data)
157{
158 struct tveeprom tv;
159
160 tveeprom_hauppauge_analog(&dev->i2c_client, &tv, eeprom_data);
Devin Heitmuellerf1add5b2009-03-11 03:00:47 -0300161 dev->board.tuner_type = tv.tuner_type;
Steven Toth28930fa2008-03-29 19:53:07 -0300162
163 /* Make sure we support the board model */
Steven Totha9c36aa2008-04-17 21:41:28 -0300164 switch (tv.model) {
Michael Krufky104fe9a2008-06-13 03:29:43 -0300165 case 72000: /* WinTV-HVR950q (Retail, IR, ATSC/QAM */
Devin Heitmueller62899a22009-03-15 18:48:52 -0300166 case 72001: /* WinTV-HVR950q (Retail, IR, ATSC/QAM and analog video */
Michael Krufky6b536a62011-11-29 18:55:04 -0300167 case 72101: /* WinTV-HVR950q (Retail, IR, ATSC/QAM and analog video */
168 case 72201: /* WinTV-HVR950q (OEM, IR, ATSC/QAM and analog video */
Devin Heitmueller62899a22009-03-15 18:48:52 -0300169 case 72211: /* WinTV-HVR950q (OEM, IR, ATSC/QAM and analog video */
170 case 72221: /* WinTV-HVR950q (OEM, IR, ATSC/QAM and analog video */
171 case 72231: /* WinTV-HVR950q (OEM, IR, ATSC/QAM and analog video */
172 case 72241: /* WinTV-HVR950q (OEM, No IR, ATSC/QAM and analog video */
173 case 72251: /* WinTV-HVR950q (Retail, IR, ATSC/QAM and analog video */
Michael Krufkyc70ffd592012-11-28 11:46:24 -0300174 case 72261: /* WinTV-HVR950q (OEM, No IR, ATSC/QAM and analog video */
175 case 72271: /* WinTV-HVR950q (OEM, No IR, ATSC/QAM and analog video */
176 case 72281: /* WinTV-HVR950q (OEM, No IR, ATSC/QAM and analog video */
Devin Heitmueller62899a22009-03-15 18:48:52 -0300177 case 72301: /* WinTV-HVR850 (Retail, IR, ATSC and analog video */
Michael Krufky104fe9a2008-06-13 03:29:43 -0300178 case 72500: /* WinTV-HVR950q (OEM, No IR, ATSC/QAM */
Steven Toth28930fa2008-03-29 19:53:07 -0300179 break;
180 default:
Michael Krufkyf07e8e42008-04-18 21:42:30 -0300181 printk(KERN_WARNING "%s: warning: "
182 "unknown hauppauge model #%d\n", __func__, tv.model);
Steven Toth28930fa2008-03-29 19:53:07 -0300183 break;
184 }
185
Michael Krufkyf07e8e42008-04-18 21:42:30 -0300186 printk(KERN_INFO "%s: hauppauge eeprom: model=%d\n",
187 __func__, tv.model);
Steven Toth28930fa2008-03-29 19:53:07 -0300188}
189
Michael Krufky5b7d8de2012-12-04 12:46:38 -0300190void au0828_card_analog_fe_setup(struct au0828_dev *dev);
191
Steven Toth28930fa2008-03-29 19:53:07 -0300192void au0828_card_setup(struct au0828_dev *dev)
193{
Steven Toth28930fa2008-03-29 19:53:07 -0300194 static u8 eeprom[256];
195
Michael Krufkyf07e8e42008-04-18 21:42:30 -0300196 dprintk(1, "%s()\n", __func__);
Steven Tothbc3c6132008-04-18 21:39:11 -0300197
Ezequiel Garciaf01e0ff2012-10-23 15:57:14 -0300198 dev->board = au0828_boards[dev->boardnr];
Devin Heitmuellerf1add5b2009-03-11 03:00:47 -0300199
Steven Toth28930fa2008-03-29 19:53:07 -0300200 if (dev->i2c_rc == 0) {
201 dev->i2c_client.addr = 0xa0 >> 1;
202 tveeprom_read(&dev->i2c_client, eeprom, sizeof(eeprom));
203 }
204
Devin Heitmuellerf1add5b2009-03-11 03:00:47 -0300205 switch (dev->boardnr) {
Steven Toth28930fa2008-03-29 19:53:07 -0300206 case AU0828_BOARD_HAUPPAUGE_HVR850:
207 case AU0828_BOARD_HAUPPAUGE_HVR950Q:
Michael Krufky59d27522008-07-09 00:23:08 -0300208 case AU0828_BOARD_HAUPPAUGE_HVR950Q_MXL:
Michael Krufky8e8bd222008-09-03 16:46:36 -0300209 case AU0828_BOARD_HAUPPAUGE_WOODBURY:
Steven Toth28930fa2008-03-29 19:53:07 -0300210 if (dev->i2c_rc == 0)
211 hauppauge_eeprom(dev, eeprom+0xa0);
212 break;
213 }
Devin Heitmuellerf1add5b2009-03-11 03:00:47 -0300214
Michael Krufky5b7d8de2012-12-04 12:46:38 -0300215 au0828_card_analog_fe_setup(dev);
216}
217
218void au0828_card_analog_fe_setup(struct au0828_dev *dev)
219{
Michael Krufky8a4e7862012-12-04 11:30:00 -0300220#ifdef CONFIG_VIDEO_AU0828_V4L2
Michael Krufky5b7d8de2012-12-04 12:46:38 -0300221 struct tuner_setup tun_setup;
222 struct v4l2_subdev *sd;
223 unsigned int mode_mask = T_ANALOG_TV;
224
Devin Heitmueller220be772009-03-11 03:01:01 -0300225 if (AUVI_INPUT(0).type != AU0828_VMUX_UNDEFINED) {
Devin Heitmuellerf1add5b2009-03-11 03:00:47 -0300226 /* Load the analog demodulator driver (note this would need to
227 be abstracted out if we ever need to support a different
228 demod) */
Hans Verkuile6574f22009-04-01 03:57:53 -0300229 sd = v4l2_i2c_new_subdev(&dev->v4l2_dev, &dev->i2c_adap,
Laurent Pinchart9a1f8b32010-09-24 10:16:44 -0300230 "au8522", 0x8e >> 1, NULL);
Devin Heitmueller62899a22009-03-15 18:48:52 -0300231 if (sd == NULL)
232 printk(KERN_ERR "analog subdev registration failed\n");
Devin Heitmuellerf1add5b2009-03-11 03:00:47 -0300233 }
234
235 /* Setup tuners */
236 if (dev->board.tuner_type != TUNER_ABSENT) {
237 /* Load the tuner module, which does the attach */
Hans Verkuile6574f22009-04-01 03:57:53 -0300238 sd = v4l2_i2c_new_subdev(&dev->v4l2_dev, &dev->i2c_adap,
Laurent Pinchart9a1f8b32010-09-24 10:16:44 -0300239 "tuner", dev->board.tuner_addr, NULL);
Devin Heitmueller62899a22009-03-15 18:48:52 -0300240 if (sd == NULL)
241 printk(KERN_ERR "tuner subdev registration fail\n");
Devin Heitmuellerf1add5b2009-03-11 03:00:47 -0300242
243 tun_setup.mode_mask = mode_mask;
244 tun_setup.type = dev->board.tuner_type;
245 tun_setup.addr = dev->board.tuner_addr;
246 tun_setup.tuner_callback = au0828_tuner_callback;
Devin Heitmueller2689d3d2009-03-15 20:01:53 -0300247 v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_type_addr,
248 &tun_setup);
Devin Heitmuellerf1add5b2009-03-11 03:00:47 -0300249 }
Michael Krufky8a4e7862012-12-04 11:30:00 -0300250#endif
Steven Toth28930fa2008-03-29 19:53:07 -0300251}
252
Steven Toth265a6512008-04-18 21:34:00 -0300253/*
254 * The bridge has between 8 and 12 gpios.
255 * Regs 1 and 0 deal with output enables.
Steven Totha9c36aa2008-04-17 21:41:28 -0300256 * Regs 3 and 2 deal with direction.
Steven Toth265a6512008-04-18 21:34:00 -0300257 */
258void au0828_gpio_setup(struct au0828_dev *dev)
259{
Michael Krufkyf07e8e42008-04-18 21:42:30 -0300260 dprintk(1, "%s()\n", __func__);
Steven Tothbc3c6132008-04-18 21:39:11 -0300261
Devin Heitmuellerf1add5b2009-03-11 03:00:47 -0300262 switch (dev->boardnr) {
Steven Toth265a6512008-04-18 21:34:00 -0300263 case AU0828_BOARD_HAUPPAUGE_HVR850:
264 case AU0828_BOARD_HAUPPAUGE_HVR950Q:
Michael Krufky59d27522008-07-09 00:23:08 -0300265 case AU0828_BOARD_HAUPPAUGE_HVR950Q_MXL:
Michael Krufky8e8bd222008-09-03 16:46:36 -0300266 case AU0828_BOARD_HAUPPAUGE_WOODBURY:
Steven Toth265a6512008-04-18 21:34:00 -0300267 /* GPIO's
268 * 4 - CS5340
269 * 5 - AU8522 Demodulator
270 * 6 - eeprom W/P
Devin Heitmueller8b2f0792009-03-11 03:00:40 -0300271 * 7 - power supply
Steven Toth265a6512008-04-18 21:34:00 -0300272 * 9 - XC5000 Tuner
273 */
274
Devin Heitmuellera06b4292013-08-19 18:25:16 -0300275 /* Set relevant GPIOs as outputs (leave the EEPROM W/P
276 as an input since we will never touch it and it has
277 a pullup) */
Steven Toth265a6512008-04-18 21:34:00 -0300278 au0828_write(dev, REG_003, 0x02);
Devin Heitmueller8b2f0792009-03-11 03:00:40 -0300279 au0828_write(dev, REG_002, 0x80 | 0x20 | 0x10);
Devin Heitmuellera06b4292013-08-19 18:25:16 -0300280
281 /* Into reset */
Steven Toth265a6512008-04-18 21:34:00 -0300282 au0828_write(dev, REG_001, 0x0);
283 au0828_write(dev, REG_000, 0x0);
Devin Heitmuellera06b4292013-08-19 18:25:16 -0300284 msleep(50);
Steven Toth265a6512008-04-18 21:34:00 -0300285
Devin Heitmuellera06b4292013-08-19 18:25:16 -0300286 /* Bring power supply out of reset */
287 au0828_write(dev, REG_000, 0x80);
288 msleep(50);
289
290 /* Bring xc5000 and au8522 out of reset (leave the
291 cs5340 in reset until needed) */
292 au0828_write(dev, REG_001, 0x02); /* xc5000 */
293 au0828_write(dev, REG_000, 0x80 | 0x20); /* PS + au8522 */
Devin Heitmueller8b2f0792009-03-11 03:00:40 -0300294
Steven Toth265a6512008-04-18 21:34:00 -0300295 msleep(250);
296 break;
297 case AU0828_BOARD_DVICO_FUSIONHDTV7:
298 /* GPIO's
299 * 6 - ?
300 * 8 - AU8522 Demodulator
301 * 9 - XC5000 Tuner
302 */
303
304 /* Into reset */
305 au0828_write(dev, REG_003, 0x02);
306 au0828_write(dev, REG_002, 0xa0);
307 au0828_write(dev, REG_001, 0x0);
308 au0828_write(dev, REG_000, 0x0);
309 msleep(100);
310
311 /* Out of reset */
312 au0828_write(dev, REG_003, 0x02);
313 au0828_write(dev, REG_002, 0xa0);
314 au0828_write(dev, REG_001, 0x02);
315 au0828_write(dev, REG_000, 0xa0);
316 msleep(250);
317 break;
318 }
319}
320
321/* table of devices that work with this driver */
Steven Totha8eb9122008-10-16 20:19:41 -0300322struct usb_device_id au0828_usb_id_table[] = {
Steven Toth265a6512008-04-18 21:34:00 -0300323 { USB_DEVICE(0x2040, 0x7200),
324 .driver_info = AU0828_BOARD_HAUPPAUGE_HVR950Q },
325 { USB_DEVICE(0x2040, 0x7240),
326 .driver_info = AU0828_BOARD_HAUPPAUGE_HVR850 },
327 { USB_DEVICE(0x0fe9, 0xd620),
328 .driver_info = AU0828_BOARD_DVICO_FUSIONHDTV7 },
Michael Krufky104fe9a2008-06-13 03:29:43 -0300329 { USB_DEVICE(0x2040, 0x7210),
330 .driver_info = AU0828_BOARD_HAUPPAUGE_HVR950Q },
331 { USB_DEVICE(0x2040, 0x7217),
332 .driver_info = AU0828_BOARD_HAUPPAUGE_HVR950Q },
333 { USB_DEVICE(0x2040, 0x721b),
334 .driver_info = AU0828_BOARD_HAUPPAUGE_HVR950Q },
Michael Krufkya636da62008-10-15 17:00:31 -0300335 { USB_DEVICE(0x2040, 0x721e),
336 .driver_info = AU0828_BOARD_HAUPPAUGE_HVR950Q },
Michael Krufky104fe9a2008-06-13 03:29:43 -0300337 { USB_DEVICE(0x2040, 0x721f),
338 .driver_info = AU0828_BOARD_HAUPPAUGE_HVR950Q },
339 { USB_DEVICE(0x2040, 0x7280),
340 .driver_info = AU0828_BOARD_HAUPPAUGE_HVR950Q },
341 { USB_DEVICE(0x0fd9, 0x0008),
342 .driver_info = AU0828_BOARD_HAUPPAUGE_HVR950Q },
Michael Krufky59d27522008-07-09 00:23:08 -0300343 { USB_DEVICE(0x2040, 0x7201),
344 .driver_info = AU0828_BOARD_HAUPPAUGE_HVR950Q_MXL },
345 { USB_DEVICE(0x2040, 0x7211),
346 .driver_info = AU0828_BOARD_HAUPPAUGE_HVR950Q_MXL },
347 { USB_DEVICE(0x2040, 0x7281),
348 .driver_info = AU0828_BOARD_HAUPPAUGE_HVR950Q_MXL },
Ismael Lucenoe2b710b2012-05-11 02:14:51 -0300349 { USB_DEVICE(0x05e1, 0x0480),
350 .driver_info = AU0828_BOARD_HAUPPAUGE_WOODBURY },
Michael Krufky8e8bd222008-09-03 16:46:36 -0300351 { USB_DEVICE(0x2040, 0x8200),
352 .driver_info = AU0828_BOARD_HAUPPAUGE_WOODBURY },
Michael Krufky23bbba32011-11-29 18:21:41 -0300353 { USB_DEVICE(0x2040, 0x7260),
354 .driver_info = AU0828_BOARD_HAUPPAUGE_HVR950Q },
Michael Krufky64a6b6c2011-11-29 18:23:11 -0300355 { USB_DEVICE(0x2040, 0x7213),
356 .driver_info = AU0828_BOARD_HAUPPAUGE_HVR950Q },
Michael Krufkyffc809882012-11-28 01:17:50 -0300357 { USB_DEVICE(0x2040, 0x7270),
358 .driver_info = AU0828_BOARD_HAUPPAUGE_HVR950Q },
Steven Toth265a6512008-04-18 21:34:00 -0300359 { },
360};
361
362MODULE_DEVICE_TABLE(usb, au0828_usb_id_table);