Files
openwrt-master/target/linux/bcm27xx/patches-6.6/950-0411-drivers-media-i2c-imx708-Fix-crop-information.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

30 lines
930 B
Diff

From 299a233b6dae541af603b668632116c1e4a5e54d Mon Sep 17 00:00:00 2001
From: David Plowman <david.plowman@raspberrypi.com>
Date: Tue, 10 Jan 2023 13:14:27 +0000
Subject: [PATCH 0411/1085] drivers: media: i2c: imx708: Fix crop information
The 1536x864 mode contained incorrect crop information.
Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
---
drivers/media/i2c/imx708.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--- a/drivers/media/i2c/imx708.c
+++ b/drivers/media/i2c/imx708.c
@@ -673,10 +673,10 @@ static const struct imx708_mode supporte
.height = 864,
.line_length_pix = 0x1460,
.crop = {
- .left = IMX708_PIXEL_ARRAY_LEFT,
- .top = IMX708_PIXEL_ARRAY_TOP,
- .width = 4608,
- .height = 2592,
+ .left = IMX708_PIXEL_ARRAY_LEFT + 768,
+ .top = IMX708_PIXEL_ARRAY_TOP + 432,
+ .width = 3072,
+ .height = 1728,
},
.vblank_min = 40,
.vblank_default = 2755,