diff options
author | Patrick Boettcher <pboettcher@dibcom.fr> | 2007-07-27 09:08:51 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 21:03:43 -0400 |
commit | b6884a17fc70e979ef34e4b5560988b522bb50a0 (patch) | |
tree | a1be75fb986d578f810d3cd017dbaa678c068b99 /drivers/media/dvb/frontends/dib7000p.h | |
parent | b2a657603e7285bf05b86ad198111b5403c57b41 (diff) |
V4L/DVB (5954): Sync with DiBcom Driver Release 2.1.3 + some improvements
This changesets syncs the OpenSource driver for DiBcom demodulators
with version 2.1.3 of DiBcom reference driver. There were some
improvements since the last release for linux-dvb, e.g.:
- stepped AGC startup
- less space for initialization
- diversity synchronization
Furthermore this changeset contains the following things:
- latest AGC settings for MT2266-based devices (namely Nova-TD and other) will improve the sensitivity
- support for STK7700D reference design in dib0700-devices
- remove some line-breaks when debugging is enabled
- getting rid of layer between frontend_parameters and ofdm_channel used in dib*-drivers
Signed-off-by: Patrick Boettcher <pboettcher@dibcom.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/dib7000p.h')
-rw-r--r-- | drivers/media/dvb/frontends/dib7000p.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/dib7000p.h b/drivers/media/dvb/frontends/dib7000p.h index 94829c1ed054..e7769e7cd92a 100644 --- a/drivers/media/dvb/frontends/dib7000p.h +++ b/drivers/media/dvb/frontends/dib7000p.h | |||
@@ -9,6 +9,7 @@ struct dib7000p_config { | |||
9 | u8 tuner_is_baseband; | 9 | u8 tuner_is_baseband; |
10 | int (*update_lna) (struct dvb_frontend *, u16 agc_global); | 10 | int (*update_lna) (struct dvb_frontend *, u16 agc_global); |
11 | 11 | ||
12 | u8 agc_config_count; | ||
12 | struct dibx000_agc_config *agc; | 13 | struct dibx000_agc_config *agc; |
13 | struct dibx000_bandwidth_config *bw; | 14 | struct dibx000_bandwidth_config *bw; |
14 | 15 | ||
@@ -27,15 +28,19 @@ struct dib7000p_config { | |||
27 | 28 | ||
28 | u8 quartz_direct; | 29 | u8 quartz_direct; |
29 | 30 | ||
31 | u8 spur_protect; | ||
32 | |||
30 | int (*agc_control) (struct dvb_frontend *, u8 before); | 33 | int (*agc_control) (struct dvb_frontend *, u8 before); |
31 | }; | 34 | }; |
32 | 35 | ||
33 | #define DEFAULT_DIB7000P_I2C_ADDRESS 18 | 36 | #define DEFAULT_DIB7000P_I2C_ADDRESS 18 |
34 | 37 | ||
35 | extern struct dvb_frontend * dib7000p_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr, struct dib7000p_config *cfg); | 38 | extern struct dvb_frontend * dib7000p_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr, struct dib7000p_config *cfg); |
39 | extern int dib7000p_i2c_enumeration(struct i2c_adapter *i2c, int no_of_demods, u8 default_addr, struct dib7000p_config cfg[]); | ||
40 | |||
36 | extern struct i2c_adapter * dib7000p_get_i2c_master(struct dvb_frontend *, enum dibx000_i2c_interface, int); | 41 | extern struct i2c_adapter * dib7000p_get_i2c_master(struct dvb_frontend *, enum dibx000_i2c_interface, int); |
37 | extern int dib7000pc_detection(struct i2c_adapter *i2c_adap); | 42 | extern int dib7000pc_detection(struct i2c_adapter *i2c_adap); |
38 | extern int dib7000p_i2c_enumeration(struct i2c_adapter *i2c, int no_of_demods, u8 default_addr, struct dib7000p_config cfg[]); | 43 | |
39 | /* TODO | 44 | /* TODO |
40 | extern INT dib7000p_set_gpio(struct dibDemod *demod, UCHAR num, UCHAR dir, UCHAR val); | 45 | extern INT dib7000p_set_gpio(struct dibDemod *demod, UCHAR num, UCHAR dir, UCHAR val); |
41 | extern INT dib7000p_enable_vbg_voltage(struct dibDemod *demod); | 46 | extern INT dib7000p_enable_vbg_voltage(struct dibDemod *demod); |