Commit 8baf299c authored by Martin Kepplinger's avatar Martin Kepplinger
Browse files

hi846: disable lens shading correction

As Sebastian found, this helps with color errors we see. Let's disable
this since we don't use OTP yet in order to set gain based on the
OTP lens shading correction data.
parent 5e7d7535
Pipeline #68437 passed with stage
in 61 minutes and 23 seconds
...@@ -861,7 +861,7 @@ static const struct hi846_reg mode_640x480_config[] = { ...@@ -861,7 +861,7 @@ static const struct hi846_reg mode_640x480_config[] = {
{HI846_REG_UNKNOWN_021C, 0x0003}, {HI846_REG_UNKNOWN_021C, 0x0003},
{HI846_REG_UNKNOWN_021E, 0x0235}, {HI846_REG_UNKNOWN_021E, 0x0235},
{HI846_REG_ISP_EN_H, 0x017A}, {HI846_REG_ISP_EN_H, 0x016A},
{HI846_REG_UNKNOWN_0418, 0x0210}, {HI846_REG_UNKNOWN_0418, 0x0210},
{HI846_REG_UNKNOWN_0B02, 0xE04D}, {HI846_REG_UNKNOWN_0B02, 0xE04D},
{HI846_REG_UNKNOWN_0B10, 0x7021}, {HI846_REG_UNKNOWN_0B10, 0x7021},
...@@ -911,7 +911,7 @@ static const struct hi846_reg mode_1280x720_config[] = { ...@@ -911,7 +911,7 @@ static const struct hi846_reg mode_1280x720_config[] = {
{HI846_REG_UNKNOWN_021C, 0x0003}, {HI846_REG_UNKNOWN_021C, 0x0003},
{HI846_REG_UNKNOWN_021E, 0x0235}, {HI846_REG_UNKNOWN_021E, 0x0235},
{HI846_REG_ISP_EN_H, 0x017A}, {HI846_REG_ISP_EN_H, 0x016A},
{HI846_REG_UNKNOWN_0418, 0x0410}, {HI846_REG_UNKNOWN_0418, 0x0410},
{HI846_REG_UNKNOWN_0B02, 0xE04D}, {HI846_REG_UNKNOWN_0B02, 0xE04D},
{HI846_REG_UNKNOWN_0B10, 0x6C21}, {HI846_REG_UNKNOWN_0B10, 0x6C21},
...@@ -976,7 +976,7 @@ static const struct hi846_reg mode_1632x1224_config[] = { ...@@ -976,7 +976,7 @@ static const struct hi846_reg mode_1632x1224_config[] = {
{HI846_REG_X_OUTPUT_SIZE_H, 0x0660}, {HI846_REG_X_OUTPUT_SIZE_H, 0x0660},
{HI846_REG_Y_OUTPUT_SIZE_H, 0x04C8}, {HI846_REG_Y_OUTPUT_SIZE_H, 0x04C8},
{HI846_REG_EXPOSURE, 0x09D8}, {HI846_REG_EXPOSURE, 0x09D8},
{HI846_REG_ISP_EN_H, 0x017A}, {HI846_REG_ISP_EN_H, 0x016A},
/* For OTP */ /* For OTP */
{HI846_REG_UNKNOWN_021C, 0x0003}, {HI846_REG_UNKNOWN_021C, 0x0003},
...@@ -1050,7 +1050,7 @@ static const struct hi846_reg mode_3264x2448_config[] = { ...@@ -1050,7 +1050,7 @@ static const struct hi846_reg mode_3264x2448_config[] = {
{HI846_REG_UNKNOWN_021C, 0x0003}, {HI846_REG_UNKNOWN_021C, 0x0003},
{HI846_REG_UNKNOWN_021E, 0x0235}, {HI846_REG_UNKNOWN_021E, 0x0235},
{HI846_REG_ISP_EN_H, 0x015A}, {HI846_REG_ISP_EN_H, 0x014A},
{HI846_REG_UNKNOWN_0418, 0x0000}, {HI846_REG_UNKNOWN_0418, 0x0000},
{HI846_REG_UNKNOWN_0B02, 0xE04D}, {HI846_REG_UNKNOWN_0B02, 0xE04D},
{HI846_REG_UNKNOWN_0B10, 0x6821}, {HI846_REG_UNKNOWN_0B10, 0x6821},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment