aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134/saa7134-dvb.c
diff options
context:
space:
mode:
authorHartmut Hackmann <hartmut.hackmann@t-online.de>2006-10-12 19:38:51 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-12-10 05:51:03 -0500
commit8364681766cc18b948cf9d7bd46d1b92f343743b (patch)
tree5a683a8df037c191800a70729e76cc7305bc9572 /drivers/media/video/saa7134/saa7134-dvb.c
parent7da6894a96ebbc1505763213c42b8fcf66aa3d90 (diff)
V4L/DVB (4769): Added support for a ASUSTEK P7131 Dual DVB-T variant
This card has no firmware eeprom. The old version still should not need a firmware file due to an undocumented feature of the TDA10046. The patch also includes Hermann Pitton's proposal for improved antenna switch handling Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de> 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.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c
index 69092f092bb8..706450c27a57 100644
--- a/drivers/media/video/saa7134/saa7134-dvb.c
+++ b/drivers/media/video/saa7134/saa7134-dvb.c
@@ -894,6 +894,16 @@ static struct tda1004x_config pinnacle_pctv_310i_config = {
894 894
895/* ------------------------------------------------------------------ */ 895/* ------------------------------------------------------------------ */
896 896
897static struct tda1004x_config asus_p7131_dual_config = {
898 .demod_address = 0x08,
899 .invert = 1,
900 .invert_oclk = 0,
901 .xtal_freq = TDA10046_XTAL_16M,
902 .agc_config = TDA10046_AGC_TDA827X,
903 .if_freq = TDA10046_FREQ_045,
904 .request_firmware = philips_tda1004x_request_firmware,
905};
906
897static int asus_p7131_dual_tuner_init(struct dvb_frontend *fe) 907static int asus_p7131_dual_tuner_init(struct dvb_frontend *fe)
898{ 908{
899 struct saa7134_dev *dev = fe->dvb->priv; 909 struct saa7134_dev *dev = fe->dvb->priv;
@@ -1207,7 +1217,7 @@ static int dvb_init(struct saa7134_dev *dev)
1207 break; 1217 break;
1208 case SAA7134_BOARD_ASUSTeK_P7131_DUAL: 1218 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
1209 dev->dvb.frontend = dvb_attach(tda10046_attach, 1219 dev->dvb.frontend = dvb_attach(tda10046_attach,
1210 &philips_tiger_config, 1220 &asus_p7131_dual_config,
1211 &dev->i2c_adap); 1221 &dev->i2c_adap);
1212 if (dev->dvb.frontend) { 1222 if (dev->dvb.frontend) {
1213 dev->dvb.frontend->ops.i2c_gate_ctrl = tda8290_i2c_gate_ctrl; 1223 dev->dvb.frontend->ops.i2c_gate_ctrl = tda8290_i2c_gate_ctrl;