18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Socionext MN88443x series demodulator driver for ISDB-S/ISDB-T. 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (c) 2018 Socionext Inc. 68c2ecf20Sopenharmony_ci */ 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci#ifndef MN88443X_H 98c2ecf20Sopenharmony_ci#define MN88443X_H 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#include <media/dvb_frontend.h> 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci/* ISDB-T IF frequency */ 148c2ecf20Sopenharmony_ci#define DIRECT_IF_57MHZ 57000000 158c2ecf20Sopenharmony_ci#define DIRECT_IF_44MHZ 44000000 168c2ecf20Sopenharmony_ci#define LOW_IF_4MHZ 4000000 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_cistruct mn88443x_config { 198c2ecf20Sopenharmony_ci struct clk *mclk; 208c2ecf20Sopenharmony_ci u32 if_freq; 218c2ecf20Sopenharmony_ci struct gpio_desc *reset_gpio; 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci /* Everything after that is returned by the driver. */ 248c2ecf20Sopenharmony_ci struct dvb_frontend **fe; 258c2ecf20Sopenharmony_ci}; 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci#endif /* MN88443X_H */ 28