summaryrefslogtreecommitdiff
path: root/drivers/media/common/tuners/tda18271.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@kernellabs.com>2008-05-11 15:46:52 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-19 03:13:39 (GMT)
commit81259f210ef09c6e6e643c7cecc803a7083f970e (patch)
treebdbc56e3d0148f2c37c86cb47ddaf89e1aaa11ed /drivers/media/common/tuners/tda18271.h
parentfd9a40da1db372833e1af6397d2f6c94ceff3dad (diff)
downloadlinux-fsl-qoriq-81259f210ef09c6e6e643c7cecc803a7083f970e.tar.xz
V4L/DVB (12861): tda18271: add support for additional low-power standby modes
By default, the driver enters standby mode with slave tuner output loop thru enabled and xtal oscillator on. Not all designs require that slave tuner output loop thru and xtal oscillator remain active while in standby mode, so two additional standby modes have been added: - standby mode with xtal oscillator on (loop thru off) - total power off Signed-off-by: Michael Krufky <mkrufky@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common/tuners/tda18271.h')
-rw-r--r--drivers/media/common/tuners/tda18271.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/media/common/tuners/tda18271.h b/drivers/media/common/tuners/tda18271.h
index 71bac95..9ca716f 100644
--- a/drivers/media/common/tuners/tda18271.h
+++ b/drivers/media/common/tuners/tda18271.h
@@ -67,6 +67,17 @@ enum tda18271_i2c_gate {
TDA18271_GATE_DIGITAL,
};
+enum tda18271_standby_mode {
+ /* slave tuner output & loop thru & xtal oscillator on */
+ TDA18271_STANDBY_LT_XT_ON = 0,
+
+ /* xtal oscillator on */
+ TDA18271_STANDBY_XT_ON,
+
+ /* power off */
+ TDA18271_STANDBY_POWER_OFF,
+};
+
struct tda18271_config {
/* override default if freq / std settings (optional) */
struct tda18271_std_map *std_map;
@@ -77,6 +88,9 @@ struct tda18271_config {
/* use i2c gate provided by analog or digital demod */
enum tda18271_i2c_gate gate;
+ /* allow lower power standby modes */
+ enum tda18271_standby_mode standby_mode;
+
/* force rf tracking filter calibration on startup */
unsigned int rf_cal_on_startup:1;