summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/au8522.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-09-03 16:46:35 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-09-03 18:36:18 -0300
commit2e7acd75cba3b7afa4007f20f22a86dbbdb21753 (patch)
treec86f81cceda74c7a431f74e145f9dfaf9a9b2bd9 /drivers/media/dvb/frontends/au8522.h
parentbef69ea0dcce574a425feb0a5aa4c63dd108b9a6 (diff)
downloadop-kernel-dev-2e7acd75cba3b7afa4007f20f22a86dbbdb21753.zip
op-kernel-dev-2e7acd75cba3b7afa4007f20f22a86dbbdb21753.tar.gz
V4L/DVB (8555): au8522: add mechanism to configure IF frequency for vsb and qam
Add a mechanism to configure IF frequency for vsb and qam. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/au8522.h')
-rw-r--r--drivers/media/dvb/frontends/au8522.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/au8522.h b/drivers/media/dvb/frontends/au8522.h
index d7affa3..afc9af2 100644
--- a/drivers/media/dvb/frontends/au8522.h
+++ b/drivers/media/dvb/frontends/au8522.h
@@ -24,6 +24,12 @@
#include <linux/dvb/frontend.h>
+enum au8522_if_freq {
+ AU8522_IF_6MHZ = 0,
+ AU8522_IF_4MHZ,
+ AU8522_IF_3_25MHZ,
+};
+
struct au8522_config {
/* the demodulator's i2c address */
u8 demod_address;
@@ -32,6 +38,9 @@ struct au8522_config {
#define AU8522_TUNERLOCKING 0
#define AU8522_DEMODLOCKING 1
u8 status_mode;
+
+ enum au8522_if_freq vsb_if;
+ enum au8522_if_freq qam_if;
};
#if defined(CONFIG_DVB_AU8522) || \
OpenPOWER on IntegriCloud