1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Driver for ST STV0367 DVB-T & DVB-C demodulator IC.
7 * Copyright (C) ST Microelectronics.
8 * Copyright (C) 2010,2011 NetUP Inc.
9 * Copyright (C) 2010,2011 Igor M. Liplianin <liplianin@netup.ru>
15 #include <linux/dvb/frontend.h>
16 #include <media/dvb_frontend.h>
18 #define STV0367_ICSPEED_53125 53125000
19 #define STV0367_ICSPEED_58000 58000000
21 struct stv0367_config
{
30 #if IS_REACHABLE(CONFIG_DVB_STV0367)
32 dvb_frontend
*stv0367ter_attach(const struct stv0367_config
*config
,
33 struct i2c_adapter
*i2c
);
35 dvb_frontend
*stv0367cab_attach(const struct stv0367_config
*config
,
36 struct i2c_adapter
*i2c
);
38 dvb_frontend
*stv0367ddb_attach(const struct stv0367_config
*config
,
39 struct i2c_adapter
*i2c
);
42 dvb_frontend
*stv0367ter_attach(const struct stv0367_config
*config
,
43 struct i2c_adapter
*i2c
)
45 printk(KERN_WARNING
"%s: driver disabled by Kconfig\n", __func__
);
49 dvb_frontend
*stv0367cab_attach(const struct stv0367_config
*config
,
50 struct i2c_adapter
*i2c
)
52 printk(KERN_WARNING
"%s: driver disabled by Kconfig\n", __func__
);
56 dvb_frontend
*stv0367ddb_attach(const struct stv0367_config
*config
,
57 struct i2c_adapter
*i2c
)
59 printk(KERN_WARNING
"%s: driver disabled by Kconfig\n", __func__
);