diff options
author | Hartmut Hackmann <hartmut.hackmann@t-online.de> | 2008-04-09 22:07:11 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:09:44 -0400 |
commit | 9a1b04e461fc8127c902a988cd9a082ba0680b11 (patch) | |
tree | 5f09a53b458432fddba9ed871f5731a83e41f7e2 /drivers/media/dvb/frontends/tda10086.h | |
parent | b37f2d6a31fc8e80c79a0a214d83b128aa796543 (diff) |
V4L/DVB (7654): tda10086: make the xtal frequency a configuration option
Some DVB-S boards, i.e. with the SD1878 tuner, use a 4 MHz reference frequency.
This reqires a different setup of the clock PLL.
This patch adds an enum to the tda10086_config struct and sets the proper
values for the boards.
This patch also fixes the DVB-S section of the MD7134_BRIDGE_2
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/tda10086.h')
-rw-r--r-- | drivers/media/dvb/frontends/tda10086.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/tda10086.h b/drivers/media/dvb/frontends/tda10086.h index 197c237e515f..f25d5ea381e5 100644 --- a/drivers/media/dvb/frontends/tda10086.h +++ b/drivers/media/dvb/frontends/tda10086.h | |||
@@ -26,6 +26,11 @@ | |||
26 | #include <linux/dvb/frontend.h> | 26 | #include <linux/dvb/frontend.h> |
27 | #include <linux/firmware.h> | 27 | #include <linux/firmware.h> |
28 | 28 | ||
29 | enum tda10086_xtal { | ||
30 | TDA10086_XTAL_16M, | ||
31 | TDA10086_XTAL_4M | ||
32 | }; | ||
33 | |||
29 | struct tda10086_config | 34 | struct tda10086_config |
30 | { | 35 | { |
31 | /* the demodulator's i2c address */ | 36 | /* the demodulator's i2c address */ |
@@ -36,6 +41,9 @@ struct tda10086_config | |||
36 | 41 | ||
37 | /* do we need the diseqc signal with carrier? */ | 42 | /* do we need the diseqc signal with carrier? */ |
38 | u8 diseqc_tone; | 43 | u8 diseqc_tone; |
44 | |||
45 | /* frequency of the reference xtal */ | ||
46 | enum tda10086_xtal xtal_freq; | ||
39 | }; | 47 | }; |
40 | 48 | ||
41 | #if defined(CONFIG_DVB_TDA10086) || (defined(CONFIG_DVB_TDA10086_MODULE) && defined(MODULE)) | 49 | #if defined(CONFIG_DVB_TDA10086) || (defined(CONFIG_DVB_TDA10086_MODULE) && defined(MODULE)) |