[media] af9035: add support for 1st gen it9135
[firefly-linux-kernel-4.4.55.git] / drivers / media / usb / dvb-usb-v2 / af9035.h
index 75ef1ec13fbf0afecdf6560c95148153ec08d3d0..1b2f69f594f39fbd42cef1980e1958275afd04a2 100644 (file)
 #include "af9033.h"
 #include "tua9001.h"
 #include "fc0011.h"
+#include "fc0012.h"
 #include "mxl5007t.h"
 #include "tda18218.h"
 #include "fc2580.h"
+#include "it913x.h"
 
 struct reg_val {
        u32 reg;
@@ -51,9 +53,10 @@ struct usb_req {
 };
 
 struct state {
+#define BUF_LEN 64
+       u8 buf[BUF_LEN];
        u8 seq; /* packet sequence number */
        bool dual_mode;
-
        struct af9033_config af9033_config[2];
 };
 
@@ -91,6 +94,7 @@ u32 clock_lut_it9135[] = {
 /* EEPROM locations */
 #define EEPROM_IR_MODE            0x430d
 #define EEPROM_DUAL_MODE          0x4326
+#define EEPROM_2ND_DEMOD_ADDR     0x4327
 #define EEPROM_IR_TYPE            0x4329
 #define EEPROM_1_IFFREQ_L         0x432d
 #define EEPROM_1_IFFREQ_H         0x432e