1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Support for NXT2002 and NXT2004 - VSB/QAM
5 * Copyright (C) 2005 Kirk Lapray (kirk.lapray@gmail.com)
6 * based on nxt2002 by Taylor Jacob <rtjacob@earthlink.net>
7 * and nxt2004 by Jean-Francois Thibert (jeanfrancois@sagetv.com)
13 #include <linux/dvb/frontend.h>
14 #include <linux/firmware.h>
16 typedef enum nxt_chip_t
{
24 /* the demodulator's i2c address */
27 /* need to set device param for start_dma */
28 int (*set_ts_params
)(struct dvb_frontend
* fe
, int is_punctured
);
31 #if IS_REACHABLE(CONFIG_DVB_NXT200X)
32 extern struct dvb_frontend
* nxt200x_attach(const struct nxt200x_config
* config
,
33 struct i2c_adapter
* i2c
);
35 static inline struct dvb_frontend
* nxt200x_attach(const struct nxt200x_config
* config
,
36 struct i2c_adapter
* i2c
)
38 printk(KERN_WARNING
"%s: driver disabled by Kconfig\n", __func__
);
41 #endif // CONFIG_DVB_NXT200X
43 #endif /* NXT200X_H */