Merge tag 'io_uring-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / media / tuners / tda18250.h
blob2819126e5e8d2a1cf8a6c9d5ab7bad79151b175d
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * NXP TDA18250BHN silicon tuner driver
5 * Copyright (C) 2017 Olli Salonen <olli.salonen@iki.fi>
6 */
8 #ifndef TDA18250_H
9 #define TDA18250_H
11 #include <linux/kconfig.h>
12 #include <media/media-device.h>
13 #include <media/dvb_frontend.h>
15 #define TDA18250_XTAL_FREQ_16MHZ 0
16 #define TDA18250_XTAL_FREQ_24MHZ 1
17 #define TDA18250_XTAL_FREQ_25MHZ 2
18 #define TDA18250_XTAL_FREQ_27MHZ 3
19 #define TDA18250_XTAL_FREQ_30MHZ 4
20 #define TDA18250_XTAL_FREQ_MAX 5
22 struct tda18250_config {
23 u16 if_dvbt_6;
24 u16 if_dvbt_7;
25 u16 if_dvbt_8;
26 u16 if_dvbc_6;
27 u16 if_dvbc_8;
28 u16 if_atsc;
29 u8 xtal_freq;
30 bool loopthrough;
33 * frontend
35 struct dvb_frontend *fe;
37 #if defined(CONFIG_MEDIA_CONTROLLER)
38 struct media_device *mdev;
39 #endif
42 #endif