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: [email protected] <[email protected]> On Behalf Of jorisoffouga Sent: Friday, September 7, 2018 9:25 PM To: meta-freescale Mailing List <[email protected]> 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 [email protected] 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 -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
