diff options
author | Hartmut Hackmann <hartmut.hackmann@t-online.de> | 2007-03-18 18:23:20 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-27 14:44:58 -0400 |
commit | 08cdf94c076121cd0214ef9ea18ae3fbb9ace684 (patch) | |
tree | f59ac4fc13173aca05e07d8bd74e9fdee1b9b89e /drivers/media/dvb/frontends/tda1004x.h | |
parent | d519dcf61ed55bcfb947a31122cea068a73ad974 (diff) |
V4L/DVB (5458): Tda1004x: add ts_mode option to config struct
The struct tda1004x_config has a new entry: .ts_mode
Possible values are TDA10046_TS_PARALLEL or TDA10046_TS_SERIAL
There always is only one interface active, default is parallel.
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/tda1004x.h')
-rw-r--r-- | drivers/media/dvb/frontends/tda1004x.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/tda1004x.h b/drivers/media/dvb/frontends/tda1004x.h index 6badc81d4c33..abae84350142 100644 --- a/drivers/media/dvb/frontends/tda1004x.h +++ b/drivers/media/dvb/frontends/tda1004x.h | |||
@@ -61,6 +61,11 @@ enum tda10046_if { | |||
61 | TDA10046_FREQ_052, /* low IF, 5.1667 MHZ for tda9889 */ | 61 | TDA10046_FREQ_052, /* low IF, 5.1667 MHZ for tda9889 */ |
62 | }; | 62 | }; |
63 | 63 | ||
64 | enum tda10046_tsout { | ||
65 | TDA10046_TS_PARALLEL = 0x00, /* parallel transport stream, default */ | ||
66 | TDA10046_TS_SERIAL = 0x01, /* serial transport stream */ | ||
67 | }; | ||
68 | |||
64 | struct tda1004x_config | 69 | struct tda1004x_config |
65 | { | 70 | { |
66 | /* the demodulator's i2c address */ | 71 | /* the demodulator's i2c address */ |
@@ -72,6 +77,9 @@ struct tda1004x_config | |||
72 | /* Does the OCLK signal need inverted? */ | 77 | /* Does the OCLK signal need inverted? */ |
73 | u8 invert_oclk; | 78 | u8 invert_oclk; |
74 | 79 | ||
80 | /* parallel or serial transport stream */ | ||
81 | enum tda10046_tsout ts_mode; | ||
82 | |||
75 | /* Xtal frequency, 4 or 16MHz*/ | 83 | /* Xtal frequency, 4 or 16MHz*/ |
76 | enum tda10046_xtal xtal_freq; | 84 | enum tda10046_xtal xtal_freq; |
77 | 85 | ||