| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | STV0900/0903 Multistandard Broadcast Frontend driver |
|---|
| 3 | 4 | Copyright (C) Manu Abraham <abraham.manu@gmail.com> |
|---|
| 4 | 5 | |
|---|
| 5 | 6 | Copyright (C) ST Microelectronics |
|---|
| 6 | 7 | |
|---|
| 7 | | - This program is free software; you can redistribute it and/or modify |
|---|
| 8 | | - it under the terms of the GNU General Public License as published by |
|---|
| 9 | | - the Free Software Foundation; either version 2 of the License, or |
|---|
| 10 | | - (at your option) any later version. |
|---|
| 11 | | - |
|---|
| 12 | | - This program is distributed in the hope that it will be useful, |
|---|
| 13 | | - but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 14 | | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 15 | | - GNU General Public License for more details. |
|---|
| 16 | | - |
|---|
| 17 | | - You should have received a copy of the GNU General Public License |
|---|
| 18 | | - along with this program; if not, write to the Free Software |
|---|
| 19 | | - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
|---|
| 20 | 8 | */ |
|---|
| 21 | 9 | |
|---|
| 22 | 10 | #ifndef __STV090x_H |
|---|
| .. | .. |
|---|
| 69 | 57 | enum stv090x_device device; |
|---|
| 70 | 58 | enum stv090x_mode demod_mode; |
|---|
| 71 | 59 | enum stv090x_clkmode clk_mode; |
|---|
| 60 | + enum stv090x_demodulator demod; |
|---|
| 72 | 61 | |
|---|
| 73 | 62 | u32 xtal; /* default: 8000000 */ |
|---|
| 74 | 63 | u8 address; /* default: 0x68 */ |
|---|
| .. | .. |
|---|
| 105 | 94 | /* dir = 0 -> output, dir = 1 -> input/open-drain */ |
|---|
| 106 | 95 | int (*set_gpio)(struct dvb_frontend *fe, u8 gpio, u8 dir, u8 value, |
|---|
| 107 | 96 | u8 xor_value); |
|---|
| 97 | + |
|---|
| 98 | + struct dvb_frontend* (*get_dvb_frontend)(struct i2c_client *i2c); |
|---|
| 108 | 99 | }; |
|---|
| 109 | 100 | |
|---|
| 110 | 101 | #if IS_REACHABLE(CONFIG_DVB_STV090x) |
|---|