IMX7D - I2C

Every Time we call the I2C Lib I2C3 pins and Alt_Functions change in (I2c_Open()

HKLM/Driver/BuiltIn/I2C/I2C3
I set I2C3
SclAF=0
SclPin=81
SdaAF=0
SdaPin=94
After we call I2C lib i2c the I2C3 registry entry becomes
SclAF=6
SclPin=140
SdaAF=6
SdaPin=142

Dear @Malc,

I cheked the the source of the iMX7 I2C library, and i see that on iMX7 we’re still using the i2c driver.
The library is only just a wrapper around the i2c driver.
Normally to select other pins in the library you just select the pins in the library by configuring the pins after I2c_Init() and before I2c_Open():

uIo ioScl = COLIBRI_PIN(81);
uIo ioSda = COLIBRI_PIN(94);
I2c_SetConfigInt(hI2c, TEXT("ioScl"), (DWORD)&ioScl);
I2c_SetConfigInt(hI2c, TEXT("ioSda"), (DWORD)&ioSda);