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