1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Toshiba TC90522 Demodulator
5 * Copyright (C) 2014 Akihiro Tsukada <tskd08@gmail.com>
9 * The demod has 4 input (2xISDB-T and 2xISDB-S),
10 * and provides independent sub modules for each input.
11 * As the sub modules work in parallel and have the separate i2c addr's,
12 * this driver treats each sub module as one demod device.
18 #include <linux/i2c.h>
19 #include <media/dvb_frontend.h>
21 /* I2C device types */
22 #define TC90522_I2C_DEV_SAT "tc90522sat"
23 #define TC90522_I2C_DEV_TER "tc90522ter"
25 struct tc90522_config
{
26 /* [OUT] frontend returned by driver */
27 struct dvb_frontend
*fe
;
29 /* [OUT] tuner I2C adapter returned by driver */
30 struct i2c_adapter
*tuner_i2c
;
32 /* [IN] use two separate I2C transactions for one tuner read */
33 bool split_tuner_read_i2c
;
36 #endif /* TC90522_H */