Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
37 lines
878 B
C
37 lines
878 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Toshiba TC90522 Demodulator
|
|
*
|
|
* Copyright (C) 2014 Akihiro Tsukada <tskd08@gmail.com>
|
|
*/
|
|
|
|
/*
|
|
* The demod has 4 input (2xISDB-T and 2xISDB-S),
|
|
* and provides independent sub modules for each input.
|
|
* As the sub modules work in parallel and have the separate i2c addr's,
|
|
* this driver treats each sub module as one demod device.
|
|
*/
|
|
|
|
#ifndef TC90522_H
|
|
#define TC90522_H
|
|
|
|
#include <linux/i2c.h>
|
|
#include <media/dvb_frontend.h>
|
|
|
|
/* I2C device types */
|
|
#define TC90522_I2C_DEV_SAT "tc90522sat"
|
|
#define TC90522_I2C_DEV_TER "tc90522ter"
|
|
|
|
struct tc90522_config {
|
|
/* [OUT] frontend returned by driver */
|
|
struct dvb_frontend *fe;
|
|
|
|
/* [OUT] tuner I2C adapter returned by driver */
|
|
struct i2c_adapter *tuner_i2c;
|
|
|
|
/* [IN] use two separate I2C transactions for one tuner read */
|
|
bool split_tuner_read_i2c;
|
|
};
|
|
|
|
#endif /* TC90522_H */
|