Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Toshiba TC90522 Demodulator
0004  *
0005  * Copyright (C) 2014 Akihiro Tsukada <tskd08@gmail.com>
0006  */
0007 
0008 /*
0009  * The demod has 4 input (2xISDB-T and 2xISDB-S),
0010  * and provides independent sub modules for each input.
0011  * As the sub modules work in parallel and have the separate i2c addr's,
0012  * this driver treats each sub module as one demod device.
0013  */
0014 
0015 #ifndef TC90522_H
0016 #define TC90522_H
0017 
0018 #include <linux/i2c.h>
0019 #include <media/dvb_frontend.h>
0020 
0021 /* I2C device types */
0022 #define TC90522_I2C_DEV_SAT "tc90522sat"
0023 #define TC90522_I2C_DEV_TER "tc90522ter"
0024 
0025 struct tc90522_config {
0026     /* [OUT] frontend returned by driver */
0027     struct dvb_frontend *fe;
0028 
0029     /* [OUT] tuner I2C adapter returned by driver */
0030     struct i2c_adapter *tuner_i2c;
0031 
0032     /* [IN] use two separate I2C transactions for one tuner read */
0033     bool split_tuner_read_i2c;
0034 };
0035 
0036 #endif /* TC90522_H */