Hi Robert,
There are some ways to change the pin functions on runtime from Linux. One option could be using the Memtool, which is already included in our BPSs; please refer to the following thread for additional details:
memtool for i.MX6DP processor
Other option could be use the Devregs. You could get additional details on the following Community document:
devregs - tool to display and modify a device's registers at runtime
Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------