AnsweredAssumed Answered

i.MX6 Quad funny behavior

Question asked by Seba Seba on Jan 11, 2017
Latest reply on Jan 17, 2017 by Seba Seba

Hello.

I am trying to add pinctrl in devicetree to use IPU2_CSI1. Code I have added in imx6qdl-hummingboard2.dtsi  file down below:

 

pinctrl_ipu1_4: ipu1grp-4{
fsl,pins =<  

/*two lines for testing purposes*/
                MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK 0x10
                MX6QDL_PAD_EIM_DA8__SRC_BOOT_CFG08 0x10

/* lines I need */
                MX6QDL_PAD_EIM_DA9__IPU2_CSI1_DATA00 0x400130b1
                MX6QDL_PAD_EIM_DA8__IPU2_CSI1_DATA01 0x400130b1                
                MX6QDL_PAD_EIM_DA7__IPU2_CSI1_DATA02 0x400130b1                
                MX6QDL_PAD_EIM_DA6__IPU2_CSI1_DATA03 0x400130b1            
                MX6QDL_PAD_EIM_DA5__IPU2_CSI1_DATA04 0x400130b1                
                MX6QDL_PAD_EIM_DA4__IPU2_CSI1_DATA05 0x400130b1                
                MX6QDL_PAD_EIM_DA3__IPU2_CSI1_DATA06 0x400130b1            
                MX6QDL_PAD_EIM_DA2__IPU2_CSI1_DATA07 0x400130b1                
                MX6QDL_PAD_EIM_A16__IPU2_CSI1_PIXCLK 0x400130b1                
                MX6QDL_PAD_EIM_DA11__IPU2_CSI1_HSYNC 0x400130b1                
                MX6QDL_PAD_EIM_DA12__IPU2_CSI1_VSYNC 0x400130b1
                >;

};

 

The funny thing is that "sudo make dtbs" returns succes when I have got  only MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK or MX6QDL_PAD_EIM_DA8__SRC_BOOT_CFG08 in my code BUT when I use what I need: MX6QDL_PAD_EIM_DA9__IPU2_CSI1_DATA00 or else

"sudo make dtbs" gives me SYNTAX ERROR even if I copy and paste it from imx6q-pinfunc.h.

 

What is going on ?? What I miss ?? it took me some days already but i didn't find any answer

Outcomes