From 2bb58a39f8dfc6920d0eb18762f4e2af921b8ab2 Mon Sep 17 00:00:00 2001 From: Nick Hollinghurst Date: Mon, 16 Jun 2025 11:41:50 +0100 Subject: [PATCH] media: i2c: Tweak default PDAF gain table in imx708 driver After analyzing more Raspberry Pi V3 cameras, adjust the default PDAF shield-pixel gain tables (they can still be overridden by camera OTP where programmed). Signed-off-by: Nick Hollinghurst --- drivers/media/i2c/imx708.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c/imx708.c b/drivers/media/i2c/imx708.c index 5232d3d0897213..03469721e11838 100644 --- a/drivers/media/i2c/imx708.c +++ b/drivers/media/i2c/imx708.c @@ -192,8 +192,8 @@ struct imx708_mode { /* Default PDAF pixel correction gains */ static const u8 pdaf_gains[2][9] = { - { 0x4c, 0x4c, 0x4c, 0x46, 0x3e, 0x38, 0x35, 0x35, 0x35 }, - { 0x35, 0x35, 0x35, 0x38, 0x3e, 0x46, 0x4c, 0x4c, 0x4c } + { 0x4c, 0x4c, 0x4c, 0x46, 0x3e, 0x39, 0x36, 0x36, 0x36 }, + { 0x36, 0x36, 0x36, 0x39, 0x3e, 0x46, 0x4c, 0x4c, 0x4c } }; /* Link frequency setup */