Other Parts Discussed in Thread: AM3359, TPS65217, AM3354
I have a custom AM3359 platform running Linux (EZSDK) that I would like to use standby/RTC-only or some such variant. I am using the AM3359 in conjunction with TPS65217C. I want to be able to do the following:
1 - Wake on Power Button change (I have the WAKEUP pin from TPS65217 tied to the EXT_WAKEUP pin of the CPU)
2 - Wake on Touch screen press (I have touchscreen IRQ tied to gpio3_8, not using the tscadc in this case)
3 - Wake on some other gpio (I have two GPIO expanders that can generate IRQs on gpio1_16 and gpio3_20)
I am able to use the RTC shutdown code in the Linux kernel to power-down the TPS65217 to RTC-only mode, and the power button can boot up the system, but I want to wake from standby rather than a full restart. I've read the gpio0 is the only gpio capable of waking, unless we're using gpio_keys (which I'm not so I can have full user-space control of direction and value from sysfs).
Also, I tried following the wiki instructions to power down the system and wake from serial console, but this doesn't work properly...it causes a kernel fault when attempting to go to standby. I think one problem is that the GPIOs are all supplied by the 3.3V regulator which is shut down by the PMIC.
So, let's knock these out one by one? What does it take to put the system to standby and wake it up again using the EXT_WAKEUP pin?