linux kernel - How to connect ov5642 camera module Pixel clock (8MHz) to imx6 quad -
i using i.mx6quad debian jessie (3.14.60-fslc-imx6-sr). i want co connect ov5642 camera module parallel 8bit interface (using 8gpios data , 3 control signals). wrote linux kernel module service interrupts control signals. interrupts vsync , href signals serviced when connect pclk (about 8mhz) signal faster href or vsync linux hangs untill disconnect wire pclk (everything stucks). connect pclk use gpio90 (disp1_data22) tried other gpios. now question gpio should use service such fast signals pclk or can avoid linux hang ups ?? i include linux kernel module code use. #include<linux/init.h> #include<linux/module.h> #include<linux/kernel.h> #include<linux/gpio.h> #include<linux/interrupt.h> static unsigned int vsync_gpio_number=79; static unsigned int href_gpio_number=76; static unsigned int pclk_gpio_number=90; static unsigned int vsync_irqnumber; static unsigned int href_irqnumber; static unsigned int pclk_irqnumber; static irq_handler_t vsync_...