Skip to content

Commit 35e5c3d

Browse files
6by9pelwell
authored andcommitted
media: i2c: ov5647: Use the same PLL config for full, 1080p, and binned modes
In order to simplify the driver slightly, use the same PLL configuration, and hence pixel rate and link frequency (to be added) for the full, 1080p, and binned modes. Signed-off-by: Dave Stevenson <[email protected]>
1 parent aef1e51 commit 35e5c3d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/media/i2c/ov5647.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ static struct regval_list ov5647_2592x1944_10bpp[] = {
253253
};
254254

255255
static struct regval_list ov5647_1080p30_10bpp[] = {
256-
{0x3036, 0x62},
256+
{0x3036, 0x69},
257257
{0x3821, 0x00},
258258
{0x3820, 0x00},
259259
{0x3612, 0x5b},
@@ -289,7 +289,7 @@ static struct regval_list ov5647_1080p30_10bpp[] = {
289289
};
290290

291291
static struct regval_list ov5647_2x2binned_10bpp[] = {
292-
{0x3036, 0x62},
292+
{0x3036, 0x69},
293293
{0x3821, 0x01},
294294
{0x3820, 0x41},
295295
{0x3612, 0x59},
@@ -397,7 +397,7 @@ static const struct ov5647_mode ov5647_modes[] = {
397397
.width = 1928,
398398
.height = 1080,
399399
},
400-
.pixel_rate = 81666700,
400+
.pixel_rate = 87500000,
401401
.hts = 2416,
402402
.vts = 0x450,
403403
.reg_list = ov5647_1080p30_10bpp,
@@ -418,7 +418,7 @@ static const struct ov5647_mode ov5647_modes[] = {
418418
.width = 2592,
419419
.height = 1944,
420420
},
421-
.pixel_rate = 81666700,
421+
.pixel_rate = 87500000,
422422
.hts = 1896,
423423
.vts = 0x59b,
424424
.reg_list = ov5647_2x2binned_10bpp,

0 commit comments

Comments
 (0)