Files
openwrt-master/target/linux/bcm27xx/patches-6.6/950-1329-media-i2c-ov5647-Use-the-same-PLL-config-for-full-10.patch
domenico c06fb25d1f
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
Initial commit
2025-06-24 14:35:53 +02:00

54 lines
1.5 KiB
Diff

From 35e5c3d706cbe686e3468d9f24ae999212553893 Mon Sep 17 00:00:00 2001
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
Date: Tue, 15 Oct 2024 19:36:13 +0100
Subject: [PATCH 1329/1350] 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 <dave.stevenson@raspberrypi.com>
---
drivers/media/i2c/ov5647.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--- a/drivers/media/i2c/ov5647.c
+++ b/drivers/media/i2c/ov5647.c
@@ -253,7 +253,7 @@ static struct regval_list ov5647_2592x19
};
static struct regval_list ov5647_1080p30_10bpp[] = {
- {0x3036, 0x62},
+ {0x3036, 0x69},
{0x3821, 0x00},
{0x3820, 0x00},
{0x3612, 0x5b},
@@ -289,7 +289,7 @@ static struct regval_list ov5647_1080p30
};
static struct regval_list ov5647_2x2binned_10bpp[] = {
- {0x3036, 0x62},
+ {0x3036, 0x69},
{0x3821, 0x01},
{0x3820, 0x41},
{0x3612, 0x59},
@@ -397,7 +397,7 @@ static const struct ov5647_mode ov5647_m
.width = 1928,
.height = 1080,
},
- .pixel_rate = 81666700,
+ .pixel_rate = 87500000,
.hts = 2416,
.vts = 0x450,
.reg_list = ov5647_1080p30_10bpp,
@@ -418,7 +418,7 @@ static const struct ov5647_mode ov5647_m
.width = 2592,
.height = 1944,
},
- .pixel_rate = 81666700,
+ .pixel_rate = 87500000,
.hts = 1896,
.vts = 0x59b,
.reg_list = ov5647_2x2binned_10bpp,