This patch adds the i2c.c, i2c.h and i2c-registers.h files, which support access to I2C controller configuration register through a function interface.