]>
git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - drivers/media/dvb-frontends/tc90522.h
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.
27 #include <linux/i2c.h>
28 #include "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 */