1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 VES1820 - Single Chip Cable Channel Receiver driver module
12 #include <linux/dvb/frontend.h>
14 #define VES1820_SELAGC_PWM 0
15 #define VES1820_SELAGC_SIGNAMPERR 1
19 /* the demodulator's i2c address */
22 /* value of XIN to use */
25 /* does inversion need inverted? */
32 #if IS_REACHABLE(CONFIG_DVB_VES1820)
33 extern struct dvb_frontend* ves1820_attach(const struct ves1820_config* config,
34 struct i2c_adapter* i2c, u8 pwm);
36 static inline struct dvb_frontend* ves1820_attach(const struct ves1820_config* config,
37 struct i2c_adapter* i2c, u8 pwm)
39 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
42 #endif // CONFIG_DVB_VES1820