summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134/saa7134-dvb.c
diff options
context:
space:
mode:
authorHartmut Hackmann <hartmut.hackmann@t-online.de>2007-03-14 00:58:29 +0100
committerHartmut Hackmann <hartmut.hackmann@t-online.de>2007-03-14 00:58:29 +0100
commit50a863165b9508d4447b92f8c74560ce797cf1a3 (patch)
tree9a0bc6ef6bd723c8113cb103a813ad3a2f1ec483 /linux/drivers/media/video/saa7134/saa7134-dvb.c
parent1225e09612f6ad652ca3b302ee6dcb79ccd8d45a (diff)
downloadmediapointer-dvb-s2-50a863165b9508d4447b92f8c74560ce797cf1a3.tar.gz
mediapointer-dvb-s2-50a863165b9508d4447b92f8c74560ce797cf1a3.tar.bz2
Added / corrected support for some ASUS hybrid boards
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> There are 2 new entries for p7131 boards and one correction for a board with LNA Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Diffstat (limited to 'linux/drivers/media/video/saa7134/saa7134-dvb.c')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-dvb.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-dvb.c b/linux/drivers/media/video/saa7134/saa7134-dvb.c
index 9bc8e9bc1..863d57eab 100644
--- a/linux/drivers/media/video/saa7134/saa7134-dvb.c
+++ b/linux/drivers/media/video/saa7134/saa7134-dvb.c
@@ -859,6 +859,35 @@ static struct tda1004x_config md8800_dvbt_config = {
.request_firmware = philips_tda1004x_request_firmware
};
+static struct tda1004x_config asus_p7131_4871_config = {
+ .demod_address = 0x08,
+ .invert = 1,
+ .invert_oclk = 0,
+ .xtal_freq = TDA10046_XTAL_16M,
+ .agc_config = TDA10046_AGC_TDA827X,
+ .gpio_config = TDA10046_GP01_I,
+ .if_freq = TDA10046_FREQ_045,
+ .i2c_gate = 0x4b,
+ .tuner_address = 0x61,
+ .tuner_config = 2,
+ .antenna_switch= 2,
+ .request_firmware = philips_tda1004x_request_firmware
+};
+
+static struct tda1004x_config asus_p7131_dual_lna_config = {
+ .demod_address = 0x08,
+ .invert = 1,
+ .invert_oclk = 0,
+ .xtal_freq = TDA10046_XTAL_16M,
+ .agc_config = TDA10046_AGC_TDA827X,
+ .gpio_config = TDA10046_GP11_I,
+ .if_freq = TDA10046_FREQ_045,
+ .i2c_gate = 0x4b,
+ .tuner_address = 0x61,
+ .tuner_config = 2,
+ .antenna_switch= 2,
+ .request_firmware = philips_tda1004x_request_firmware
+};
/* ------------------------------------------------------------------
* special case: this card uses saa713x GPIO22 for the mode switch
*/
@@ -1122,6 +1151,12 @@ static int dvb_init(struct saa7134_dev *dev)
case SAA7134_BOARD_PHILIPS_TIGER_S:
configure_tda827x_fe(dev, &philips_tiger_s_config);
break;
+ case SAA7134_BOARD_ASUS_P7131_4871:
+ configure_tda827x_fe(dev, &asus_p7131_4871_config);
+ break;
+ case SAA7134_BOARD_ASUSTeK_P7131_DUAL_LNA:
+ configure_tda827x_fe(dev, &asus_p7131_dual_lna_config);
+ break;
default:
wprintk("Huh? unknown DVB card?\n");
break;