0001
0002
0003
0004
0005
0006 #ifndef __DVB_PLL_H__
0007 #define __DVB_PLL_H__
0008
0009 #include <linux/i2c.h>
0010 #include <media/dvb_frontend.h>
0011
0012 #define DVB_PLL_UNDEFINED 0
0013 #define DVB_PLL_THOMSON_DTT7579 1
0014 #define DVB_PLL_THOMSON_DTT759X 2
0015 #define DVB_PLL_LG_Z201 3
0016 #define DVB_PLL_UNKNOWN_1 4
0017 #define DVB_PLL_TUA6010XS 5
0018 #define DVB_PLL_ENV57H1XD5 6
0019 #define DVB_PLL_TUA6034 7
0020 #define DVB_PLL_TDA665X 8
0021 #define DVB_PLL_TDED4 9
0022 #define DVB_PLL_TDHU2 10
0023 #define DVB_PLL_SAMSUNG_TBMV 11
0024 #define DVB_PLL_PHILIPS_SD1878_TDA8261 12
0025 #define DVB_PLL_OPERA1 13
0026 #define DVB_PLL_SAMSUNG_DTOS403IH102A 14
0027 #define DVB_PLL_SAMSUNG_TDTC9251DH0 15
0028 #define DVB_PLL_SAMSUNG_TBDU18132 16
0029 #define DVB_PLL_SAMSUNG_TBMU24112 17
0030 #define DVB_PLL_TDEE4 18
0031 #define DVB_PLL_THOMSON_DTT7520X 19
0032 #define DVB_PLL_TUA6034_FRIIO 20
0033 #define DVB_PLL_TDA665X_EARTH_PT1 21
0034
0035 struct dvb_pll_config {
0036 struct dvb_frontend *fe;
0037 };
0038
0039 #if IS_REACHABLE(CONFIG_DVB_PLL)
0040
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050 extern struct dvb_frontend *dvb_pll_attach(struct dvb_frontend *fe,
0051 int pll_addr,
0052 struct i2c_adapter *i2c,
0053 unsigned int pll_desc_id);
0054 #else
0055 static inline struct dvb_frontend *dvb_pll_attach(struct dvb_frontend *fe,
0056 int pll_addr,
0057 struct i2c_adapter *i2c,
0058 unsigned int pll_desc_id)
0059 {
0060 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
0061 return NULL;
0062 }
0063 #endif
0064
0065 #endif