aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/em28xx/em28xx-cards.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-17 21:37:40 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 14:09:41 -0300
commit227ad4ab9058ef2624934183e8083886cf64bf56 (patch)
tree8cc10b3cc1ea7b23c54411c007581e5cd9ec6217 /drivers/media/video/em28xx/em28xx-cards.c
parentee6e3a865a469c78daa93a1e6cdbaca3a102f9c8 (diff)
V4L/DVB (7596): em28xx-dvb: Add support for HVR950
This patch adds DVB support for Hauppauge HVR950. Thanks to Michael Krufky <mkrufky@linuxtv.org> for getting those values. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-cards.c')
-rw-r--r--drivers/media/video/em28xx/em28xx-cards.c29
1 files changed, 28 insertions, 1 deletions
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c
index c907d6a5a05..710f110b6e8 100644
--- a/drivers/media/video/em28xx/em28xx-cards.c
+++ b/drivers/media/video/em28xx/em28xx-cards.c
@@ -180,6 +180,7 @@ struct em28xx_board em28xx_boards[] = {
.tuner_type = TUNER_XC2028,
.mts_firmware = 1,
.has_12mhz_i2s = 1,
+ .has_dvb = 1,
.decoder = EM28XX_TVP5150,
.input = { {
.type = EM28XX_VMUX_TELEVISION,
@@ -194,6 +195,32 @@ struct em28xx_board em28xx_boards[] = {
.vmux = TVP5150_SVIDEO,
.amux = 1,
} },
+ .analog_gpio = {
+ { /* xc3028 reset seq */
+ .reg = 0x08,
+ .val = 0x3d,
+ .rst = 0x2d,
+ .t1 = 5,
+ .t2 = 10,
+ .t3 = 5,
+ },
+ },
+ .digital_gpio = {
+ { /* xc3028 reset seq */
+ .reg = 0x08,
+ .val = 0x3e,
+ .rst = 0x2e,
+ .t1 = 6,
+ .t2 = 6,
+ .t3 = 6,
+ }, { /* demod reset seq */
+ .reg = 0x04,
+ .val = 0x0c,
+ .rst = 0x04,
+ .t2 = 10,
+ .t3 = 10,
+ }
+ },
},
[EM2880_BOARD_TERRATEC_HYBRID_XS] = {
.name = "Terratec Hybrid XS",
@@ -521,7 +548,7 @@ void em28xx_pre_card_setup(struct em28xx *dev)
/* Put xc2028 tuners and demods into a sane state */
if (dev->tuner_type == TUNER_XC2028) {
- dev->mode = EM28XX_DIGITAL_MODE;
+ dev->mode = EM28XX_ANALOG_MODE;
em28xx_tuner_callback(dev, XC2028_TUNER_RESET, 0);
};
}