camera: rockchip: cif: modify sensor register setting
1.mirror gc2145. 2.fix gc2145&gc0329 frame rates. Change-Id: If4b0c8f11f30a3ae82bb530df7a5964a612542f5 Signed-off-by: Zhang Yunlong <dalon.zhang@rock-chips.com>
This commit is contained in:
parent
7563c28f83
commit
18cb8e2d64
2 changed files with 31 additions and 11 deletions
|
|
@ -458,10 +458,30 @@ static struct rk_sensor_reg sensor_init_data[] ={
|
|||
{0xa7, 0x00},
|
||||
|
||||
{0xfe, 0x00},
|
||||
////////////////////asde ///////////////////
|
||||
{0xa0, 0xaf},
|
||||
{0xa2, 0xff},
|
||||
|
||||
//////////////////// flicker ///////////////////
|
||||
{0x05, 0x02},
|
||||
{0x06, 0x2c},
|
||||
{0x07, 0x00},
|
||||
{0x08, 0xb8},
|
||||
|
||||
{0xfe, 0x01},
|
||||
{0x29, 0x00}, //anti-flicker step [11:8]
|
||||
{0x2a, 0x60}, //anti-flicker step [7:0]
|
||||
|
||||
{0x2b, 0x02}, //exp level 0 14.28fps
|
||||
{0x2c, 0xa0},
|
||||
{0x2d, 0x02}, //exp level 1 12.50fps
|
||||
{0x2e, 0xa0},
|
||||
{0x2f, 0x02}, //exp level 2 10.00fps
|
||||
{0x30, 0xa0},
|
||||
{0x31, 0x02}, //exp level 3 7.14fps
|
||||
{0x32, 0xa0},
|
||||
{0x33, 0x20},
|
||||
{0xfe, 0x00},
|
||||
////////////////////asde ///////////////////
|
||||
{0xa0, 0xaf},
|
||||
{0xa2, 0xff},
|
||||
|
||||
{0x44, 0xa2}, // YUV order
|
||||
|
||||
SensorEnd
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ static struct rk_sensor_reg sensor_init_data[] = {
|
|||
{0x0f, 0x06},
|
||||
{0x10, 0x52},
|
||||
{0x12, 0x2e},
|
||||
{0x17, 0x14}, //mirror
|
||||
{0x17, 0x17}, //mirror
|
||||
{0x18, 0x22},
|
||||
{0x19, 0x0e},
|
||||
{0x1a, 0x01},
|
||||
|
|
@ -810,12 +810,12 @@ static struct rk_sensor_reg sensor_init_data[] = {
|
|||
|
||||
{0x27, 0x04},
|
||||
{0x28, 0xe2}, //20fps
|
||||
{0x29, 0x07},
|
||||
{0x2a, 0xd0}, //14fps
|
||||
{0x2b, 0x09},
|
||||
{0x2c, 0xc4}, //12fps
|
||||
{0x2d, 0x0b},
|
||||
{0x2e, 0xb8}, //8fps
|
||||
{0x29, 0x04},
|
||||
{0x2a, 0xe2}, //14fps
|
||||
{0x2b, 0x04},
|
||||
{0x2c, 0xe2}, //12fps
|
||||
{0x2d, 0x04},
|
||||
{0x2e, 0xe2}, //8fps
|
||||
{0xfe, 0x00},
|
||||
|
||||
//SENSORDB("GC2145_Sensor_SVGA"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue