hi:
i am using CPI of omap4460 to capture hdmi video(720p@60fps) , the hdmi receive chip is adv7611. adv7611 convert the hdmi video to 16bits YUV 4:2:2 bits. in particular, the upper 8bits corresponds to Y component, and the lower 8bits corresponds to UV component. we probe the pin of adv7612 by scope, and find that it actually output the effective hs,vs and pclk of 720p@60fps.
as for the software setting of OMAP4 iss, the pipeline is adv7611 -> ipipeif -> ISIF ->ipipeif -> resizer, INPSRC1 (IPIPEIF_CFG[15:14) and INPSRC2(IPIPEIF_CFG[3:2]) are both set as zero, in addition, the INPUT_SEL (ISS_CTRL[3:2]) is set as 0x3(Parallel interface).
we can receive ISS level HS_VS_IRQ interrupt, but we cann't receive isp level interrupt, neither isif&ipipeif nor resizer interrupt occurs.
so, what is the problem? thanks
to assist the analysis, the register of omap4 iss is show as below:
omap4iss omap4iss: -------------RESIZER Register dump-------------
[ 688.799530] omap4iss omap4iss: ###RSZ SYSCONFIG=0x00000101
[ 688.799530] omap4iss omap4iss: ###RSZ IN_FIFO_CTRL=0x00000000
[ 688.799560] omap4iss omap4iss: ###RSZ FRACDIV=0x00000000
[ 688.799560] omap4iss omap4iss: ###RSZ SRC_EN=0x00000000
[ 688.799591] omap4iss omap4iss: ###RSZ SRC_MODE=0x00000000
[ 688.799591] omap4iss omap4iss: ###RSZ SRC_FMT0=0x00000001
[ 688.799591] omap4iss omap4iss: ###RSZ SRC_FMT1=0x00000000
[ 688.799621] omap4iss omap4iss: ###RSZ SRC_VPS=0x00000000
[ 688.799621] omap4iss omap4iss: ###RSZ SRC_VSZ=0x000002ce
[ 688.799652] omap4iss omap4iss: ###RSZ SRC_HPS=0x00000000
[ 688.799652] omap4iss omap4iss: ###RSZ SRC_HSZ=0x000004ff
[ 688.799682] omap4iss omap4iss: ###RSZ DMA_RZA=0x00000000
[ 688.799682] omap4iss omap4iss: ###RSZ DMA_RZB=0x00000000
[ 688.799713] omap4iss omap4iss: ###RSZ DMA_STA=0x00000000
[ 688.799713] omap4iss omap4iss: ###RSZ GCK_MMR=0x00000001
[ 688.799743] omap4iss omap4iss: ###RSZ GCK_SDR=0x00000001
[ 688.799743] omap4iss omap4iss: ###RSZ IRQ_RZA=0x00000000
[ 688.799774] omap4iss omap4iss: ###RSZ IRQ_RZB=0x00000000
[ 688.799774] omap4iss omap4iss: ###RSZ YUV_Y_MIN=0x00000000
[ 688.799804] omap4iss omap4iss: ###RSZ YUV_Y_MAX=0x000000ff
[ 688.799804] omap4iss omap4iss: ###RSZ YUV_C_MIN=0x00000000
[ 688.799835] omap4iss omap4iss: ###RSZ YUV_C_MAX=0x000000ff
[ 688.799835] omap4iss omap4iss: ###RSZ SEQ=0x00000000
[ 688.799835] omap4iss omap4iss: ###RZA EN=0x00000000
[ 688.799865] omap4iss omap4iss: ###RZA MODE=0x00000000
[ 688.799865] omap4iss omap4iss: ###RZA 420=0x00000003
[ 688.799896] omap4iss omap4iss: ###RZA I_VPS=0x00000000
[ 688.799896] omap4iss omap4iss: ###RZA I_HPS=0x00000000
[ 688.799926] omap4iss omap4iss: ###RZA O_VSZ=0x000002cf
[ 688.799926] omap4iss omap4iss: ###RZA O_HSZ=0x000004ff
[ 688.799957] omap4iss omap4iss: ###RZA V_PHS_Y=0x00000000
[ 688.799957] omap4iss omap4iss: ###RZA V_PHS_C=0x00000000
[ 688.799987] omap4iss omap4iss: ###RZA V_DIF=0x00000100
[ 688.799987] omap4iss omap4iss: ###RZA V_TYP=0x00000000
[ 688.800018] omap4iss omap4iss: ###RZA V_LPF=0x00000000
[ 688.800018] omap4iss omap4iss: ###RZA H_PHS=0x00000000
[ 688.800018] omap4iss omap4iss: ###RZA H_DIF=0x00000100
[ 688.800048] omap4iss omap4iss: ###RZA H_TYP=0x00000000
[ 688.800048] omap4iss omap4iss: ###RZA H_LPF=0x00000000
[ 688.800079] omap4iss omap4iss: ###RZA DWN_EN=0x00000000
[ 688.800079] omap4iss omap4iss: ###RZA SDR_Y_BAD_H=0x00000000
[ 688.800109] omap4iss omap4iss: ###RZA SDR_Y_BAD_L=0x00000000
[ 688.800109] omap4iss omap4iss: ###RZA SDR_Y_SAD_H=0x00000000
[ 688.800140] omap4iss omap4iss: ###RZA SDR_Y_SAD_L=0x00000000
[ 688.800140] omap4iss omap4iss: ###RZA SDR_Y_OFT=0x00000500
[ 688.800170] omap4iss omap4iss: ###RZA SDR_Y_PTR_S=0x00000000
[ 688.800170] omap4iss omap4iss: ###RZA SDR_Y_PTR_E=0x000002cf
[ 688.800201] omap4iss omap4iss: ###RZA SDR_C_BAD_H=0x00000000
[ 688.800201] omap4iss omap4iss: ###RZA SDR_C_BAD_L=0x00000000
[ 688.800231] omap4iss omap4iss: ###RZA SDR_C_SAD_H=0x00000000
[ 688.800231] omap4iss omap4iss: ###RZA SDR_C_SAD_L=0x00000000
[ 688.800262] omap4iss omap4iss: ###RZA SDR_C_OFT=0x00000500
[ 688.800262] omap4iss omap4iss: ###RZA SDR_C_PTR_S=0x00000000
[ 688.800292] omap4iss omap4iss: ###RZA SDR_C_PTR_E=0x000002cf
[ 688.800292] omap4iss omap4iss: -----------------------------------------------
[ 688.800323] yangjianjun media_entity(OMAP4 ISS ISP resizer) return 0 for s_stream operation
[ 688.800323] CPI input has been set
[ 688.800354] adv7611 ISIF_CCDCFG 0x0
[ 688.800354] adv7611 ISIF_REC656IF 0x2
[ 688.800384] omap4iss omap4iss: -------------IPIPEIF Register dump-------------
[ 688.800415] omap4iss omap4iss: ###IPIPEIF CFG1=0x00000000
[ 688.800415] omap4iss omap4iss: ###IPIPEIF CFG2=0x00000008
[ 688.800445] omap4iss omap4iss: ###ISIF SYNCEN=0x00000001
[ 688.800445] omap4iss omap4iss: ###ISIF CADU=0x00000000
[ 688.800445] omap4iss omap4iss: ###ISIF CADL=0x00000000
[ 688.800476] omap4iss omap4iss: ###ISIF MODESET=0x00001000
[ 688.800476] omap4iss omap4iss: ###ISIF CCOLP=0x00000000
[ 688.800506] omap4iss omap4iss: ###ISIF SPH=0x00000000
[ 688.800506] omap4iss omap4iss: ###ISIF LNH=0x000004ff
[ 688.800537] omap4iss omap4iss: ###ISIF LNV=0x000002cf
[ 688.800537] omap4iss omap4iss: ###ISIF VDINT0=0x000002cf
[ 688.800567] omap4iss omap4iss: ###ISIF HSIZE=0x00000000
[ 688.800567] omap4iss omap4iss: ###ISP5 SYSCONFIG=0x00000021
[ 688.800598] omap4iss omap4iss: ###ISP5 CTRL=0x0110d7f8
[ 688.800598] omap4iss omap4iss: ###ISP5 IRQSTATUS(0)=0x00000000
[ 688.800628] omap4iss omap4iss: ###ISP5 IRQENABLE_SET(0)=0x800c8001
[ 688.800628] omap4iss omap4iss: ###ISP5 IRQENABLE_CLR(0)=0x800c8001
[ 688.800659] omap4iss omap4iss: -----------------------------------------------
[ 688.800659] yangjianjun media_entity(OMAP4 ISS ISP IPIPEIF) return 0 for s_stream operation
[ 688.814636] adv7611 stream on succeed
[ 688.814666] adv7611 stream(on/off) ret is 0
[ 688.814666] yangjianjun media_entity(adv7611 3-004c) return 0 for s_stream operation
[ 688.815338] here is iss_isr
[ 688.815368] now we receive vs intr,iss status:20000,isp5_irqstaus:0
[ 689.149291] here is iss_isr
[ 689.149322] now we receive vs intr,iss status:20000,isp5_irqstaus:0
[ 689.483245] here is iss_isr
[ 689.483276] now we receive vs intr,iss status:20000,isp5_irqstaus:0