Hi guanliang
IPU debug steps are described on p.115 presentation
https://community.freescale.com/docs/DOC-100482
As for adv7280:
1. the adv7280 should be enabled after mipi_csi2_reset().
2. For MIPI CSI input, the clock mode in IPU_CSI_SENS_CONF must be gated clock mode.
p->u.bt656.clock_curr = 1;
3. For interlaced input, IDMAC 0 should be set to interlaced mode:
"params.csi_mem.interlaced = true;" For progressive input, IDMAC 0 shoudl be
set to progressive mode: "params.csi_mem.interlaced = false;"
case IPU_CSI_CLK_MODE_GATED_CLK:
in file drivers\media\video\mxc\capture\ipu_csi_enc.c, function csi_enc_setup().
4. For device type:
adv7280_data.sen.pix.priv = 1; /* 1 is used to indicate TV in */
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------