1f5d82a75SAkihiro Tsukada /*
2f5d82a75SAkihiro Tsukada  * Toshiba TC90522 Demodulator
3f5d82a75SAkihiro Tsukada  *
4f5d82a75SAkihiro Tsukada  * Copyright (C) 2014 Akihiro Tsukada <tskd08@gmail.com>
5f5d82a75SAkihiro Tsukada  *
6f5d82a75SAkihiro Tsukada  * This program is free software; you can redistribute it and/or
7f5d82a75SAkihiro Tsukada  * modify it under the terms of the GNU General Public License as
8f5d82a75SAkihiro Tsukada  * published by the Free Software Foundation version 2.
9f5d82a75SAkihiro Tsukada  *
10f5d82a75SAkihiro Tsukada  *
11f5d82a75SAkihiro Tsukada  * This program is distributed in the hope that it will be useful,
12f5d82a75SAkihiro Tsukada  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13f5d82a75SAkihiro Tsukada  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14f5d82a75SAkihiro Tsukada  * GNU General Public License for more details.
15f5d82a75SAkihiro Tsukada  */
16f5d82a75SAkihiro Tsukada 
17f5d82a75SAkihiro Tsukada /*
18f5d82a75SAkihiro Tsukada  * The demod has 4 input (2xISDB-T and 2xISDB-S),
19f5d82a75SAkihiro Tsukada  * and provides independent sub modules for each input.
20f5d82a75SAkihiro Tsukada  * As the sub modules work in parallel and have the separate i2c addr's,
21f5d82a75SAkihiro Tsukada  * this driver treats each sub module as one demod device.
22f5d82a75SAkihiro Tsukada  */
23f5d82a75SAkihiro Tsukada 
24f5d82a75SAkihiro Tsukada #ifndef TC90522_H
25f5d82a75SAkihiro Tsukada #define TC90522_H
26f5d82a75SAkihiro Tsukada 
27f5d82a75SAkihiro Tsukada #include <linux/i2c.h>
28fada1935SMauro Carvalho Chehab #include <media/dvb_frontend.h>
29f5d82a75SAkihiro Tsukada 
30f5d82a75SAkihiro Tsukada /* I2C device types */
31f5d82a75SAkihiro Tsukada #define TC90522_I2C_DEV_SAT "tc90522sat"
32f5d82a75SAkihiro Tsukada #define TC90522_I2C_DEV_TER "tc90522ter"
33f5d82a75SAkihiro Tsukada 
34f5d82a75SAkihiro Tsukada struct tc90522_config {
35f5d82a75SAkihiro Tsukada 	/* [OUT] frontend returned by driver */
36f5d82a75SAkihiro Tsukada 	struct dvb_frontend *fe;
37f5d82a75SAkihiro Tsukada 
38f5d82a75SAkihiro Tsukada 	/* [OUT] tuner I2C adapter returned by driver */
39f5d82a75SAkihiro Tsukada 	struct i2c_adapter *tuner_i2c;
40f5d82a75SAkihiro Tsukada };
41f5d82a75SAkihiro Tsukada 
42f5d82a75SAkihiro Tsukada #endif /* TC90522_H */
43