diff options
author | Hartmut Hackmann <hartmut.hackmann@t-online.de> | 2008-04-22 13:42:11 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:07:43 -0400 |
commit | 6ab465a821756691009e58a51f1b4543cf1ae21a (patch) | |
tree | cd00e442a8f95b2a8d34469b7d9af972a8eecf5c /drivers/media/video/saa7134/saa7134-cards.c | |
parent | 4b1431ca1c98e26569c9b6cd6d06265cef9495ec (diff) |
V4L/DVB (7226): saa7134: add support for the NXP Snake DVB-S reference design
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-cards.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-cards.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index 6f5744286e8c..16cd319dc4e6 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c | |||
@@ -3992,6 +3992,24 @@ struct saa7134_board saa7134_boards[] = { | |||
3992 | .gpio = 0x6000, | 3992 | .gpio = 0x6000, |
3993 | }, | 3993 | }, |
3994 | }, | 3994 | }, |
3995 | [SAA7134_BOARD_PHILIPS_SNAKE] = { | ||
3996 | .name = "NXP Snake DVB-S reference design", | ||
3997 | .audio_clock = 0x00200000, | ||
3998 | .tuner_type = TUNER_ABSENT, | ||
3999 | .radio_type = UNSET, | ||
4000 | .tuner_addr = ADDR_UNSET, | ||
4001 | .radio_addr = ADDR_UNSET, | ||
4002 | .mpeg = SAA7134_MPEG_DVB, | ||
4003 | .inputs = {{ | ||
4004 | .name = name_comp1, | ||
4005 | .vmux = 3, | ||
4006 | .amux = LINE1, | ||
4007 | }, { | ||
4008 | .name = name_svideo, | ||
4009 | .vmux = 8, | ||
4010 | .amux = LINE1, | ||
4011 | } }, | ||
4012 | }, | ||
3995 | }; | 4013 | }; |
3996 | 4014 | ||
3997 | const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); | 4015 | const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); |
@@ -5283,6 +5301,14 @@ int saa7134_board_init2(struct saa7134_dev *dev) | |||
5283 | } | 5301 | } |
5284 | break; | 5302 | break; |
5285 | case SAA7134_BOARD_PHILIPS_EUROPA: | 5303 | case SAA7134_BOARD_PHILIPS_EUROPA: |
5304 | if (dev->autodetected && (dev->eedata[0x41] == 0x1c)) { | ||
5305 | /* Reconfigure board as Snake reference design */ | ||
5306 | dev->board = SAA7134_BOARD_PHILIPS_SNAKE; | ||
5307 | dev->tuner_type = saa7134_boards[dev->board].tuner_type; | ||
5308 | printk(KERN_INFO "%s: Reconfigured board as %s\n", | ||
5309 | dev->name, saa7134_boards[dev->board].name); | ||
5310 | break; | ||
5311 | } | ||
5286 | case SAA7134_BOARD_VIDEOMATE_DVBT_300: | 5312 | case SAA7134_BOARD_VIDEOMATE_DVBT_300: |
5287 | case SAA7134_BOARD_ASUS_EUROPA2_HYBRID: | 5313 | case SAA7134_BOARD_ASUS_EUROPA2_HYBRID: |
5288 | /* The Philips EUROPA based hybrid boards have the tuner connected through | 5314 | /* The Philips EUROPA based hybrid boards have the tuner connected through |