Hi,

There is a interrupt line connected to GIO6 pin on DM355.

Whenever motion is detected the GIO6 pin is set High.

Below is what I have done to configure the GIO6 for interrupt.

ret = request_irq(IRQ_DM355_GPIO6, vpfe_motion_isr, SA_INTERRUPT,
              "dm355v4l2", (void *)&vpfe_device);

Do I need to do anything else to configure it as interrupt line?

Thanks,
Azam.

-- 
"Happiness keeps u Sweet, Trials keep u Strong, Sorrow keeps u Human,
Failure Keeps u Humble, Success keeps u Glowing, But only GOD Keeps u
Going....."
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to