pull/32112/head
ZwX1616 2 years ago
parent 95c005d329
commit b20f016180
  1. 108
      system/camerad/sensors/os04c10_registers.h

@ -7,14 +7,14 @@ const struct i2c_random_wr_payload init_array_os04c10[] = {
{0x0103, 0x01},
// PLL
{0x0301, 0xe4},
{0x0301, 0x84},
{0x0303, 0x01},
{0x0305, 0xb6},
{0x0305, 0x61},
{0x0306, 0x01},
{0x0307, 0x17},
{0x0323, 0x04},
{0x0324, 0x01},
{0x0325, 0x62},
{0x0325, 0x7a},
{0x3012, 0x06},
{0x3013, 0x02},
@ -29,40 +29,40 @@ const struct i2c_random_wr_payload init_array_os04c10[] = {
{0x3660, 0x04},
{0x3666, 0xa5},
{0x3667, 0xa5},
{0x366a, 0x50},
{0x366a, 0x54},
{0x3673, 0x0d},
{0x3672, 0x0d},
{0x3671, 0x0d},
{0x3670, 0x0d},
{0x3685, 0x00},
{0x3685, 0x0a},
{0x3694, 0x0d},
{0x3693, 0x0d},
{0x3692, 0x0d},
{0x3691, 0x0d},
{0x3696, 0x4c},
{0x3697, 0x4c},
{0x3698, 0x40},
{0x3698, 0x00},
{0x3699, 0x80},
{0x369a, 0x18},
{0x369a, 0x80},
{0x369b, 0x1f},
{0x369c, 0x14},
{0x369c, 0x1f},
{0x369d, 0x80},
{0x369e, 0x40},
{0x369f, 0x21},
{0x36a0, 0x12},
{0x36a1, 0x5d},
{0x36a1, 0xdd},
{0x36a2, 0x66},
{0x370a, 0x02},
{0x370e, 0x0c},
{0x370a, 0x00},
{0x370e, 0x00},
{0x3710, 0x00},
{0x3713, 0x00},
{0x3713, 0x04},
{0x3725, 0x02},
{0x372a, 0x03},
{0x3738, 0xce},
{0x3748, 0x02},
{0x374a, 0x02},
{0x374c, 0x02},
{0x374e, 0x02},
{0x3748, 0x00},
{0x374a, 0x00},
{0x374c, 0x00},
{0x374e, 0x00},
{0x3756, 0x00},
{0x3757, 0x00},
{0x3767, 0x00},
@ -80,14 +80,15 @@ const struct i2c_random_wr_payload init_array_os04c10[] = {
{0x37ba, 0x03},
{0x37bb, 0x00},
{0x37bc, 0x04},
{0x37be, 0x08},
{0x37be, 0x26},
{0x37c4, 0x11},
{0x37c5, 0x80},
{0x37c6, 0x14},
{0x37c7, 0x08},
{0x37c7, 0xa8},
{0x37da, 0x11},
{0x381f, 0x08},
{0x3829, 0x03},
{0x3832, 0x00},
{0x3881, 0x00},
{0x3888, 0x04},
{0x388b, 0x00},
@ -109,7 +110,7 @@ const struct i2c_random_wr_payload init_array_os04c10[] = {
{0x4045, 0x7e},
{0x4047, 0x7e},
{0x4049, 0x7e},
{0x4090, 0x04},
{0x4090, 0x14},
{0x40b0, 0x00},
{0x40b1, 0x00},
{0x40b2, 0x00},
@ -127,7 +128,7 @@ const struct i2c_random_wr_payload init_array_os04c10[] = {
{0x4503, 0x00},
{0x4504, 0x06},
{0x4506, 0x00},
{0x4507, 0x47},
{0x4507, 0x57},
{0x4803, 0x00},
{0x480c, 0x32},
{0x480e, 0x04},
@ -137,7 +138,7 @@ const struct i2c_random_wr_payload init_array_os04c10[] = {
{0x4823, 0x3f},
{0x4825, 0x30},
{0x4833, 0x10},
{0x484b, 0x27},
{0x484b, 0x07},
{0x488b, 0x00},
{0x4d00, 0x04},
{0x4d01, 0xad},
@ -150,7 +151,7 @@ const struct i2c_random_wr_payload init_array_os04c10[] = {
{0x4e0d, 0x00},
// ISP
{0x5001, 0x09},
{0x5001, 0x00},
{0x5004, 0x00},
{0x5080, 0x04},
{0x5036, 0x80},
@ -171,52 +172,52 @@ const struct i2c_random_wr_payload init_array_os04c10[] = {
{0x301c, 0xf8},
{0x301e, 0xb4},
{0x301f, 0xf0},
{0x3022, 0x61},
{0x3022, 0x01},
{0x3109, 0xe7},
{0x3600, 0x00},
{0x3610, 0x65},
{0x3610, 0x75},
{0x3611, 0x85},
{0x3613, 0x3a},
{0x3615, 0x60},
{0x3621, 0xb0},
{0x3621, 0x90},
{0x3620, 0x0c},
{0x3629, 0x00},
{0x3661, 0x04},
{0x3664, 0x70},
{0x3665, 0x00},
{0x3681, 0xa6},
{0x3682, 0x53},
{0x3683, 0x2a},
{0x3684, 0x15},
{0x3681, 0x80},
{0x3682, 0x40},
{0x3683, 0x21},
{0x3684, 0x12},
{0x3700, 0x2a},
{0x3701, 0x12},
{0x3703, 0x28},
{0x3704, 0x0e},
{0x3706, 0x9d},
{0x3706, 0x4a},
{0x3709, 0x4a},
{0x370b, 0x48},
{0x370b, 0xa2},
{0x370c, 0x01},
{0x370f, 0x04},
{0x370f, 0x00},
{0x3714, 0x24},
{0x3716, 0x04},
{0x3716, 0x24},
{0x3719, 0x11},
{0x371a, 0x1e},
{0x3720, 0x00},
{0x3724, 0x13},
{0x373f, 0xb0},
{0x3741, 0x9d},
{0x3743, 0x9d},
{0x3745, 0x9d},
{0x3747, 0x9d},
{0x3749, 0x48},
{0x374b, 0x48},
{0x374d, 0x48},
{0x374f, 0x48},
{0x3741, 0x4a},
{0x3743, 0x4a},
{0x3745, 0x4a},
{0x3747, 0x4a},
{0x3749, 0xa2},
{0x374b, 0xa2},
{0x374d, 0xa2},
{0x374f, 0xa2},
{0x3755, 0x10},
{0x376c, 0x00},
{0x378d, 0x3c},
{0x3790, 0x01},
{0x3791, 0x01},
{0x378d, 0x30},
{0x3790, 0x4a},
{0x3791, 0xa2},
{0x3798, 0x40},
{0x379e, 0x00},
{0x379f, 0x04},
@ -262,12 +263,12 @@ const struct i2c_random_wr_payload init_array_os04c10[] = {
{0x3816, 0x01},
{0x3817, 0x01},
{0x380c, 0x08}, {0x380d, 0x5c}, // HTS
{0x380e, 0x09}, {0x380f, 0x38}, // VTS
{0x380c, 0x04}, {0x380d, 0x2e}, // HTS
{0x380e, 0x06}, {0x380f, 0x92}, // VTS
{0x3820, 0xb0},
{0x3821, 0x00},
{0x3880, 0x25},
{0x3821, 0x04},
{0x3880, 0x00},
{0x3882, 0x20},
{0x3c91, 0x0b},
{0x3c94, 0x45},
@ -275,20 +276,23 @@ const struct i2c_random_wr_payload init_array_os04c10[] = {
{0x3cae, 0x00},
{0x4000, 0xf3},
{0x4001, 0x60},
{0x4003, 0x80},
{0x4003, 0x40},
{0x4300, 0xff},
{0x4302, 0x0f},
{0x4305, 0x83},
{0x4305, 0x93},
{0x4505, 0x84},
{0x4809, 0x0e},
{0x480a, 0x04},
{0x4837, 0x15},
{0x4837, 0x14},
{0x4c00, 0x08},
{0x4c01, 0x08},
{0x4c04, 0x00},
{0x4c05, 0x00},
{0x5000, 0xf9},
{0x3822, 0x14},
// {0x0100, 0x01},
{0x320d, 0x00},
{0x3208, 0xa0},
// {0x3822, 0x14},
// initialize exposure
{0x3503, 0x88},

Loading…
Cancel
Save