V4L/DVB (3384): Separate tv & radio freqs, fix cb/freq transmit order for tuners...
[linux-block.git] / include / media / tuner-types.h
index 756693188991c65210983b049fe7ad11b1b26202..b37d59d5a1030b97a1eda4bd856b61f27652217a 100644 (file)
@@ -20,6 +20,24 @@ struct tuner_range {
 struct tuner_params {
        enum param_type type;
        unsigned int tda988x;
+       /* Many Philips based tuners have a comment like this in their
+        * datasheet:
+        *
+        *   For channel selection involving band switching, and to ensure
+        *   smooth tuning to the desired channel without causing
+        *   unnecessary charge pump action, it is recommended to consider
+        *   the difference between wanted channel frequency and the
+        *   current channel frequency.  Unnecessary charge pump action
+        *   will result in very low tuning voltage which may drive the
+        *   oscillator to extreme conditions.
+        *
+        * Set this flag to 1 if this tuner needs this check.
+        *
+        * I tested this for PAL by first setting the TV frequency to
+        * 203 MHz and then switching to 96.6 MHz FM radio. The result was
+        * static unless the control byte was sent first.
+        */
+       unsigned int cb_first_if_lower_freq:1;
        unsigned char config; /* to be moved into struct tuner_range for dvb-pll merge */
 
        unsigned int count;