diff options
author | Thomas Genty <tomlohave@gmail.com> | 2006-11-05 12:17:30 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-12-10 05:51:16 -0500 |
commit | c6e53daffc2c6e66069304b3970256744074abec (patch) | |
tree | 5744088c00dc008ac7765fd78b511b812461a39b /drivers/media/video/saa7134/saa7134-dvb.c | |
parent | 8637a8759585b97ec1d54ff4a4f33f34be4f5b1c (diff) |
V4L/DVB (4806): Saa7134: add support for Hauppauge WinTV-HVR1110 DVB-T/Hybrid
This patch adds support for the Hauppauge WinTV-HVR1110 DVB-T/Hybrid
Signed-off-by: Thomas Genty <tomlohave@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-dvb.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-dvb.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c index 098d8a6a0813..a51264f636fd 100644 --- a/drivers/media/video/saa7134/saa7134-dvb.c +++ b/drivers/media/video/saa7134/saa7134-dvb.c | |||
@@ -900,6 +900,18 @@ static struct tda1004x_config pinnacle_pctv_310i_config = { | |||
900 | 900 | ||
901 | /* ------------------------------------------------------------------ */ | 901 | /* ------------------------------------------------------------------ */ |
902 | 902 | ||
903 | static struct tda1004x_config hauppauge_hvr_1110_config = { | ||
904 | .demod_address = 0x08, | ||
905 | .invert = 1, | ||
906 | .invert_oclk = 0, | ||
907 | .xtal_freq = TDA10046_XTAL_16M, | ||
908 | .agc_config = TDA10046_AGC_TDA827X, | ||
909 | .if_freq = TDA10046_FREQ_045, | ||
910 | .request_firmware = philips_tda1004x_request_firmware, | ||
911 | }; | ||
912 | |||
913 | /* ------------------------------------------------------------------ */ | ||
914 | |||
903 | static struct tda1004x_config asus_p7131_dual_config = { | 915 | static struct tda1004x_config asus_p7131_dual_config = { |
904 | .demod_address = 0x08, | 916 | .demod_address = 0x08, |
905 | .invert = 1, | 917 | .invert = 1, |
@@ -1221,6 +1233,17 @@ static int dvb_init(struct saa7134_dev *dev) | |||
1221 | dev->dvb.frontend->ops.tuner_ops.set_params = philips_tiger_tuner_set_params; | 1233 | dev->dvb.frontend->ops.tuner_ops.set_params = philips_tiger_tuner_set_params; |
1222 | } | 1234 | } |
1223 | break; | 1235 | break; |
1236 | case SAA7134_BOARD_HAUPPAUGE_HVR1110: | ||
1237 | dev->dvb.frontend = dvb_attach(tda10046_attach, | ||
1238 | &hauppauge_hvr_1110_config, | ||
1239 | &dev->i2c_adap); | ||
1240 | if (dev->dvb.frontend) { | ||
1241 | dev->dvb.frontend->ops.i2c_gate_ctrl = tda8290_i2c_gate_ctrl; | ||
1242 | dev->dvb.frontend->ops.tuner_ops.init = philips_tiger_tuner_init; | ||
1243 | dev->dvb.frontend->ops.tuner_ops.sleep = philips_tiger_tuner_sleep; | ||
1244 | dev->dvb.frontend->ops.tuner_ops.set_params = philips_tiger_tuner_set_params; | ||
1245 | } | ||
1246 | break; | ||
1224 | case SAA7134_BOARD_ASUSTeK_P7131_DUAL: | 1247 | case SAA7134_BOARD_ASUSTeK_P7131_DUAL: |
1225 | dev->dvb.frontend = dvb_attach(tda10046_attach, | 1248 | dev->dvb.frontend = dvb_attach(tda10046_attach, |
1226 | &asus_p7131_dual_config, | 1249 | &asus_p7131_dual_config, |