Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / drivers / media / dvb-frontends / tc90522.h
blob10e585f3249900ba7d5e892f66cd1e5f36412efb
1 /*
2 * Toshiba TC90522 Demodulator
4 * Copyright (C) 2014 Akihiro Tsukada <tskd08@gmail.com>
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.
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.
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.
24 #ifndef TC90522_H
25 #define TC90522_H
27 #include <linux/i2c.h>
28 #include <media/dvb_frontend.h>
30 /* I2C device types */
31 #define TC90522_I2C_DEV_SAT "tc90522sat"
32 #define TC90522_I2C_DEV_TER "tc90522ter"
34 struct tc90522_config {
35 /* [OUT] frontend returned by driver */
36 struct dvb_frontend *fe;
38 /* [OUT] tuner I2C adapter returned by driver */
39 struct i2c_adapter *tuner_i2c;
42 #endif /* TC90522_H */