Message ID | 4875438356E7CA4A8F2145FCD3E61C0B15D3557D42@MEP-EXCH.meprolight.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Hi Alex, On Wednesday 25 May 2011 11:58:58 Alex Gershgorin wrote: > Hi Laurent, > > Unfortunately, at this point I have no Hardware platforms, but in the > next week we should get Zoom OMAP35 Torpedo evaluation kit > and then I can test it. > > I have already applied this patch on the last main line > Kernel version (2.6.39) and continue to work on the platform device for > Zoom OMAP35xx Torpedo. > > Thanks for this patch :-) You're welcome. Please let me know if it works for you when you'll receive the hardware. I will then push the patch to mainline.
Of course, in any case, you'll be the first who will know the results :-) Regards, Alex Gershgorin -----Original Message----- From: Laurent Pinchart [mailto:laurent.pinchart@ideasonboard.com] Sent: Wednesday, May 25, 2011 1:02 PM To: Alex Gershgorin Cc: 'Sakari Ailus'; Michael Jones; 'linux-media@vger.kernel.org'; 'agersh@rambler.ru' Subject: Re: FW: OMAP 3 ISP Hi Alex, On Wednesday 25 May 2011 11:58:58 Alex Gershgorin wrote: > Hi Laurent, > > Unfortunately, at this point I have no Hardware platforms, but in the > next week we should get Zoom OMAP35 Torpedo evaluation kit > and then I can test it. > > I have already applied this patch on the last main line > Kernel version (2.6.39) and continue to work on the platform device for > Zoom OMAP35xx Torpedo. > > Thanks for this patch :-) You're welcome. Please let me know if it works for you when you'll receive the hardware. I will then push the patch to mainline. -- Regards, Laurent Pinchart __________ Information from ESET NOD32 Antivirus, version of virus signature database 6149 (20110524) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 6150 (20110525) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Laurent, I recently got the Zoom OMAP35xx Torpedo and began testing OMAP3ISP. Currently I have a problem I can't solve. See Message from booting Kernel: Linux media interface: v0.10 Linux video capture interface: v2.00 omap3isp omap3isp: Revision 2.0 found omap-iommu omap-iommu.0: isp: version 1.1 isp_register_subdev_group: Unable to register subdev What could be the problem, why sub device can't pass a registration? Thanks, Alex Gershgorin -----Original Message----- From: Laurent Pinchart [mailto:laurent.pinchart@ideasonboard.com] Sent: Wednesday, May 25, 2011 1:02 PM To: Alex Gershgorin Cc: 'Sakari Ailus'; Michael Jones; 'linux-media@vger.kernel.org'; 'agersh@rambler.ru' Subject: Re: FW: OMAP 3 ISP Hi Alex, On Wednesday 25 May 2011 11:58:58 Alex Gershgorin wrote: > Hi Laurent, > > Unfortunately, at this point I have no Hardware platforms, but in the > next week we should get Zoom OMAP35 Torpedo evaluation kit > and then I can test it. > > I have already applied this patch on the last main line > Kernel version (2.6.39) and continue to work on the platform device for > Zoom OMAP35xx Torpedo. > > Thanks for this patch :-) You're welcome. Please let me know if it works for you when you'll receive the hardware. I will then push the patch to mainline. -- Regards, Laurent Pinchart __________ Information from ESET NOD32 Antivirus, version of virus signature database 6149 (20110524) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 6245 (20110627) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Alex, On Tuesday 28 June 2011 09:47:07 Alex Gershgorin wrote: > Hi Laurent, > > I recently got the Zoom OMAP35xx Torpedo and began testing OMAP3ISP. > Currently I have a problem I can't solve. > See Message from booting Kernel: > > Linux media interface: v0.10 > Linux video capture interface: v2.00 > omap3isp omap3isp: Revision 2.0 found > omap-iommu omap-iommu.0: isp: version 1.1 > isp_register_subdev_group: Unable to register subdev > > What could be the problem, why sub device can't pass a registration? This means the v4l2_i2c_new_subdev_board() failed. Do you have a driver for the subdev ? Does it get loaded ? Does its probe() function get called ?
diff --git a/drivers/media/video/omap3isp/isp.h b/drivers/media/video/omap3isp/isp.h index 2620c40..529e582 100644 --- a/drivers/media/video/omap3isp/isp.h +++ b/drivers/media/video/omap3isp/isp.h @@ -139,6 +139,10 @@ struct isp_reg { * 3 - CAMEXT[13:6] -> CAM[7:0] * @clk_pol: Pixel clock polarity * 0 - Non Inverted, 1 - Inverted + * @hs_pol: Horizontal synchronization polarity + * 0 - Active high, 1 - Active low + * @vs_pol: Vertical synchronization polarity + * 0 - Active high, 1 - Active low * @bridge: CCDC Bridge input control * ISPCTRL_PAR_BRIDGE_DISABLE - Disable * ISPCTRL_PAR_BRIDGE_LENDIAN - Little endian @@ -147,6 +151,8 @@ struct isp_reg { struct isp_parallel_platform_data { unsigned int data_lane_shift:2; unsigned int clk_pol:1; + unsigned int hs_pol:1; + unsigned int vs_pol:1; unsigned int bridge:4; }; diff --git a/drivers/media/video/omap3isp/ispccdc.c b/drivers/media/video/omap3isp/ispccdc.c index 39d501b..5e742b2 100644 --- a/drivers/media/video/omap3isp/ispccdc.c +++ b/drivers/media/video/omap3isp/ispccdc.c @@ -1148,6 +1148,8 @@ static void ccdc_configure(struct isp_ccdc_device *ccdc) omap3isp_configure_bridge(isp, ccdc->input, pdata, shift); ccdc->syncif.datsz = depth_out; + ccdc->syncif.hdpol = pdata ? pdata-> hs_pol : 0; + ccdc->syncif.vdpol = pdata ? pdata-> vs_pol : 0; ccdc_config_sync_if(ccdc, &ccdc->syncif); /* CCDC_PAD_SINK */ @@ -2257,8 +2259,6 @@ int omap3isp_ccdc_init(struct isp_device *isp) ccdc->syncif.fldout = 0; ccdc->syncif.fldpol = 0; ccdc->syncif.fldstat = 0; - ccdc->syncif.hdpol = 0; - ccdc->syncif.vdpol = 0; ccdc->clamp.oblen = 0; ccdc->clamp.dcsubval = 0;