Commit 5200401a authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

V4L/DVB (12808): tm6000: Move analog tv standards to tm6000-stds

tm5600/6000/6010 requires a large config table for video standards. Better to
move this to their own file.

Also added register settings for tm6010 (needs testing.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent d544f2c3
tm6000-objs := tm6000-cards.o \ tm6000-objs := tm6000-cards.o \
tm6000-core.o \ tm6000-core.o \
tm6000-i2c.o \ tm6000-i2c.o \
tm6000-video.o tm6000-video.o \
tm6000-stds.o
ifeq ($(CONFIG_VIDEO_TM6000_DVB),y) ifeq ($(CONFIG_VIDEO_TM6000_DVB),y)
tm6000-objs += tm6000-dvb.o \ tm6000-objs += tm6000-dvb.o \
......
This diff is collapsed.
This diff is collapsed.
...@@ -206,8 +206,6 @@ int tm6000_init_after_firmware (struct tm6000_core *dev); ...@@ -206,8 +206,6 @@ int tm6000_init_after_firmware (struct tm6000_core *dev);
int tm6000_init_analog_mode (struct tm6000_core *dev); int tm6000_init_analog_mode (struct tm6000_core *dev);
int tm6000_init_digital_mode (struct tm6000_core *dev); int tm6000_init_digital_mode (struct tm6000_core *dev);
void tm6000_get_std_res(struct tm6000_core *dev);
int tm6000_set_standard (struct tm6000_core *dev, v4l2_std_id *norm);
int tm6000_set_audio_bitrate (struct tm6000_core *dev, int bitrate); int tm6000_set_audio_bitrate (struct tm6000_core *dev, int bitrate);
int tm6000_dvb_register(struct tm6000_core *dev); int tm6000_dvb_register(struct tm6000_core *dev);
...@@ -218,6 +216,10 @@ int tm6000_v4l2_unregister(struct tm6000_core *dev); ...@@ -218,6 +216,10 @@ int tm6000_v4l2_unregister(struct tm6000_core *dev);
int tm6000_v4l2_exit(void); int tm6000_v4l2_exit(void);
void tm6000_set_fourcc_format(struct tm6000_core *dev); void tm6000_set_fourcc_format(struct tm6000_core *dev);
/* In tm6000-stds.c */
void tm6000_get_std_res(struct tm6000_core *dev);
int tm6000_set_standard (struct tm6000_core *dev, v4l2_std_id *norm);
/* In tm6000-i2c.c */ /* In tm6000-i2c.c */
int tm6000_i2c_register(struct tm6000_core *dev); int tm6000_i2c_register(struct tm6000_core *dev);
int tm6000_i2c_unregister(struct tm6000_core *dev); int tm6000_i2c_unregister(struct tm6000_core *dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment