]> err.no Git - linux-2.6/blobdiff - drivers/media/dvb/frontends/tda1002x.h
V4L/DVB (8030): TDA10023: make TS output mode configurable
[linux-2.6] / drivers / media / dvb / frontends / tda1002x.h
index 4522b7ef53c91e1fc2d851457bfc03308295c7e0..afc0a32eaabd02d0e21ad162a536cd08222c47fa 100644 (file)
@@ -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;
 };