diff options
author | Kirk Lapray <kirk.lapray@gmail.com> | 2005-11-09 00:37:04 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 10:56:14 -0500 |
commit | e976f93725ce16b4a493d40a6dd3bccbd74b9a8a (patch) | |
tree | a50459ae4835b8371469a918deb5f93a65594114 /drivers/media/video/tuner-simple.c | |
parent | cf583ac40d06825bc850dc4f47627d7661aaa4f8 (diff) |
[PATCH] v4l: 712: added analog support for ati hdtv wonder
- Added analog support for ATI HDTV Wonder
Signed-off-by: Kirk Lapray <kirk.lapray@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/video/tuner-simple.c')
-rw-r--r-- | drivers/media/video/tuner-simple.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/drivers/media/video/tuner-simple.c b/drivers/media/video/tuner-simple.c index b75ad2d4488a..e67d9e77c755 100644 --- a/drivers/media/video/tuner-simple.c +++ b/drivers/media/video/tuner-simple.c | |||
@@ -233,7 +233,7 @@ static struct tunertype tuners[] = { | |||
233 | { "Ymec TVision TVF-5533MF", Philips, NTSC, | 233 | { "Ymec TVision TVF-5533MF", Philips, NTSC, |
234 | 16*160.00,16*454.00,0x01,0x02,0x04,0x8e,732}, | 234 | 16*160.00,16*454.00,0x01,0x02,0x04,0x8e,732}, |
235 | 235 | ||
236 | /* 60-67 */ | 236 | /* 60-68 */ |
237 | { "Thomson DDT 7611 (ATSC/NTSC)", THOMSON, ATSC, | 237 | { "Thomson DDT 7611 (ATSC/NTSC)", THOMSON, ATSC, |
238 | 16*157.25,16*454.00,0x39,0x3a,0x3c,0x8e,732}, | 238 | 16*157.25,16*454.00,0x39,0x3a,0x3c,0x8e,732}, |
239 | { "Tena TNF9533-D/IF/TNF9533-B/DF", Philips, PAL, | 239 | { "Tena TNF9533-D/IF/TNF9533-B/DF", Philips, PAL, |
@@ -250,6 +250,8 @@ static struct tunertype tuners[] = { | |||
250 | 16*137.25,16*373.25,0x01,0x02,0x08,0x8e,732 }, | 250 | 16*137.25,16*373.25,0x01,0x02,0x08,0x8e,732 }, |
251 | { "Philips TD1316 Hybrid Tuner", Philips, PAL, | 251 | { "Philips TD1316 Hybrid Tuner", Philips, PAL, |
252 | 16*160.00,16*442.00,0xa1,0xa2,0xa4,0xc8,623 }, | 252 | 16*160.00,16*442.00,0xa1,0xa2,0xa4,0xc8,623 }, |
253 | { "Philips TUV1236D ATSC/NTSC dual in", Philips, ATSC, | ||
254 | 16*157.25,16*454.00,0x01,0x02,0x03,0xce,732 }, | ||
253 | }; | 255 | }; |
254 | 256 | ||
255 | unsigned const int tuner_count = ARRAY_SIZE(tuners); | 257 | unsigned const int tuner_count = ARRAY_SIZE(tuners); |
@@ -375,6 +377,17 @@ static void default_set_tv_freq(struct i2c_client *c, unsigned int freq) | |||
375 | /* Set the charge pump for fast tuning */ | 377 | /* Set the charge pump for fast tuning */ |
376 | tun->config |= TUNER_CHARGE_PUMP; | 378 | tun->config |= TUNER_CHARGE_PUMP; |
377 | break; | 379 | break; |
380 | |||
381 | case TUNER_PHILIPS_TUV1236D: | ||
382 | /* 0x40 -> ATSC antenna input 1 */ | ||
383 | /* 0x48 -> ATSC antenna input 2 */ | ||
384 | /* 0x00 -> NTSC antenna input 1 */ | ||
385 | /* 0x08 -> NTSC antenna input 2 */ | ||
386 | config &= ~0x40; | ||
387 | if (t->std & V4L2_STD_ATSC) | ||
388 | config |= 0x40; | ||
389 | /* FIXME: input */ | ||
390 | break; | ||
378 | } | 391 | } |
379 | 392 | ||
380 | /* | 393 | /* |