I'm working on a platform with a iMX28 that runs Linux. I would like to know if it's allowed to change the pinmux at runtime, while in the Linux.
My goal is to use a SPI port, program a device, then change those IO to GPIO after the programmation.
Can I do this? How?