Hi Team,
Board used: imx6ulevk
Image : Custom build (using Yocto)
Kerne version: 4.9.11-1.0.0
I configured gpio3 14 GPIO as wakeup pin, i am able to put evk to suspend mode using the command
echo mem > /sys/power/state, also i am able to wake-up evk using the configured wake-up pin by giving (3.3v ) positive pulse. The actual requirement is to achieve wake-up using negative edge triggering (3.3v-0v) .
Note: By default gpio3 14 GPIO used as LCD DATA9 in dts i disabled this functionality and configured as wake-up pin.
Please sugest ASAP.
DTS changes made:
/* GPIO_Wakeup Pin configuration*/
gpio-keys {
compatible = "gpio-keys";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_gpio_keys>;
power {
label = "Wakeup Button";
gpios = <&gpio3 14 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WAKEUP>;
gpio-key,wakeup;
};
};
pinctrl_gpio_keys: gpio_keysgrp {
fsl,pins = <
/* Wakeup-Button powerctrl*/
MX6UL_PAD_LCD_DATA09__GPIO3_IO14 0x1b0b0
>;
};