diff options
Diffstat (limited to 'drivers/media/dvb/frontends/au8522.h')
-rw-r--r-- | drivers/media/dvb/frontends/au8522.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/au8522.h b/drivers/media/dvb/frontends/au8522.h index 595915ade8c3..7b94f554a093 100644 --- a/drivers/media/dvb/frontends/au8522.h +++ b/drivers/media/dvb/frontends/au8522.h | |||
@@ -30,6 +30,21 @@ enum au8522_if_freq { | |||
30 | AU8522_IF_3_25MHZ, | 30 | AU8522_IF_3_25MHZ, |
31 | }; | 31 | }; |
32 | 32 | ||
33 | struct au8522_led_config { | ||
34 | u16 vsb8_strong; | ||
35 | u16 qam64_strong; | ||
36 | u16 qam256_strong; | ||
37 | |||
38 | u16 gpio_output; | ||
39 | /* unset hi bits, set low bits */ | ||
40 | u16 gpio_output_enable; | ||
41 | u16 gpio_output_disable; | ||
42 | |||
43 | u16 gpio_leds; | ||
44 | u8 *led_states; | ||
45 | unsigned int num_led_states; | ||
46 | }; | ||
47 | |||
33 | struct au8522_config { | 48 | struct au8522_config { |
34 | /* the demodulator's i2c address */ | 49 | /* the demodulator's i2c address */ |
35 | u8 demod_address; | 50 | u8 demod_address; |
@@ -39,6 +54,8 @@ struct au8522_config { | |||
39 | #define AU8522_DEMODLOCKING 1 | 54 | #define AU8522_DEMODLOCKING 1 |
40 | u8 status_mode; | 55 | u8 status_mode; |
41 | 56 | ||
57 | struct au8522_led_config *led_cfg; | ||
58 | |||
42 | enum au8522_if_freq vsb_if; | 59 | enum au8522_if_freq vsb_if; |
43 | enum au8522_if_freq qam_if; | 60 | enum au8522_if_freq qam_if; |
44 | }; | 61 | }; |