diff options
| author | Trent Piepho <xyzzy@speakeasy.org> | 2006-08-24 18:43:45 -0700 |
|---|---|---|
| committer | Trent Piepho <xyzzy@speakeasy.org> | 2006-08-24 18:43:45 -0700 |
| commit | 759f96753505b99e831aa263766f7f6caafa4394 (patch) | |
| tree | f08156be23bae0e4973843455213416c4e624a39 /linux/include | |
| parent | d7478a7b46cd6f13a9c73f69b1f2344ca19e208d (diff) | |
| download | mediapointer-dvb-s2-759f96753505b99e831aa263766f7f6caafa4394.tar.gz mediapointer-dvb-s2-759f96753505b99e831aa263766f7f6caafa4394.tar.bz2 | |
tda9887: add configuration setting for L standard PLL gating
From: Trent Piepho <xyzzy@speakeasy.org>
Add a tuner config parameter for TDA9887, default_pll_gating_18, that
changes the L standard PLL gating value from 36% to 0% (datasheet says
0%, tda9887 code says 18%).
Turn this on for Microtune 4049FM5, as recomended by tuner datasheet.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/include')
| -rw-r--r-- | linux/include/media/tuner-types.h | 3 | ||||
| -rw-r--r-- | linux/include/media/tuner.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/linux/include/media/tuner-types.h b/linux/include/media/tuner-types.h index 2ffb4f81d..7432ba276 100644 --- a/linux/include/media/tuner-types.h +++ b/linux/include/media/tuner-types.h @@ -79,6 +79,9 @@ struct tuner_params { unsigned int port2_invert_for_secam_lc:1; /* Some cards require PORT1 to be 1 for mono Radio FM and 0 for stereo. */ unsigned int port1_set_for_fm_mono:1; + /* Select 18% (or according to datasheet 0%) L standard PLL gating, + vs the driver default of 36%. */ + unsigned int default_pll_gating_18:1; /* Default tda9887 TOP value in dB for the low band. Default is 0. Range: -16:+15 */ signed int default_top_low:5; diff --git a/linux/include/media/tuner.h b/linux/include/media/tuner.h index fa5829c4c..b60d6495f 100644 --- a/linux/include/media/tuner.h +++ b/linux/include/media/tuner.h @@ -144,6 +144,7 @@ extern int tuner_debug; #define TDA9887_DEEMPHASIS_50 (2<<16) #define TDA9887_DEEMPHASIS_75 (3<<16) #define TDA9887_AUTOMUTE (1<<18) +#define TDA9887_GATING_18 (1<<19) #ifdef __KERNEL__ |
