mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
media: i2c: gc0329: update to 30fps
Change-Id: Ib156183ebba412b0f3b0003dea4de7afdf8cfbd9 Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
@@ -330,24 +330,24 @@ static const struct sensor_register gc0329_vga_regs_14fps[] = {
|
||||
{REG_NULL, 0x00},
|
||||
};
|
||||
|
||||
static const struct sensor_register gc0329_vga_regs_28fps[] = {
|
||||
/* flicker 28.5fps */
|
||||
static const struct sensor_register gc0329_vga_regs_30fps[] = {
|
||||
/* flicker 30fps */
|
||||
{0xfe, 0x00},
|
||||
{0x05, 0x00},
|
||||
{0x06, 0x6a},
|
||||
{0x06, 0x56},
|
||||
{0x07, 0x00},
|
||||
{0x08, 0x20},
|
||||
{0x08, 0x10},
|
||||
{0xfe, 0x01},
|
||||
{0x29, 0x00},
|
||||
{0x2a, 0x96},
|
||||
{0x2a, 0xa0},
|
||||
{0x2b, 0x01},
|
||||
{0x2c, 0xc2},
|
||||
{0x2c, 0xe0},
|
||||
{0x2d, 0x01},
|
||||
{0x2e, 0xc2},
|
||||
{0x2e, 0xe0},
|
||||
{0x2f, 0x01},
|
||||
{0x30, 0xc2},
|
||||
{0x30, 0xe0},
|
||||
{0x31, 0x01},
|
||||
{0x32, 0xc2},
|
||||
{0x32, 0xe0},
|
||||
{0x33, 0x20},
|
||||
{REG_NULL, 0x00},
|
||||
};
|
||||
@@ -362,8 +362,8 @@ static const struct gc0329_framesize gc0329_framesizes[] = {
|
||||
{
|
||||
.width = 640,
|
||||
.height = 480,
|
||||
.fps = 28,
|
||||
.regs = gc0329_vga_regs_28fps,
|
||||
.fps = 30,
|
||||
.regs = gc0329_vga_regs_30fps,
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user