IPU1 parrallel port in i.MX6 dual lite is not working

Yocto related software discussions are here

IPU1 parrallel port in i.MX6 dual lite is not working

Postby vinodmaverickr007 » Mon Nov 03, 2014 6:09 pm

Hi,

I am using the wanboard dual lite rev c1 board. My sensor is 8 bit and work on parallel interface. I want to capture the data from my sensor on IPU1 CSI0 parallel port. I have added my driver in source code. I am using the yocto 1.6 having the source code for dual lite rev A1. I have also commented some pins of bluetooth because they were configured as GPIO. Apart from adding the driver I have made the changes in Makefile as well as inKconfig file.

Below is the my implemetations; which I did in the device tree side:

v4l2_cap_0 {
compatible = "fsl,imx6q-v4l2-capture";
ipu_id = <0>;
csi_id = <0>;
mclk_source = <0>;
status = "okay";
};

finger_print: finger_module@18 {
compatible = "fsl,finger-print";
reg = <0x18>;
VDDIO-supply = <&reg_3p3v>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ipu1_2>;
clocks = <&clks 201>;
clock-names = "csi_mclk";
finger-gpio = <&gpio5 27 0>;
ipu_id = <0>;
csi_id = <0>;
mclk = <24000000>;
mclk_source = <0>;
};

pinctrl_ipu1_2: ipu1grp-2 { /* parallel camera */
fsl,pins = <
MX6QDL_PAD_CSI0_DAT12__IPU1_CSI0_DATA12 0x80000000
MX6QDL_PAD_CSI0_DAT13__IPU1_CSI0_DATA13 0x80000000
MX6QDL_PAD_CSI0_DAT14__IPU1_CSI0_DATA14 0x80000000
MX6QDL_PAD_CSI0_DAT15__IPU1_CSI0_DATA15 0x80000000
MX6QDL_PAD_CSI0_DAT16__IPU1_CSI0_DATA16 0x80000000
MX6QDL_PAD_CSI0_DAT17__IPU1_CSI0_DATA17 0x80000000
MX6QDL_PAD_CSI0_DAT18__IPU1_CSI0_DATA18 0x80000000
MX6QDL_PAD_CSI0_DAT19__IPU1_CSI0_DATA19 0x80000000
MX6QDL_PAD_CSI0_PIXCLK__IPU1_CSI0_PIXCLK 0x80000000
MX6QDL_PAD_CSI0_MCLK__IPU1_CSI0_HSYNC 0x80000000ve
MX6QDL_PAD_CSI0_VSYNC__IPU1_CSI0_VSYNC 0x80000000
>;
};

- /* GPIO used in Wandboard rev C1 */
- MX6QDL_PAD_CSI0_DAT14__GPIO6_IO00 0x0f0b0 /* WIFI_ON (reset, active low) */
- MX6QDL_PAD_CSI0_DAT13__GPIO5_IO31 0x0f0b0 /* GPIO5_IO31 (Wifi Power Enable) */
- MX6QDL_PAD_CSI0_VSYNC__GPIO5_IO21 0x80000000 /* BT_ON */
- MX6QDL_PAD_CSI0_DAT12__GPIO5_IO30 0x80000000 /* BT_WAKE */
- MX6QDL_PAD_CSI0_DATA_EN__GPIO5_IO20 0x80000000 /*BT_HOST_WAKE */
+ MX6QDL_PAD_CSI0_DAT9__GPIO5_IO27 0x80000000


But I am not getting any data. This is very crirical issue; so please reply ASAP.
vinodmaverickr007
 
Posts: 1
Joined: Mon Nov 03, 2014 5:52 pm

Return to Software - Yocto

Who is online

Users browsing this forum: No registered users and 3 guests