1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 Driver for M88RS2000 demodulator
11 #include <linux/dvb/frontend.h>
12 #include <media/dvb_frontend.h>
14 struct m88rs2000_config
{
15 /* Demodulator i2c address */
20 /* minimum delay before retuning */
23 int (*set_ts_params
)(struct dvb_frontend
*, int);
27 CALL_IS_SET_FRONTEND
= 0x0,
31 #if IS_REACHABLE(CONFIG_DVB_M88RS2000)
32 extern struct dvb_frontend
*m88rs2000_attach(
33 const struct m88rs2000_config
*config
, struct i2c_adapter
*i2c
);
35 static inline struct dvb_frontend
*m88rs2000_attach(
36 const struct m88rs2000_config
*config
, struct i2c_adapter
*i2c
)
38 printk(KERN_WARNING
"%s: driver disabled by Kconfig\n", __func__
);
41 #endif /* CONFIG_DVB_M88RS2000 */
43 #define RS2000_FE_CRYSTAL_KHZ 27000
49 #endif /* M88RS2000_H */