Is there a default state (pulled-high, pulled-low, high-z) for pins setup as gpios on the mx6ul? Looking through the reference manual, I found (sect 26.4.2.1) that the gpio input:
"Receiver is tri-stated when I/O supply (OVDD) is powered down. (Keeper at receiver
output keeps its previous state)."
which would seem to indicate that the state is defined, but I realize that that the I/O supply may not necessarily be off in shutdown.
The real goal is to use standard momentary switch + pull-up resistor to drive both a gpio pin and separate, discrete logic. If the default state is open drain or as an input, I should be all set. If it is a driven output, some type of buffer would be needed in shutdown.
thanks!
Sam
MX6ul running Debian Jessie R01-3.14.52. and Linux version 3.14.52