summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/tda10048.h
diff options
context:
space:
mode:
authorSteven Toth <stoth@linuxtv.org>2009-05-02 16:07:29 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 23:20:53 +0200
commitd114153816ec188b20a37583e66da33d8b2798fe (patch)
treecdac5cbecdbfced7c9515b616623f9f8b5c080b7 /drivers/media/dvb/frontends/tda10048.h
parentV4L/DVB (11695): gspca - stv06xx-vv6410: Set analog gain at init (diff)
downloadlinux-d114153816ec188b20a37583e66da33d8b2798fe.tar.xz
linux-d114153816ec188b20a37583e66da33d8b2798fe.zip
V4L/DVB (11697): tda10048: Add ability to select I/F at attach time.
tda10048: Add ability to select I/F at attach time. Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/tda10048.h')
-rw-r--r--drivers/media/dvb/frontends/tda10048.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/tda10048.h b/drivers/media/dvb/frontends/tda10048.h
index 0457b24601fa..ab9cf5bd421e 100644
--- a/drivers/media/dvb/frontends/tda10048.h
+++ b/drivers/media/dvb/frontends/tda10048.h
@@ -43,6 +43,20 @@ struct tda10048_config {
#define TDA10048_INVERSION_OFF 0
#define TDA10048_INVERSION_ON 1
u8 inversion;
+
+#define TDA10048_IF_3300 3300
+#define TDA10048_IF_3500 3500
+#define TDA10048_IF_3800 3800
+#define TDA10048_IF_4000 4000
+#define TDA10048_IF_4300 4300
+#define TDA10048_IF_4500 4500
+#define TDA10048_IF_4750 4750
+#define TDA10048_IF_36130 36130
+ u16 if_freq_khz;
+
+#define TDA10048_CLK_4000 4000
+#define TDA10048_CLK_16000 16000
+ u16 clk_freq_khz;
};
#if defined(CONFIG_DVB_TDA10048) || \