I'm working with a i.MX6UL+Linux and configuring GPIO via /sys/class/gpio... If I configure a GPIO as an output, the only way I can read back the value (cat /sys/class/gpio/gpioX/value) seems to be to set the SION bit, otherwise its always 0. Is this correct, or am I missing something?
Additionally, how does one set the SION bit in Device Tree files? (Thus far, I've just been setting it manually to test using devmem2).