diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2009-03-04 17:42:06 -0500 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2009-03-04 17:42:06 -0500 |
commit | bf1357c00949c25ceaef64b2127f022a870491ca (patch) | |
tree | 4ec2ddd4a25d360742cdf4ee5bec63345ca862eb /linux/drivers/media/common/tuners/tda18271.h | |
parent | fa9f1bcf738c7685a6c6ac771f75275cc86a5e85 (diff) | |
download | mediapointer-dvb-s2-bf1357c00949c25ceaef64b2127f022a870491ca.tar.gz mediapointer-dvb-s2-bf1357c00949c25ceaef64b2127f022a870491ca.tar.bz2 |
tda18271: add support for AGC configuration via tuner callback
From: Michael Krufky <mkrufky@linuxtv.org>
The tda827x driver supports a feature that the tda18271 driver was lacking
until now. This patch adds support for device-level configuration via the
tuner callback configuration interface.
Priority: normal
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/common/tuners/tda18271.h')
-rw-r--r-- | linux/drivers/media/common/tuners/tda18271.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/linux/drivers/media/common/tuners/tda18271.h b/linux/drivers/media/common/tuners/tda18271.h index 7db9831c0..53a9892a1 100644 --- a/linux/drivers/media/common/tuners/tda18271.h +++ b/linux/drivers/media/common/tuners/tda18271.h @@ -79,6 +79,16 @@ struct tda18271_config { /* some i2c providers cant write all 39 registers at once */ unsigned int small_i2c:1; + + /* interface to saa713x / tda829x */ + unsigned int config; +}; + +#define TDA18271_CALLBACK_CMD_AGC_ENABLE 0 + +enum tda18271_mode { + TDA18271_ANALOG = 0, + TDA18271_DIGITAL, }; #if defined(CONFIG_MEDIA_TUNER_TDA18271) || (defined(CONFIG_MEDIA_TUNER_TDA18271_MODULE) && defined(MODULE)) |