1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * drxd.h: DRXD DVB-T demodulator driver
5 * Copyright (C) 2005-2007 Micronas
11 #include <linux/types.h>
12 #include <linux/i2c.h>
19 #define DRXD_PLL_NONE 0
20 #define DRXD_PLL_DTT7520X 1
21 #define DRXD_PLL_MT3X0823 2
30 /* If the tuner is not behind an i2c gate, be sure to flip this bit
31 or else the i2c bus could get wedged */
32 u8 disable_i2c_gate_ctrl;
35 s16(*osc_deviation) (void *priv, s16 dev, int flag);
38 #if IS_REACHABLE(CONFIG_DVB_DRXD)
40 struct dvb_frontend *drxd_attach(const struct drxd_config *config,
41 void *priv, struct i2c_adapter *i2c,
45 struct dvb_frontend *drxd_attach(const struct drxd_config *config,
46 void *priv, struct i2c_adapter *i2c,
49 printk(KERN_INFO "%s: not probed - driver disabled by Kconfig\n",