I have enabled pin 56 in A9X as a gpio pin and attempts to set it as output.
root@hub:/sys/class/gpio# echo 118 > export
sh: write error: Device or resource busy
Despite my best attempts, I seem to be unable to use this as a gpio pin.
I checked the GPIO reference sheet and it mentions on this specific pin:
"On efusA9x, if camera uses 10 bit resolution (pins 161-163), SPI_B (pins 54-56) can not be used. This is a hardware option"
We are currently not using pins 161-163, but I can't find a location in the imx6sx-pinfunc.h that references these 2 pins?
How do I make sure these 2 pins are disabled as default, so I can use pins 54 and 56 freely?