diff options
| author | Gerd Knorr <kraxel@bytesex.org> | 2004-09-02 20:27:40 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-09-02 20:27:40 -0700 |
| commit | 438b8ab7d153d022f6fed3eee3bd80542b950afc (patch) | |
| tree | 44245cadc642b372a64d64b43be32e5e2cd02479 /include | |
| parent | 8e3f8f30fbc5b1d0efac1702ec39e6f580e795f1 (diff) | |
[PATCH] v4l: i2c tuner modules update
This patch updates the tuner and tda9887 i2c modules which handle the tv
card tuning.
- some cleanups (don't ignore i2c_add_driver return value, add __init and
__exit).
- add support for new tuners.
- allow to pass configuration info (tv card specific stuff) to the
tda9887 module.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/media/tuner.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/media/tuner.h b/include/media/tuner.h index fb571d5965d8..9597ffeb016c 100644 --- a/include/media/tuner.h +++ b/include/media/tuner.h @@ -70,6 +70,8 @@ #define TUNER_PHILIPS_FM1236_MK3 43 #define TUNER_PHILIPS_4IN1 44 /* ATI TV Wonder Pro - Conexant */ #define TUNER_MICROTUNE_4049FM5 45 +#define TUNER_LG_NTSC_TAPE 47 +#define TUNER_TNF_8831BGFF 48 #define NOTUNER 0 #define PAL 1 /* PAL_BG */ @@ -88,6 +90,7 @@ #define Samsung 7 #define Microtune 8 #define HITACHI 9 +#define Panasonic 10 #define TUNER_SET_TYPE _IOW('t',1,int) /* set tuner type */ #define TUNER_SET_TVFREQ _IOW('t',2,int) /* set tv freq */ @@ -96,4 +99,18 @@ # define TUNER_SET_MODE _IOW('t',4,int) /* set tuner mode */ #endif +#define TDA9887_SET_CONFIG _IOW('t',5,int) +/* tv card specific */ +# define TDA9887_PRESENT (1<<0) +# define TDA9887_PORT1 (1<<1) +# define TDA9887_PORT2 (1<<2) +# define TDA9887_QSS (1<<3) +# define TDA9887_INTERCARRIER (1<<4) +/* config options */ +# define TDA9887_DEEMPHASIS_MASK (3<<16) +# define TDA9887_DEEMPHASIS_NONE (1<<16) +# define TDA9887_DEEMPHASIS_50 (2<<16) +# define TDA9887_DEEMPHASIS_75 (3<<16) +# define TDA9887_AUTOMUTE (1<<18) + #endif |
