add some i2c api