AnsweredAssumed Answered

IMX6UL Change Pin Function

Question asked by Daniel Berhe on Jun 5, 2019
Latest reply on Jun 28, 2019 by JUN C

I have a custom IMX6UL board running Linux 4.14. I configured GPIO1_IO29 and GPIO1_IO28 for I2C in the device tree and all is working well with that. What I am struggling to figure out is how I can momentarily change the function of the I2C pins to GPIO without having to modify the device tree and recompiling the kernel. The I2C slave connected to my board sometimes requires a specific re-sync sequence that I can't achieve if the pins are in I2C mode. 


Any help would be appreciated.