I have an active-high LED connected to an AM335x running the 3.14 Linux kernel, and I'm having some issues with it in Standby mode.
Ideally, I'd like to latch the state of the LED when entering Standby, but currently the GPIO goes low. Checking the TRM, the Deepsleep0 power mode specifically mentions that the PD_PER power domain shuts down and that peripheral register data is cleared. However, the Standby mode doesn't mention any of this, and it actually says that the GPIO peripheral isn't even clock-gated, making me feel like it should have roughly the same behaviour in Standby mode as in Active mode.
I'm setting the GPIO through the sysfs interface, so I'm not sure if this plays into it at all. Is there something specific that needs to be done to continue driving a GPIO in Standby mode?