diff options
author | Hartmut Hackmann <devnull@localhost> | 2005-09-12 20:11:06 +0000 |
---|---|---|
committer | Hartmut Hackmann <devnull@localhost> | 2005-09-12 20:11:06 +0000 |
commit | ad42163e38bd879b1960eef00ee809729f07c94d (patch) | |
tree | 3ef34a5a0a1823b274d1ef23f6417585e7993b84 | |
parent | 4f6d94056bf3989577c122b67db23d51b4a725a0 (diff) | |
download | mediapointer-dvb-s2-ad42163e38bd879b1960eef00ee809729f07c94d.tar.gz mediapointer-dvb-s2-ad42163e38bd879b1960eef00ee809729f07c94d.tar.bz2 |
added support for the Philips TD1316 tuner
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t.online.de>
-rw-r--r-- | linux/drivers/media/video/tuner-core.c | 9 | ||||
-rw-r--r-- | linux/drivers/media/video/tuner-simple.c | 4 | ||||
-rw-r--r-- | linux/include/media/tuner.h | 3 |
3 files changed, 13 insertions, 3 deletions
diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c index 126b67c05..17d8cd3ff 100644 --- a/linux/drivers/media/video/tuner-core.c +++ b/linux/drivers/media/video/tuner-core.c @@ -1,5 +1,5 @@ /* - * $Id: tuner-core.c,v 1.69 2005/09/01 21:29:58 mkrufky Exp $ + * $Id: tuner-core.c,v 1.70 2005/09/12 20:11:06 hhackmann Exp $ * * i2c tv tuner chip device driver * core core, i.e. kernel interfaces, registering and so on @@ -200,6 +200,13 @@ static void set_type(struct i2c_client *c, unsigned int type, i2c_master_send(c, buffer, 4); default_tuner_init(c); break; + case TUNER_PHILIPS_TD1316: + buffer[0] = 0x0b; + buffer[1] = 0xdc; + buffer[2] = 0x86; + buffer[3] = 0xa4; + i2c_master_send(c,buffer,4); + default_tuner_init(c); default: default_tuner_init(c); break; diff --git a/linux/drivers/media/video/tuner-simple.c b/linux/drivers/media/video/tuner-simple.c index f6b6820f7..6df94cc45 100644 --- a/linux/drivers/media/video/tuner-simple.c +++ b/linux/drivers/media/video/tuner-simple.c @@ -1,5 +1,5 @@ /* - * $Id: tuner-simple.c,v 1.50 2005/09/10 07:23:41 nsh Exp $ + * $Id: tuner-simple.c,v 1.51 2005/09/12 20:11:06 hhackmann Exp $ * * i2c tv tuner chip device driver * controls all those simple 4-control-bytes style tuners. @@ -250,6 +250,8 @@ static struct tunertype tuners[] = { 16*160.25,16*464.25,0x01,0x02,0x08,0x8e,623}, { "LG NTSC (TALN mini series)", LGINNOTEK, NTSC, 16*137.25,16*373.25,0x01,0x02,0x08,0x8e,732 }, + { "Philips TD1316 Hybrid Tuner", Philips, PAL, + 16*160.00,16*442.00,0xa1,0xa2,0xa4,0xc8,623 }, }; unsigned const int tuner_count = ARRAY_SIZE(tuners); diff --git a/linux/include/media/tuner.h b/linux/include/media/tuner.h index 2687b1cb7..fa9a58d77 100644 --- a/linux/include/media/tuner.h +++ b/linux/include/media/tuner.h @@ -1,4 +1,4 @@ -/* $Id: tuner.h,v 1.51 2005/09/11 05:39:23 mkrufky Exp $ +/* $Id: tuner.h,v 1.52 2005/09/12 20:11:06 hhackmann Exp $ * tuner.h - definition for different tuners @@ -111,6 +111,7 @@ #define TUNER_LG_TDVS_H062F 64 /* DViCO FusionHDTV 5 */ #define TUNER_YMEC_TVF66T5_B_DFF 65 /* Acorp Y878F */ #define TUNER_LG_NTSC_TALN_MINI 66 +#define TUNER_PHILIPS_TD1316 67 #define NOTUNER 0 #define PAL 1 /* PAL_BG */ |