2 * NXP TDA10071 + Conexant CX24118A DVB-S/S2 demodulator + tuner driver
4 * Copyright (C) 2011 Antti Palosaari <crope@iki.fi>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
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 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24 #include <linux/kconfig.h>
25 #include <linux/dvb/frontend.h>
27 struct tda10071_config
{
28 /* Demodulator I2C address.
29 * Default: none, must set
35 * Default: none, must set
36 * Values: 0x14, 0x54, ...
40 /* Max bytes I2C provider can write at once.
41 * Note: Buffer is taken from the stack currently!
42 * Default: none, must set
48 * Default: TDA10071_TS_SERIAL
51 #define TDA10071_TS_SERIAL 0
52 #define TDA10071_TS_PARALLEL 1
55 /* Input spectrum inversion.
62 * Default: none, must set
68 * Default: none, must set
75 #if IS_ENABLED(CONFIG_DVB_TDA10071)
76 extern struct dvb_frontend
*tda10071_attach(
77 const struct tda10071_config
*config
, struct i2c_adapter
*i2c
);
79 static inline struct dvb_frontend
*tda10071_attach(
80 const struct tda10071_config
*config
, struct i2c_adapter
*i2c
)
82 printk(KERN_WARNING
"%s: driver disabled by Kconfig\n", __func__
);
87 #endif /* TDA10071_H */