Hi, all:
Now we status is that. adv7282m->imx6d, MIPI input is 576i, vc = 1。
MIPI-CSI2 reg dump:
0x3130302a
0x0
0x1
0x1
0x1
0x300
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x2626
CSI2IPU reg dump:
0x4
IPU_CM reg dump:
imx-ipuv3 2400000.ipu: IPU_CONF = | 0xA0000006 |
imx-ipuv3 2400000.ipu: IPU_INT_CTRL_1 = | 0x80100000 |
imx-ipuv3 2400000.ipu: IPU_INT_STAT_1 = | 0x00000000 |
IPU_CSI reg dump:
imx-ipuv3 2400000.ipu: CSI1_SENS_CONF = | 0x02000A02 |
imx-ipuv3 2400000.ipu: CSI1_SENS_FRM_SIZE = | 0x027002CF |
imx-ipuv3 2400000.ipu: CSI1_ACT_FRM_SIZE = | 0x027002CF |
imx-ipuv3 2400000.ipu: CSI1_MIPI_DI = | 0xFFFFFF5E |
IPU_IC reg dump:
imx-ipuv3 2400000.ipu: 0x00000001
imx-ipuv3 2400000.ipu: 0x22BA2000
imx-ipuv3 2400000.ipu: 0x20002000
imx-ipuv3 2400000.ipu: 0x20002000
imx-ipuv3 2400000.ipu: 0x00000000
imx-ipuv3 2400000.ipu: 0x00000000
imx-ipuv3 2400000.ipu: 0x00000001
imx-ipuv3 2400000.ipu: 0x0000023F
imx-ipuv3 2400000.ipu: 0x000002CF
imx-ipuv3 2400000.ipu: 0x00000000
But, it is doesn't work anyway.
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!
-----------------------------------------------------------------------------------------------------------------------
Hi igor:
I also have problem, why the adi official adv7282m driver is doesn't work in freescale platform. Adi official declare that it is a standard interface driver.
seems this is high level driver, while it should be also supported by
low level (means from processor side - i.MX6 IPU/MIPI).
Hi igor:
Thanks!
I dump the debug information, but not found any information about drivers\media\video\mxc\capture\ipu_csi_enc.c. Is it means?