aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/tda18271.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-04-22 13:46:23 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:07:55 -0400
commit868f5ccd64113d070f09ecf2827a69b81c95ed9d (patch)
tree4c80f304e6cee1cccbb7e3606fab029923bff558 /drivers/media/dvb/frontends/tda18271.h
parent4efb0ca5d00f2c7a8bf9632556a4b4330cf409c5 (diff)
V4L/DVB (7436): tda18271: add basic support for slave tuner configurations
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/tda18271.h')
-rw-r--r--drivers/media/dvb/frontends/tda18271.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/tda18271.h b/drivers/media/dvb/frontends/tda18271.h
index 44d41dce9e10..b547318c951b 100644
--- a/drivers/media/dvb/frontends/tda18271.h
+++ b/drivers/media/dvb/frontends/tda18271.h
@@ -56,6 +56,11 @@ struct tda18271_std_map {
56 struct tda18271_std_map_item qam_8; 56 struct tda18271_std_map_item qam_8;
57}; 57};
58 58
59enum tda18271_role {
60 TDA18271_MASTER = 0,
61 TDA18271_SLAVE,
62};
63
59enum tda18271_i2c_gate { 64enum tda18271_i2c_gate {
60 TDA18271_GATE_AUTO = 0, 65 TDA18271_GATE_AUTO = 0,
61 TDA18271_GATE_ANALOG, 66 TDA18271_GATE_ANALOG,
@@ -66,6 +71,9 @@ struct tda18271_config {
66 /* override default if freq / std settings (optional) */ 71 /* override default if freq / std settings (optional) */
67 struct tda18271_std_map *std_map; 72 struct tda18271_std_map *std_map;
68 73
74 /* master / slave tuner: master uses main pll, slave uses cal pll */
75 enum tda18271_role role;
76
69 /* use i2c gate provided by analog or digital demod */ 77 /* use i2c gate provided by analog or digital demod */
70 enum tda18271_i2c_gate gate; 78 enum tda18271_i2c_gate gate;
71 79