]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - drivers/media/dvb-frontends/tc90522.h
Merge tag 'stable/for-linus-4.1-rc0-tag' of git://git.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-artful-kernel.git] / drivers / media / dvb-frontends / tc90522.h
CommitLineData
f5d82a75
AT
1/*
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 */