mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
media: i2c: gc5035 optimize drivers for cts issues
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com> Change-Id: I84f2cd30efe770ccedf3f43ee97e5062981ce603
This commit is contained in:
committed by
Tao Huang
parent
00ffc1d2b4
commit
8b82f490da
@@ -385,108 +385,6 @@ static const struct regval gc5035_global_regs[] = {
|
||||
*/
|
||||
static const struct regval gc5035_2592x1944_regs[] = {
|
||||
/* lane snap */
|
||||
{0xfc, 0x01},
|
||||
{0xf4, 0x40},
|
||||
{0xf5, 0xe9},
|
||||
{0xf6, 0x14},
|
||||
{0xf8, 0x49},
|
||||
{0xf9, 0x82},
|
||||
{0xfa, 0x00},
|
||||
{0xfc, 0x81},
|
||||
{0xfe, 0x00},
|
||||
{0x36, 0x01},
|
||||
{0xd3, 0x87},
|
||||
{0x36, 0x00},
|
||||
{0x33, 0x00},
|
||||
{0xfe, 0x03},
|
||||
{0x01, 0xe7},
|
||||
{0xf7, 0x01},
|
||||
{0xfc, 0x8f},
|
||||
{0xfc, 0x8f},
|
||||
{0xfc, 0x8e},
|
||||
{0xfe, 0x00},
|
||||
{0xee, 0x30},
|
||||
{0x87, 0x18},
|
||||
{0xfe, 0x01},
|
||||
{0x8c, 0x90},
|
||||
{0xfe, 0x00},
|
||||
|
||||
/*Analog & CISCTL*/
|
||||
{0xfe, 0x00},
|
||||
{0x05, 0x02},
|
||||
{0x06, 0xda},
|
||||
{0x9d, 0x0c},
|
||||
{0x09, 0x00},
|
||||
{0x0a, 0x04},
|
||||
{0x0b, 0x00},
|
||||
{0x0c, 0x03},
|
||||
{0x0d, 0x07},
|
||||
{0x0e, 0xa8},
|
||||
{0x0f, 0x0a},
|
||||
{0x10, 0x30},
|
||||
{0xd9, 0xc0},
|
||||
{0x21, 0x48},
|
||||
{0x29, 0x58},
|
||||
{0x44, 0x20},
|
||||
{0x4e, 0x1a},
|
||||
{0x8c, 0x1a},
|
||||
{0x91, 0x80},
|
||||
{0x92, 0x28},
|
||||
{0x93, 0x20},
|
||||
{0x95, 0xa0},
|
||||
{0x96, 0xe0},
|
||||
{0xd5, 0xfc},
|
||||
{0x97, 0x28},
|
||||
{0x1f, 0x11},
|
||||
{0xce, 0x98},
|
||||
{0xd0, 0xb2},
|
||||
{0xfe, 0x02},
|
||||
{0x14, 0x01},
|
||||
{0x15, 0x02},
|
||||
{0x91, 0x00},
|
||||
{0x92, 0x00},
|
||||
{0xfe, 0x00},
|
||||
{0xfc, 0x88},
|
||||
{0xfe, 0x10},
|
||||
{0xfe, 0x00},
|
||||
{0xfc, 0x8e},
|
||||
{0xfe, 0x00},
|
||||
{0xfe, 0x00},
|
||||
{0xfe, 0x00},
|
||||
{0xfc, 0x88},
|
||||
{0xfe, 0x10},
|
||||
{0xfe, 0x00},
|
||||
{0xfc, 0x8e},
|
||||
/*BLK*/
|
||||
{0xfe, 0x01},
|
||||
{0x49, 0x03},
|
||||
{0x4a, 0xff},
|
||||
{0x4b, 0xc0},
|
||||
/*anti_blooming*/
|
||||
{0xfe, 0x01},
|
||||
{0x4e, 0x3c},
|
||||
{0x44, 0x08},
|
||||
/*CROP*/
|
||||
{0xfe, 0x01},
|
||||
{0x91, 0x00},
|
||||
{0x92, 0x08},
|
||||
{0x93, 0x00},
|
||||
{0x94, 0x07},
|
||||
{0x95, 0x07},
|
||||
{0x96, 0x98},
|
||||
{0x97, 0x0a},
|
||||
{0x98, 0x20},
|
||||
{0x99, 0x00},
|
||||
/*MIPI*/
|
||||
{0xfe, 0x03},
|
||||
{0x02, 0x57},
|
||||
{0x22, 0x06},
|
||||
{0x26, 0x08},
|
||||
{0x29, 0x06},
|
||||
{0x2b, 0x08},
|
||||
{0xfe, 0x01},
|
||||
{0x8c, 0x10},
|
||||
{0xfe, 0x00},
|
||||
{REG_NULL, 0x00},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user