Hi All,
On OMAP3530 camera ISP interface, there are VD0 and VD1 interrupts. These two interrupts are configured using ISPCCDC_VDINT register.
On 2.6.29 OMAP - ISP driver, the ISPCCDC_VDINT register configured as follows, (from ispccdc.c source)
isp_reg_writel((((ispccdc_obj.ccdcout_h - 25) &
ISPCCDC_VDINT_0_MASK) <<
ISPCCDC_VDINT_0_SHIFT) |
((50 & ISPCCDC_VDINT_1_MASK) <<
ISPCCDC_VDINT_1_SHIFT),
OMAP3_ISP_IOMEM_CCDC,
ISPCCDC_VDINT);
Can anybody please explains why 25 and 50 magic numbers are required here?.
Also please guide me on how VD0 and VD1 works based on the ISPCCDC_VDINT register? OR how to use either VD0 only or VD1 only in the ISP driver, so that the ISP driver can avoid the one extra interrupt?
Thanks in Advance.