linux/drivers/media/dvb-frontends/s5h1432.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 *  Samsung s5h1432 VSB/QAM demodulator driver
 *
 *  Copyright (C) 2009 Bill Liu <[email protected]>
 */

#ifndef __S5H1432_H__
#define __S5H1432_H__

#include <linux/dvb/frontend.h>

#define S5H1432_I2C_TOP_ADDR

#define TAIWAN_HI_IF_FREQ_44_MHZ
#define EUROPE_HI_IF_FREQ_36_MHZ
#define IF_FREQ_6_MHZ
#define IF_FREQ_3point3_MHZ
#define IF_FREQ_3point5_MHZ
#define IF_FREQ_4_MHZ

struct s5h1432_config {};

#if IS_REACHABLE(CONFIG_DVB_S5H1432)
extern struct dvb_frontend *s5h1432_attach(const struct s5h1432_config *config,
					   struct i2c_adapter *i2c);
#else
static inline struct dvb_frontend *s5h1432_attach(const struct s5h1432_config
						  *config,
						  struct i2c_adapter *i2c)
{
	printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
	return NULL;
}
#endif /* CONFIG_DVB_s5h1432 */

#endif /* __s5h1432_H__ */