/* Turn mipi sensor into sleep mode through I2C.  */
static void i2c2_sensor_off(uint32_t i2c_base)
/* Turn mipi sensor into sleep mode through I2C.  */
static void i2c2_sensor_off(uint32_t i2c_base)
{
    mipi_sensor_write_reg(i2c_base, 0x3008, 0x42);
    mipi_sensor_write_reg(i2c_base, 0x3503, 0x7);
    mipi_sensor_write_reg(i2c_base, 0x483b, 0xff);
    mipi_sensor_write_reg(i2c_base, 0x3007, 0xf7);
}