media: i2c: gc2053 output grbg bayer format

Optimize the stripe problem under strong light

Signed-off-by: Frank Liu <frank.liu@rock-chips.com>
Change-Id: Ia74dd4644518aaa7e12537771234f97de73bad80
This commit is contained in:
Frank Liu
2020-08-07 14:30:12 +08:00
committed by Tao Huang
parent 8d2597e064
commit 01b6dd0124

View File

@@ -36,7 +36,7 @@
#define DRIVER_VERSION KERNEL_VERSION(0, 0x01, 0x00)
#define GC2053_NAME "gc2053"
#define GC2053_MEDIA_BUS_FMT MEDIA_BUS_FMT_SBGGR10_1X10
#define GC2053_MEDIA_BUS_FMT MEDIA_BUS_FMT_SGRBG10_1X10
#define MIPI_FREQ_297M 297000000
#define GC2053_XVCLK_FREQ 24000000
@@ -210,7 +210,7 @@ static const struct regval gc2053_1920x1080_regs_2lane[] = {
{0x7c, 0x93},
{0x8c, 0x12},
{0x8d, 0x92},
{0x90, 0x01},
{0x90, 0x00},
{0x9d, 0x10},
{0xce, 0x7c},
{0xd2, 0x41},
@@ -218,7 +218,7 @@ static const struct regval gc2053_1920x1080_regs_2lane[] = {
{0xe6, 0x50},
/*gain*/
{0xb6, 0xc0},
{0xb0, 0x70},
{0xb0, 0x60},
{0xb1, 0x01},
{0xb2, 0x00},
{0xb3, 0x00},
@@ -238,8 +238,8 @@ static const struct regval gc2053_1920x1080_regs_2lane[] = {
{0x17, 0x78},
/*window*/
{0xfe, 0x01},
{0x92, 0x00},
{0x94, 0x03},
{0x92, 0x02},
{0x94, 0x02},
{0x95, 0x04},
{0x96, 0x38},
{0x97, 0x07},