summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/au8522.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-10-12 23:51:55 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-12 23:51:55 -0200
commit306ede601c9b5ba08934c08f91d0250cd576baec (patch)
treeb2ac74dceb5fbc0eb0dbc5806324670d93e72169 /linux/drivers/media/dvb/frontends/au8522.h
parentba7457fc4d28e1b336aaa55c60d3814c310f9fd8 (diff)
parente7747174dd8adfcabd483bfbac2244eb2c15fe66 (diff)
downloadmediapointer-dvb-s2-306ede601c9b5ba08934c08f91d0250cd576baec.tar.gz
mediapointer-dvb-s2-306ede601c9b5ba08934c08f91d0250cd576baec.tar.bz2
merge: http://linuxtv.org/hg/~mkrufky/hvr950q
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/au8522.h')
-rw-r--r--linux/drivers/media/dvb/frontends/au8522.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/au8522.h b/linux/drivers/media/dvb/frontends/au8522.h
index 595915ade..7b94f554a 100644
--- a/linux/drivers/media/dvb/frontends/au8522.h
+++ b/linux/drivers/media/dvb/frontends/au8522.h
@@ -30,6 +30,21 @@ enum au8522_if_freq {
AU8522_IF_3_25MHZ,
};
+struct au8522_led_config {
+ u16 vsb8_strong;
+ u16 qam64_strong;
+ u16 qam256_strong;
+
+ u16 gpio_output;
+ /* unset hi bits, set low bits */
+ u16 gpio_output_enable;
+ u16 gpio_output_disable;
+
+ u16 gpio_leds;
+ u8 *led_states;
+ unsigned int num_led_states;
+};
+
struct au8522_config {
/* the demodulator's i2c address */
u8 demod_address;
@@ -39,6 +54,8 @@ struct au8522_config {
#define AU8522_DEMODLOCKING 1
u8 status_mode;
+ struct au8522_led_config *led_cfg;
+
enum au8522_if_freq vsb_if;
enum au8522_if_freq qam_if;
};