Re: [meta-freescale] Wake up on gpio

2018-09-12 Thread Zhenhua Luo
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-boun...@yoctoproject.org 
 On Behalf Of jorisoffouga
Sent: Friday, September 7, 2018 9:25 PM
To: meta-freescale Mailing List 
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@yoctoproject.org
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fmeta-freescaledata=02%7C01%7Czhenhua.luo%40nxp.com%7Cedf32460c10f41c50b5c08d6155539ce%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636719853122698675sdata=UYC2gu1xAMQHEFOold1e022KY6VgGx1m2vr6Wn9XXzg%3Dreserved=0
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] Wake up on gpio

2018-09-08 Thread jorisoffouga

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@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale