2 Samsung S5H1409 VSB/QAM demodulator driver
4 Copyright (C) 2006 Steven Toth <stoth@hauppauge.com>
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25 #include <linux/dvb/frontend.h>
29 /* the demodulator's i2c address */
32 /* serial/parallel output */
33 #define S5H1409_PARALLEL_OUTPUT 0
34 #define S5H1409_SERIAL_OUTPUT 1
38 #define S5H1409_GPIO_OFF 0
39 #define S5H1409_GPIO_ON 1
45 /* Spectral Inversion */
46 #define S5H1409_INVERSION_OFF 0
47 #define S5H1409_INVERSION_ON 1
50 /* Return lock status based on tuner lock, or demod lock */
51 #define S5H1409_TUNERLOCKING 0
52 #define S5H1409_DEMODLOCKING 1
56 #if defined(CONFIG_DVB_S5H1409) || (defined(CONFIG_DVB_S5H1409_MODULE) && defined(MODULE))
57 extern struct dvb_frontend
* s5h1409_attach(const struct s5h1409_config
* config
,
58 struct i2c_adapter
* i2c
);
60 static inline struct dvb_frontend
* s5h1409_attach(const struct s5h1409_config
* config
,
61 struct i2c_adapter
* i2c
)
63 printk(KERN_WARNING
"%s: driver disabled by Kconfig\n", __FUNCTION__
);
66 #endif /* CONFIG_DVB_S5H1409 */
68 #endif /* __S5H1409_H__ */