2 * drxd.h: DRXD DVB-T demodulator driver
4 * Copyright (C) 2005-2007 Micronas
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * version 2 only, as published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * To obtain the license, point your browser to
17 * http://www.gnu.org/copyleft/gpl.html
23 #include <linux/types.h>
24 #include <linux/i2c.h>
31 #define DRXD_PLL_NONE 0
32 #define DRXD_PLL_DTT7520X 1
33 #define DRXD_PLL_MT3X0823 2
42 /* If the tuner is not behind an i2c gate, be sure to flip this bit
43 or else the i2c bus could get wedged */
44 u8 disable_i2c_gate_ctrl
;
47 s16(*osc_deviation
) (void *priv
, s16 dev
, int flag
);
50 #if IS_REACHABLE(CONFIG_DVB_DRXD)
52 struct dvb_frontend
*drxd_attach(const struct drxd_config
*config
,
53 void *priv
, struct i2c_adapter
*i2c
,
57 struct dvb_frontend
*drxd_attach(const struct drxd_config
*config
,
58 void *priv
, struct i2c_adapter
*i2c
,
61 printk(KERN_INFO
"%s: not probed - driver disabled by Kconfig\n",