hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/dvb-frontends/stv090x.h
....@@ -1,22 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 STV0900/0903 Multistandard Broadcast Frontend driver
34 Copyright (C) Manu Abraham <abraham.manu@gmail.com>
45
56 Copyright (C) ST Microelectronics
67
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.
208 */
219
2210 #ifndef __STV090x_H
....@@ -69,6 +57,7 @@
6957 enum stv090x_device device;
7058 enum stv090x_mode demod_mode;
7159 enum stv090x_clkmode clk_mode;
60
+ enum stv090x_demodulator demod;
7261
7362 u32 xtal; /* default: 8000000 */
7463 u8 address; /* default: 0x68 */
....@@ -105,6 +94,8 @@
10594 /* dir = 0 -> output, dir = 1 -> input/open-drain */
10695 int (*set_gpio)(struct dvb_frontend *fe, u8 gpio, u8 dir, u8 value,
10796 u8 xor_value);
97
+
98
+ struct dvb_frontend* (*get_dvb_frontend)(struct i2c_client *i2c);
10899 };
109100
110101 #if IS_REACHABLE(CONFIG_DVB_STV090x)