diff options
author | Hartmut Hackmann <hartmut.hackmann@t.online.de> | 2005-11-09 00:36:31 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 10:56:09 -0500 |
commit | 93df3413f1b4c437b93c5b64562632f4f0e2b3ca (patch) | |
tree | c0aa2b995966f46f373ef8c493c36bad5ab626d3 | |
parent | 3aa4f48aee93e793071e26d6807efdf6eb111614 (diff) |
[PATCH] v4l: 655: added support for the philips td1316 tuner
- Added support for the Philips TD1316 tuner
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t.online.de>
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>
-rw-r--r-- | drivers/media/video/tuner-core.c | 7 | ||||
-rw-r--r-- | drivers/media/video/tuner-simple.c | 2 | ||||
-rw-r--r-- | include/media/tuner.h | 1 |
3 files changed, 10 insertions, 0 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c index ad85bef1c3d5..949c2550fcf5 100644 --- a/drivers/media/video/tuner-core.c +++ b/drivers/media/video/tuner-core.c | |||
@@ -189,6 +189,13 @@ static void set_type(struct i2c_client *c, unsigned int type, | |||
189 | i2c_master_send(c, buffer, 4); | 189 | i2c_master_send(c, buffer, 4); |
190 | default_tuner_init(c); | 190 | default_tuner_init(c); |
191 | break; | 191 | break; |
192 | case TUNER_PHILIPS_TD1316: | ||
193 | buffer[0] = 0x0b; | ||
194 | buffer[1] = 0xdc; | ||
195 | buffer[2] = 0x86; | ||
196 | buffer[3] = 0xa4; | ||
197 | i2c_master_send(c,buffer,4); | ||
198 | default_tuner_init(c); | ||
192 | default: | 199 | default: |
193 | default_tuner_init(c); | 200 | default_tuner_init(c); |
194 | break; | 201 | break; |
diff --git a/drivers/media/video/tuner-simple.c b/drivers/media/video/tuner-simple.c index 0ae39be3ca56..3af055970dd2 100644 --- a/drivers/media/video/tuner-simple.c +++ b/drivers/media/video/tuner-simple.c | |||
@@ -248,6 +248,8 @@ static struct tunertype tuners[] = { | |||
248 | 16*160.25,16*464.25,0x01,0x02,0x08,0x8e,623}, | 248 | 16*160.25,16*464.25,0x01,0x02,0x08,0x8e,623}, |
249 | { "LG NTSC (TALN mini series)", LGINNOTEK, NTSC, | 249 | { "LG NTSC (TALN mini series)", LGINNOTEK, NTSC, |
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, | ||
252 | 16*160.00,16*442.00,0xa1,0xa2,0xa4,0xc8,623 }, | ||
251 | }; | 253 | }; |
252 | 254 | ||
253 | unsigned const int tuner_count = ARRAY_SIZE(tuners); | 255 | unsigned const int tuner_count = ARRAY_SIZE(tuners); |
diff --git a/include/media/tuner.h b/include/media/tuner.h index 4ad08e24a1aa..4f47eac90caf 100644 --- a/include/media/tuner.h +++ b/include/media/tuner.h | |||
@@ -110,6 +110,7 @@ | |||
110 | #define TUNER_LG_TDVS_H062F 64 /* DViCO FusionHDTV 5 */ | 110 | #define TUNER_LG_TDVS_H062F 64 /* DViCO FusionHDTV 5 */ |
111 | #define TUNER_YMEC_TVF66T5_B_DFF 65 /* Acorp Y878F */ | 111 | #define TUNER_YMEC_TVF66T5_B_DFF 65 /* Acorp Y878F */ |
112 | #define TUNER_LG_NTSC_TALN_MINI 66 | 112 | #define TUNER_LG_NTSC_TALN_MINI 66 |
113 | #define TUNER_PHILIPS_TD1316 67 | ||
113 | 114 | ||
114 | #define NOTUNER 0 | 115 | #define NOTUNER 0 |
115 | #define PAL 1 /* PAL_BG */ | 116 | #define PAL 1 /* PAL_BG */ |