/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Afatech AF9013 demodulator driver * * Copyright (C) 2007 Antti Palosaari <[email protected]> * Copyright (C) 2011 Antti Palosaari <[email protected]> * * Thanks to Afatech who kindly provided information. */ #ifndef AF9013_H #define AF9013_H #include <linux/dvb/frontend.h> /* * I2C address: 0x1c, 0x1d */ /** * struct af9013_platform_data - Platform data for the af9013 driver * @clk: Clock frequency. * @tuner: Used tuner model. * @if_frequency: IF frequency. * @ts_mode: TS mode. * @ts_output_pin: TS output pin. * @spec_inv: Input spectrum inverted. * @api_version: Firmware API version. * @gpio: GPIOs. * @get_dvb_frontend: Get DVB frontend callback. * @get_i2c_adapter: Get I2C adapter. * @pid_filter_ctrl: Control PID filter. * @pid_filter: Set PID to PID filter. */ struct af9013_platform_data { … }; /* * AF9013/5 GPIOs (mostly guessed) * demod#1-gpio#0 - set demod#2 i2c-addr for dual devices * demod#1-gpio#1 - xtal setting (?) * demod#1-gpio#3 - tuner#1 * demod#2-gpio#0 - tuner#2 * demod#2-gpio#1 - xtal setting (?) */ #endif /* AF9013_H */