[media] mn88472: add ts mode and ts clock to driver

Signed-off-by: Benjamin Larsson <benjamin@southpole.se>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
Benjamin Larsson
2014-12-05 21:25:33 -03:00
committed by Mauro Carvalho Chehab
parent d8da7513bc
commit 021cd2d21b
4 changed files with 44 additions and 2 deletions

View File

@@ -19,6 +19,16 @@
#include <linux/dvb/frontend.h>
enum ts_clock {
VARIABLE_TS_CLOCK,
FIXED_TS_CLOCK,
};
enum ts_mode {
SERIAL_TS_MODE,
PARALLEL_TS_MODE,
};
struct mn88472_config {
/*
* Max num of bytes given I2C adapter could write at once.
@@ -39,6 +49,8 @@ struct mn88472_config {
* Hz
*/
u32 xtal;
int ts_mode;
int ts_clock;
};
#endif