tiny210 camera input through tvp5150

Pratik
hello, 
I am trying to take video input tvp5150.

Did anybody succeeded with this? 

I have tried with factory installed Android 4.

any  help in this regard will highly appreciated, 

thanks

Nitin
Have you ever worked with tvp5150?

Pratik
Yes,

Previously on OMAP3 board.
I think this camera is not well implemented in android 4,
I will downgrade to 2.3 and try it.
Yesterday I have tried with both NTSC and PAL camera, always got "Camera is
not responding"
still need to check kernel log...
:(

Nitin
First check for the tvp5150 driver in android 4 kernel. I don't think it
has driver for tvp5150. Even if you downgrade to 2.3, at first place you
should have the driver.

Pratik
Nitin,

Yes I have checked the driver is not there,

I have been trying to downgrade android2.3, but the procedure is very
different from previous friendlyarm boards.

I have to check for driver first and then recompile kernel if it is not
there.
:(

Pratik
I have a strange problem now for compiling tvp5150 driver in android
kernel,

I have added following line in kernel configuration file 
mini210_android_defconfig

CONFIG_VIDEO_TVP5150=y

then 

cp mini210_android_defconfig .config
make 

the driver or kernel module is not built, no tvp5150.o in driver source
directory, and also no CONFIG_VIDEO_TVP5150=y in .config file, even it does
not appear in make menuconfig

:(

Pratik
Attachment: 2012-03-23_13-31-10_812.jpg (394.55 KB)
I got it work by using latest kernel binary images from 3 march product dvd
, :)

PAL working fine, 
NTSC gives complete image with some distortions,



little frames drop is also there.:(

and image is reverse, (top part is showing in bottom)

Henry
Hello 
I am using Tiny210 board and I would like to manage video from analog input
. Where I can find little example code using tvp5150?

Thanks

David
Hello,

Pratik Did you use tvp5150 in omap3? I don't know how to use this with ARM
A8 Cortex (Texas Instruments AM3517) I configure tvp5150 in my i2c-2 bus.

static struct i2c_board_info __initdata i2c2_boardinfo[] = {
 /*Video Input */
 {
 I2C_BOARD_INFO("tvp5150", 0x5c),
 .type ="tvp5150"

 },

 };
 ...
 i2c_register_board_info(2, i2c2_boardinfo,
ARRAY_SIZE(dinitel_i2c2_boardinfo));

But I cant find the device in /dev. How can I acces to it? 

Thank you.