AnsweredAssumed Answered

GPIO Line - Wakeup - Level Trigger

Question asked by ayana vincent on Jul 13, 2015
Latest reply on Aug 18, 2015 by ayana vincent



We are using custom board based on IMX6Q. We use Linux kernel imx_3.10.17_1.0.1_ga.


  We want to configure the 18th pin of GPIO bank 3 as wake input  in order to wake from suspend-to-RAM. Initially we chose edge triggered and we were able to do it (via SYSFS) and everything works fine. Now it turns out that we need to configure it as level triggered. The platform code has support for this (gpio_set_irq_type () in gpio-mxc.c). However, as we use gpiolib, we could only see the file, “edge”, in the SYSFS (/sys/class/gpio/gpio82/edge) and the possible values are “none”, “falling”, “rising” and “both” (gpiolib.c).


Could you please help us configure the GPIO line level trigger capable?



Ayana Vincent