[meta-freescale] Wake up on gpio
Zhenhua Luo
zhenhua.luo at nxp.com
Wed Sep 12 02:23:50 PDT 2018
Hi Joris,
In order to use GPIO as wakeup source, you need to have a driver that actually setup and request the GPIO irq. The driver needs to use device_init_wakeup() API to setup as a wakeup device, and the wakeup irq needs to use irq_set_irq_wake() API to be enabled as wakeup irq during system suspend.
Best Regards,
Zhenhua
-----Original Message-----
From: meta-freescale-bounces at yoctoproject.org <meta-freescale-bounces at yoctoproject.org> On Behalf Of jorisoffouga
Sent: Friday, September 7, 2018 9:25 PM
To: meta-freescale Mailing List <meta-freescale at yoctoproject.org>
Subject: [meta-freescale] Wake up on gpio
Hi All,
I'm using a ls1012ardb and i want to make an awakening vi to gpio.
I would like to know how to carry out this action.
Thanks
Joris
--
_______________________________________________
meta-freescale mailing list
meta-freescale at yoctoproject.org
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fmeta-freescale&data=02%7C01%7Czhenhua.luo%40nxp.com%7Cedf32460c10f41c50b5c08d6155539ce%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636719853122698675&sdata=UYC2gu1xAMQHEFOold1e022KY6VgGx1m2vr6Wn9XXzg%3D&reserved=0
More information about the meta-freescale
mailing list