Unfortunately is not trivial to add support to the TVP5151 video encoder to a given kernel.
The driver is not standalone since it depends on the Media Controller Framework infrastructure and the OMAP3 ISP driver.
Support for the TVP5151 are in the IGEP v2.6.35 and v2.6.37 kernels. You can take a look to these patches an try to backward port them:
b44f01cbc96e5ae05e6fca0a59310a730c5e8b00 omap3isp: ispccdc: Improve ISP CCDC ITU-R BT.656 data format capture
66651fb0b7f2be60b1b8d017b1de529cb933bebc omap3isp: ispvideo: Decouple next buffer obtaining from last buffer releasing
41a64677d7bc9884d1e580166098d0f7a49528dc omap3isp: isp: Re-enable ccdc vd1 IRQ
59bc544caec0a010aba88f1ab01ef49ec113ac3d omap3isp: Improve CCDC ISP driver to capture video in BT.656 data format.
04b566014e7afb648a57266b6ea1a03d1cd444fd tvp5150: Migrate to media-controller framework and add video format detection
2aa61f7123cf31ef079ffbfa8d9feaca5e2f61f2 v4l: Add private field to v4l2_mbus_framefmt
0b74b15a17f75c28ac7f8d9f04bb133088f748e8 tvp5150: Add video format registers configuration values
5b11fb6e3285fadf169c334e4ba86c3ca0730f48 tvp5150: Add constants for PAL and NTSC video standards
339f2aff629956a2f3ca8bfae6f569d3b4b6c7bd board-igep00x0: Change TVP5151 camera configuration
These patches are applied on top of the omap3isp and tvp5150 drivers. Since IGEP Android kernel is based on an v2.6.32, I don\\\'t know how mature the MCF, OMAP3 ISP and TVP5150 drivers are in this kernel. Probably it would be easy to forward port the one found in the v2.6.37 kernel.
Hope it helps,