Merge tag 'io_uring-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / media / dvb-frontends / tc90522.h
blob07e3813bf59022d69dec24956d9fbddb21b8dc56
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Toshiba TC90522 Demodulator
5 * Copyright (C) 2014 Akihiro Tsukada <tskd08@gmail.com>
6 */
8 /*
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.
15 #ifndef TC90522_H
16 #define TC90522_H
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 */