summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/tda18271.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-03-23 12:41:37 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2008-03-23 12:41:37 -0400
commitfdb9cd2ea4cac90bbcb4c8d222a94969097ce770 (patch)
treea5012e51818090e67fc09bf8727c02d7660a9713 /linux/drivers/media/dvb/frontends/tda18271.h
parent5222ba749d4a4a2e2a744e3386d1fe1a2f55888f (diff)
downloadmediapointer-dvb-s2-fdb9cd2ea4cac90bbcb4c8d222a94969097ce770.tar.gz
mediapointer-dvb-s2-fdb9cd2ea4cac90bbcb4c8d222a94969097ce770.tar.bz2
tda18271: add basic support for slave tuner configurations
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/tda18271.h')
-rw-r--r--linux/drivers/media/dvb/frontends/tda18271.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda18271.h b/linux/drivers/media/dvb/frontends/tda18271.h
index 44d41dce9..b547318c9 100644
--- a/linux/drivers/media/dvb/frontends/tda18271.h
+++ b/linux/drivers/media/dvb/frontends/tda18271.h
@@ -56,6 +56,11 @@ struct tda18271_std_map {
struct tda18271_std_map_item qam_8;
};
+enum tda18271_role {
+ TDA18271_MASTER = 0,
+ TDA18271_SLAVE,
+};
+
enum tda18271_i2c_gate {
TDA18271_GATE_AUTO = 0,
TDA18271_GATE_ANALOG,
@@ -66,6 +71,9 @@ struct tda18271_config {
/* override default if freq / std settings (optional) */
struct tda18271_std_map *std_map;
+ /* master / slave tuner: master uses main pll, slave uses cal pll */
+ enum tda18271_role role;
+
/* use i2c gate provided by analog or digital demod */
enum tda18271_i2c_gate gate;