1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 TDA8261 8PSK/QPSK tuner driver
4 Copyright (C) Manu Abraham (abraham.manu@gmail.com)
12 TDA8261_STEP_2000
= 0, /* 2000 kHz */
13 TDA8261_STEP_1000
, /* 1000 kHz */
14 TDA8261_STEP_500
, /* 500 kHz */
15 TDA8261_STEP_250
, /* 250 kHz */
16 TDA8261_STEP_125
/* 125 kHz */
19 struct tda8261_config
{
22 enum tda8261_step step_size
;
25 #if IS_REACHABLE(CONFIG_DVB_TDA8261)
27 extern struct dvb_frontend
*tda8261_attach(struct dvb_frontend
*fe
,
28 const struct tda8261_config
*config
,
29 struct i2c_adapter
*i2c
);
33 static inline struct dvb_frontend
*tda8261_attach(struct dvb_frontend
*fe
,
34 const struct tda8261_config
*config
,
35 struct i2c_adapter
*i2c
)
37 printk(KERN_WARNING
"%s: Driver disabled by Kconfig\n", __func__
);
41 #endif //CONFIG_DVB_TDA8261