2 * NXP TDA18250BHN silicon tuner driver
4 * Copyright (C) 2017 Olli Salonen <olli.salonen@iki.fi>
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.
20 #include <linux/kconfig.h>
21 #include <media/media-device.h>
22 #include <media/dvb_frontend.h>
24 #define TDA18250_XTAL_FREQ_16MHZ 0
25 #define TDA18250_XTAL_FREQ_24MHZ 1
26 #define TDA18250_XTAL_FREQ_25MHZ 2
27 #define TDA18250_XTAL_FREQ_27MHZ 3
28 #define TDA18250_XTAL_FREQ_30MHZ 4
29 #define TDA18250_XTAL_FREQ_MAX 5
31 struct tda18250_config
{
44 struct dvb_frontend
*fe
;
46 #if defined(CONFIG_MEDIA_CONTROLLER)
47 struct media_device
*mdev
;