aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/drxk.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/drxk.h')
-rw-r--r--drivers/media/dvb/frontends/drxk.h23
1 files changed, 15 insertions, 8 deletions
diff --git a/drivers/media/dvb/frontends/drxk.h b/drivers/media/dvb/frontends/drxk.h
index 020981844a86..9d64e4fea066 100644
--- a/drivers/media/dvb/frontends/drxk.h
+++ b/drivers/media/dvb/frontends/drxk.h
@@ -7,15 +7,19 @@
7/** 7/**
8 * struct drxk_config - Configure the initial parameters for DRX-K 8 * struct drxk_config - Configure the initial parameters for DRX-K
9 * 9 *
10 * adr: I2C Address of the DRX-K 10 * @adr: I2C Address of the DRX-K
11 * parallel_ts: true means that the device uses parallel TS, 11 * @parallel_ts: True means that the device uses parallel TS,
12 * Serial otherwise. 12 * Serial otherwise.
13 * single_master: Device is on the single master mode 13 * @dynamic_clk: True means that the clock will be dynamically
14 * no_i2c_bridge: Don't switch the I2C bridge to talk with tuner 14 * adjusted. Static clock otherwise.
15 * antenna_gpio: GPIO bit used to control the antenna 15 * @enable_merr_cfg: Enable SIO_PDR_PERR_CFG/SIO_PDR_MVAL_CFG.
16 * antenna_dvbt: GPIO bit for changing antenna to DVB-C. A value of 1 16 * @single_master: Device is on the single master mode
17 * @no_i2c_bridge: Don't switch the I2C bridge to talk with tuner
18 * @antenna_gpio: GPIO bit used to control the antenna
19 * @antenna_dvbt: GPIO bit for changing antenna to DVB-C. A value of 1
17 * means that 1=DVBC, 0 = DVBT. Zero means the opposite. 20 * means that 1=DVBC, 0 = DVBT. Zero means the opposite.
18 * microcode_name: Name of the firmware file with the microcode 21 * @mpeg_out_clk_strength: DRXK Mpeg output clock drive strength.
22 * @microcode_name: Name of the firmware file with the microcode
19 * 23 *
20 * On the *_gpio vars, bit 0 is UIO-1, bit 1 is UIO-2 and bit 2 is 24 * On the *_gpio vars, bit 0 is UIO-1, bit 1 is UIO-2 and bit 2 is
21 * UIO-3. 25 * UIO-3.
@@ -25,11 +29,14 @@ struct drxk_config {
25 bool single_master; 29 bool single_master;
26 bool no_i2c_bridge; 30 bool no_i2c_bridge;
27 bool parallel_ts; 31 bool parallel_ts;
32 bool dynamic_clk;
33 bool enable_merr_cfg;
28 34
29 bool antenna_dvbt; 35 bool antenna_dvbt;
30 u16 antenna_gpio; 36 u16 antenna_gpio;
31 37
32 int chunk_size; 38 u8 mpeg_out_clk_strength;
39 int chunk_size;
33 40
34 const char *microcode_name; 41 const char *microcode_name;
35}; 42};