I know this question has been asked, I would like to set/read a pin on the TX53 module pin 153 which corresponds to GPIO2, which as I understand it can be configured as WEIM_A, DISP1_DAT, CSI1_D, BT_CFG1,
I have tried from user space using the Linux command line to export pin 90, and reading the value with command cat /sys/class/gpio/gpio90/value, the pin which is an input is floating high, and can easily be pulled down by say a 100k resistor. So I know it is an input, but it always reads as 0, so I am either not reading correct gpio port, or it is not configured. Without recompiling the Kernel, is it possible from application code to configure the pin and read the pins status?
There doesn't appear to be a step by step guide on doing this.
Any help would be welcome.