[SRU][N:linux-xilinx][PATCH v2 05/14] drivers: media: i2c: imx708: Fix crop information
Stewart Hore
stewart.hore at canonical.com
Sun Oct 19 04:15:26 UTC 2025
From: David Plowman <david.plowman at raspberrypi.com>
BugLink: https://bugs.launchpad.net/bugs/2127886
The 1536x864 mode contained incorrect crop information.
Signed-off-by: David Plowman <david.plowman at raspberrypi.com>
(cherry picked from commit fba3259ac75b02a28dd905c8c179a2ca0312768d rpi-6.6.y)
Signed-off-by: Juerg Haefliger <juerg.haefliger at canonical.com>
(cherry picked from commit 8671653e2d8cda3e6a0e2f2b3a0089fb0e73a70d noble:linux-raspi)
Signed-off-by: Stewart Hore <stewart.hore at canonical.com>
---
drivers/media/i2c/imx708.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/media/i2c/imx708.c b/drivers/media/i2c/imx708.c
index 49af75c1df36..0f8fad5d7b02 100644
--- a/drivers/media/i2c/imx708.c
+++ b/drivers/media/i2c/imx708.c
@@ -673,10 +673,10 @@ static const struct imx708_mode supported_modes_10bit_no_hdr[] = {
.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,
--
2.48.1
More information about the kernel-team
mailing list