Merge tag 'for-5.4-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave...
[linux-2.6-block.git] / drivers / media / dvb-frontends / tc90522.h
CommitLineData
072cf1aa 1/* SPDX-License-Identifier: GPL-2.0 */
f5d82a75
AT
2/*
3 * Toshiba TC90522 Demodulator
4 *
5 * Copyright (C) 2014 Akihiro Tsukada <tskd08@gmail.com>
f5d82a75
AT
6 */
7
8/*
9 * The demod has 4 input (2xISDB-T and 2xISDB-S),
10 * and provides independent sub modules for each input.
11 * As the sub modules work in parallel and have the separate i2c addr's,
12 * this driver treats each sub module as one demod device.
13 */
14
15#ifndef TC90522_H
16#define TC90522_H
17
18#include <linux/i2c.h>
fada1935 19#include <media/dvb_frontend.h>
f5d82a75
AT
20
21/* I2C device types */
22#define TC90522_I2C_DEV_SAT "tc90522sat"
23#define TC90522_I2C_DEV_TER "tc90522ter"
24
25struct tc90522_config {
26 /* [OUT] frontend returned by driver */
27 struct dvb_frontend *fe;
28
29 /* [OUT] tuner I2C adapter returned by driver */
30 struct i2c_adapter *tuner_i2c;
31};
32
33#endif /* TC90522_H */