From: Gilles T. <gil...@gm...> - 2013-02-22 06:27:15
|
Hi Geoff, 2013/2/21 <ge...@th...>: > I just checked the boot messages and with the correct chip name "TVP5146" > it does change things. > > See: http://pastebin.com/Wu4ksYKT > > [ 2.486724] tvp5146: No platform data!! > [ 2.490905] isp_register_subdev_group: Unable to register subdev tvp5146 > > > Does that help to shed light on the problem? > > Thanks, > -Geoff This confirms that you are in the "probe" function of the TVP514x driver. Now, you are missing some information the driver needs ("No platform data!"). This platform data looks like this (defined in include/media/tvp514x.h): struct tvp514x_platform_data { /* Interface control params */ bool clk_polarity; bool hs_polarity; bool vs_polarity; }; You need to define this in "board-overo.c", this should look like (note that you need to set the right parameters there. this depends on your HW configuration) static struct tvp514x_platform_data tvp5146_pdata = { .clk_polarity = 0, .hs_polarity = 1, .vs_polarity = 1, }; static struct i2c_board_info tvp514x_i2c_device = { I2C_BOARD_INFO("tvp514x", TVP514x_I2C_ADDR), .platform_data = &tvp5146_pdata, }; I don't know if it will help getting rid of v4l2_subdev error, but it should help getting further in driver initialisation. Gilles. |