summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/tda1002x.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2008-06-10 01:53:04 +0300
committerAntti Palosaari <crope@iki.fi>2008-06-10 01:53:04 +0300
commitd564aaaf0fba795bc0a5e53ece70b457acee5334 (patch)
tree51e42f946aecf22729c6a00571cf46afe3392610 /linux/drivers/media/dvb/frontends/tda1002x.h
parent95794f4c84d596665603358eee57c93b0058e626 (diff)
downloadmediapointer-dvb-s2-d564aaaf0fba795bc0a5e53ece70b457acee5334.tar.gz
mediapointer-dvb-s2-d564aaaf0fba795bc0a5e53ece70b457acee5334.tar.bz2
TDA10023: make TS output mode configurable
From: Antti Palosaari <crope@iki.fi> - make TS output mode configurable Signed-off-by: Antti Palosaari <crope@iki.fi>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/tda1002x.h')
-rw-r--r--linux/drivers/media/dvb/frontends/tda1002x.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda1002x.h b/linux/drivers/media/dvb/frontends/tda1002x.h
index 4522b7ef5..afc0a32ea 100644
--- a/linux/drivers/media/dvb/frontends/tda1002x.h
+++ b/linux/drivers/media/dvb/frontends/tda1002x.h
@@ -32,6 +32,13 @@ struct tda1002x_config {
u8 invert;
};
+enum tda10023_output_mode {
+ TDA10023_OUTPUT_MODE_PARALLEL_A = 0xe0,
+ TDA10023_OUTPUT_MODE_PARALLEL_B = 0xa1,
+ TDA10023_OUTPUT_MODE_PARALLEL_C = 0xa0,
+ TDA10023_OUTPUT_MODE_SERIAL, /* TODO: not implemented */
+};
+
struct tda10023_config {
/* the demodulator's i2c address */
u8 demod_address;
@@ -43,6 +50,9 @@ struct tda10023_config {
u8 pll_p; /* defaults: 4 */
u8 pll_n; /* defaults: 1 */
+ /* MPEG2 TS output mode */
+ u8 output_mode;
+
/* input freq offset + baseband conversion type */
u16 deltaf;
};