|
@@ -390,7 +390,10 @@ static const struct ov5670_reg mode_2592x1944_regs[] = {
|
|
|
{0x5792, 0x00},
|
|
|
{0x5793, 0x52},
|
|
|
{0x5794, 0xa3},
|
|
|
- {0x3503, 0x00}
|
|
|
+ {0x3503, 0x00},
|
|
|
+ {0x5045, 0x05},
|
|
|
+ {0x4003, 0x40},
|
|
|
+ {0x5048, 0x40}
|
|
|
};
|
|
|
|
|
|
static const struct ov5670_reg mode_1296x972_regs[] = {
|
|
@@ -653,7 +656,10 @@ static const struct ov5670_reg mode_1296x972_regs[] = {
|
|
|
{0x5792, 0x00},
|
|
|
{0x5793, 0x52},
|
|
|
{0x5794, 0xa3},
|
|
|
- {0x3503, 0x00}
|
|
|
+ {0x3503, 0x00},
|
|
|
+ {0x5045, 0x05},
|
|
|
+ {0x4003, 0x40},
|
|
|
+ {0x5048, 0x40}
|
|
|
};
|
|
|
|
|
|
static const struct ov5670_reg mode_648x486_regs[] = {
|
|
@@ -916,7 +922,10 @@ static const struct ov5670_reg mode_648x486_regs[] = {
|
|
|
{0x5792, 0x00},
|
|
|
{0x5793, 0x52},
|
|
|
{0x5794, 0xa3},
|
|
|
- {0x3503, 0x00}
|
|
|
+ {0x3503, 0x00},
|
|
|
+ {0x5045, 0x05},
|
|
|
+ {0x4003, 0x40},
|
|
|
+ {0x5048, 0x40}
|
|
|
};
|
|
|
|
|
|
static const struct ov5670_reg mode_2560x1440_regs[] = {
|
|
@@ -1178,7 +1187,10 @@ static const struct ov5670_reg mode_2560x1440_regs[] = {
|
|
|
{0x5791, 0x06},
|
|
|
{0x5792, 0x00},
|
|
|
{0x5793, 0x52},
|
|
|
- {0x5794, 0xa3}
|
|
|
+ {0x5794, 0xa3},
|
|
|
+ {0x5045, 0x05},
|
|
|
+ {0x4003, 0x40},
|
|
|
+ {0x5048, 0x40}
|
|
|
};
|
|
|
|
|
|
static const struct ov5670_reg mode_1280x720_regs[] = {
|
|
@@ -1441,7 +1453,10 @@ static const struct ov5670_reg mode_1280x720_regs[] = {
|
|
|
{0x5792, 0x00},
|
|
|
{0x5793, 0x52},
|
|
|
{0x5794, 0xa3},
|
|
|
- {0x3503, 0x00}
|
|
|
+ {0x3503, 0x00},
|
|
|
+ {0x5045, 0x05},
|
|
|
+ {0x4003, 0x40},
|
|
|
+ {0x5048, 0x40}
|
|
|
};
|
|
|
|
|
|
static const struct ov5670_reg mode_640x360_regs[] = {
|
|
@@ -1704,7 +1719,10 @@ static const struct ov5670_reg mode_640x360_regs[] = {
|
|
|
{0x5792, 0x00},
|
|
|
{0x5793, 0x52},
|
|
|
{0x5794, 0xa3},
|
|
|
- {0x3503, 0x00}
|
|
|
+ {0x3503, 0x00},
|
|
|
+ {0x5045, 0x05},
|
|
|
+ {0x4003, 0x40},
|
|
|
+ {0x5048, 0x40}
|
|
|
};
|
|
|
|
|
|
static const char * const ov5670_test_pattern_menu[] = {
|