xref: /linux/drivers/media/dvb-frontends/mn88443x.h (revision 3eb66e91a25497065c5322b1268cbc3953642227)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Socionext MN88443x series demodulator driver for ISDB-S/ISDB-T.
4  *
5  * Copyright (c) 2018 Socionext Inc.
6  */
7 
8 #ifndef MN88443X_H
9 #define MN88443X_H
10 
11 #include <media/dvb_frontend.h>
12 
13 /* ISDB-T IF frequency */
14 #define DIRECT_IF_57MHZ    57000000
15 #define DIRECT_IF_44MHZ    44000000
16 #define LOW_IF_4MHZ        4000000
17 
18 struct mn88443x_config {
19 	struct clk *mclk;
20 	u32 if_freq;
21 	struct gpio_desc *reset_gpio;
22 
23 	/* Everything after that is returned by the driver. */
24 	struct dvb_frontend **fe;
25 };
26 
27 #endif /* MN88443X_H */
28