In order to add TVP5147 TV input support, we have made our own tvp5147 mxc v4l2 driver available to anyone at this site: http://code.google.com/p/tvp5147-mxc-v4l2/
We also added the following instructions on how we managed to make it work with SBC-i.MX51.
Hope you found this useful.
Here are the instructions:
In order to include TVP5147 support to our board we needed to:
All this files are uploaded in the SVN trunk of this project: http://code.google.com/p/tvp5147-mxc-v4l2/
About the changes in "arch/arm/mach-mx5/mx51_3stack.c":
The modified version of "mx51_3stack.c" is also uploaded in the SVN trunk.
You should check the differences with your own version of "mx51_3stack.c" and then replace it with our version or manually add our changes.
Basically, we:
About the changes in "drivers/media/video/mxc/capture/Makefile":
To compile our driver and add it to the kernel we added this lines to the file: "drivers/media/video/mxc/capture/Makefile"
#Added to include TVP5147 support:
tvp5147_tvin-objs := tvp5147.o
obj-$(CONFIG_MXC_TVIN_TVP5147) += tvp5147_tvin.o
About the changes in "drivers/media/video/mxc/capture/KConfig":
To make it available at the kernel menuconfig we added this lines to the file: "drivers/media/video/mxc/capture/KConfig"
config MXC_TVIN_TVP5147
tristate "Texas Instrument tvp5147 TV Decoder Input support"
depends on (MACH_MX35_3DS || MACH_MX51_3DS)
---help---
If you plan to use the tvp5147 video decoder with your MXC system, say Y here.