hi all:
A problem has been troubled me some days, that is how to get correct data from CSI0 using bt1120 input . my bsp is L3.035._4.1.0
I follow the patch Patch to Support BT656 and BT1120 Output For i.MX6 BSP and patch sii9135.patch .
the program setting is follow:
printk(" clock_curr=mclk=%d lizb \n", ifparm.u.bt656.clock_curr);
if (ifparm.if_type == V4L2_IF_TYPE_BT1120_PROGRESSIVE_SDR){
csi_param.clk_mode = IPU_CSI_CLK_MODE_CCIR1120_PROGRESSIVE_SDR;
csi_param.data_width = IPU_CSI_DATA_WIDTH_8;
} else {
but the data is not correct . can anyone give me a hand? thanks.
I have some doubt if the next patch is needed for CSI (input) case - Patch to Support BT656 and BT1120 Output For i.MX6 BSP
As for "patch sii9135.patch" -
do You mean using recommendations of the next thread ?
Re: Support BT1120 progressive mode in Mx6Q
If so, pin mapping is 16-bit as following :
CSIx_DAT2 ~ CSIx_DAT9 <----> C[0] ~ C[7],
CSIx_DAT12 ~ CSIx_DAT19 <----> Y[0] ~ Y[7].
In Your case - looks like 8-bit data bus is applied.
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
is that correct ?
Yes - correct.
~Yuri
think you for your reply !
I try a lot of way to get data ,but not get success . I patch the patch - Patch to Support BT656 and BT1120 Output For i.MX6 BSP ,but i do not know it is useful.
and I also reference the patch Re: Support BT1120 progressive mode in Mx6Q .
my programme setting is :
if (ifparm.if_type == V4L2_IF_TYPE_BT1120_PROGRESSIVE_SDR){
csi_param.clk_mode = IPU_CSI_CLK_MODE_CCIR1120_PROGRESSIVE_SDR;
// csi_param.clk_mode = IPU_CSI_CLK_MODE_GATED_CLK;
csi_param.data_width = IPU_CSI_DATA_WIDTH_8;