diff options
Diffstat (limited to 'drivers/media/common/tuners/tda18271.h')
-rw-r--r-- | drivers/media/common/tuners/tda18271.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/drivers/media/common/tuners/tda18271.h b/drivers/media/common/tuners/tda18271.h index 323f2912128d..d7fcc36dc6e6 100644 --- a/drivers/media/common/tuners/tda18271.h +++ b/drivers/media/common/tuners/tda18271.h | |||
@@ -78,6 +78,12 @@ enum tda18271_output_options { | |||
78 | TDA18271_OUTPUT_XT_OFF = 2, | 78 | TDA18271_OUTPUT_XT_OFF = 2, |
79 | }; | 79 | }; |
80 | 80 | ||
81 | enum tda18271_small_i2c { | ||
82 | TDA18271_39_BYTE_CHUNK_INIT = 0, | ||
83 | TDA18271_16_BYTE_CHUNK_INIT = 1, | ||
84 | TDA18271_08_BYTE_CHUNK_INIT = 2, | ||
85 | }; | ||
86 | |||
81 | struct tda18271_config { | 87 | struct tda18271_config { |
82 | /* override default if freq / std settings (optional) */ | 88 | /* override default if freq / std settings (optional) */ |
83 | struct tda18271_std_map *std_map; | 89 | struct tda18271_std_map *std_map; |
@@ -91,12 +97,12 @@ struct tda18271_config { | |||
91 | /* output options that can be disabled */ | 97 | /* output options that can be disabled */ |
92 | enum tda18271_output_options output_opt; | 98 | enum tda18271_output_options output_opt; |
93 | 99 | ||
100 | /* some i2c providers cant write all 39 registers at once */ | ||
101 | enum tda18271_small_i2c small_i2c; | ||
102 | |||
94 | /* force rf tracking filter calibration on startup */ | 103 | /* force rf tracking filter calibration on startup */ |
95 | unsigned int rf_cal_on_startup:1; | 104 | unsigned int rf_cal_on_startup:1; |
96 | 105 | ||
97 | /* some i2c providers cant write all 39 registers at once */ | ||
98 | unsigned int small_i2c:1; | ||
99 | |||
100 | /* interface to saa713x / tda829x */ | 106 | /* interface to saa713x / tda829x */ |
101 | unsigned int config; | 107 | unsigned int config; |
102 | }; | 108 | }; |