summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/tda1002x.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2008-06-09 22:53:04 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 07:09:24 -0300
commite75888661a7008503e3d147f92499d9c30ebf6e3 (patch)
treed10940f81949eb5c3dac24030b233ef1ca89eced /drivers/media/dvb/frontends/tda1002x.h
parent584ce48de9e01838402c8e82c78f166775ea3075 (diff)
downloadop-kernel-dev-e75888661a7008503e3d147f92499d9c30ebf6e3.zip
op-kernel-dev-e75888661a7008503e3d147f92499d9c30ebf6e3.tar.gz
V4L/DVB (8030): TDA10023: make TS output mode configurable
- make TS output mode configurable Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/tda1002x.h')
-rw-r--r--drivers/media/dvb/frontends/tda1002x.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/tda1002x.h b/drivers/media/dvb/frontends/tda1002x.h
index 4522b7ef..afc0a32 100644
--- a/drivers/media/dvb/frontends/tda1002x.h
+++ b/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;
};
OpenPOWER on IntegriCloud