Added i2c_adapter code