xref: /linux/drivers/media/dvb-frontends/mn88443x.h (revision ae22a94997b8a03dcb3c922857c203246711f9d4)
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