File tree Expand file tree Collapse file tree 1 file changed +15
-8
lines changed Expand file tree Collapse file tree 1 file changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -548,6 +548,8 @@ static const struct imx477_reg mode_common_regs[] = {
548
548
{0xb21f , 0x04 },
549
549
{0xb35c , 0x00 },
550
550
{0xb35e , 0x08 },
551
+ {0x0112 , 0x0c },
552
+ {0x0113 , 0x0c },
551
553
{0x0114 , 0x01 },
552
554
{0x0350 , 0x00 },
553
555
{0xbcf1 , 0x02 },
@@ -556,8 +558,8 @@ static const struct imx477_reg mode_common_regs[] = {
556
558
557
559
/* 12 mpix 10fps */
558
560
static const struct imx477_reg mode_4056x3040_regs [] = {
559
- {0x0112 , 0x0c },
560
- {0x0113 , 0x0c },
561
+ {0x0342 , 0x5d },
562
+ {0x0343 , 0xc0 },
561
563
{0x0344 , 0x00 },
562
564
{0x0345 , 0x00 },
563
565
{0x0346 , 0x00 },
@@ -666,8 +668,8 @@ static const struct imx477_reg mode_4056x3040_regs[] = {
666
668
667
669
/* 2x2 binned. 40fps */
668
670
static const struct imx477_reg mode_2028x1520_regs [] = {
669
- {0x0112 , 0x0c },
670
- {0x0113 , 0x0c },
671
+ {0x0342 , 0x31 },
672
+ {0x0343 , 0xc4 },
671
673
{0x0344 , 0x00 },
672
674
{0x0345 , 0x00 },
673
675
{0x0346 , 0x00 },
@@ -765,8 +767,8 @@ static const struct imx477_reg mode_2028x1520_regs[] = {
765
767
766
768
/* 1080p cropped mode */
767
769
static const struct imx477_reg mode_2028x1080_regs [] = {
768
- {0x0112 , 0x0c },
769
- {0x0113 , 0x0c },
770
+ {0x0342 , 0x31 },
771
+ {0x0343 , 0xc4 },
770
772
{0x0344 , 0x00 },
771
773
{0x0345 , 0x00 },
772
774
{0x0346 , 0x01 },
@@ -864,8 +866,6 @@ static const struct imx477_reg mode_2028x1080_regs[] = {
864
866
865
867
/* 4x4 binned. 120fps */
866
868
static const struct imx477_reg mode_1332x990_regs [] = {
867
- {0x0112 , 0x0a },
868
- {0x0113 , 0x0a },
869
869
{0x420b , 0x01 },
870
870
{0x990c , 0x00 },
871
871
{0x990d , 0x08 },
@@ -878,6 +878,13 @@ static const struct imx477_reg mode_1332x990_regs[] = {
878
878
{0x9a4b , 0x06 },
879
879
{0x9a4c , 0x06 },
880
880
{0x9a4d , 0x06 },
881
+ {0x0112 , 0x0a },
882
+ {0x0113 , 0x0a },
883
+ {0x0114 , 0x01 },
884
+ {0x0342 , 0x1a },
885
+ {0x0343 , 0x08 },
886
+ {0x0340 , 0x04 },
887
+ {0x0341 , 0x1a },
881
888
{0x0344 , 0x00 },
882
889
{0x0345 , 0x00 },
883
890
{0x0346 , 0x02 },
You can’t perform that action at this time.
0 commit comments