From febbe1ce4c774d4b0872a4c6ab49a7aa8061ba34 Mon Sep 17 00:00:00 2001 From: Shravan Chippa Date: Wed, 5 Mar 2025 10:44:41 +0530 Subject: [PATCH] media: i2c: imx334: update mode_3840x2160_regs array [ Upstream commit 35132d039c566b0e9d8e53f76f512b22607c2405 ] The 3840x2160 mode operates with the imx334 reset values. If we switch to other modes and then return to the 3840x2160 mode, it should function correctly. so updated the mode_3840x2160_regs array with the imx334 reset values. Signed-off-by: Shravan Chippa Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil Signed-off-by: Sasha Levin --- drivers/media/i2c/imx334.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/media/i2c/imx334.c b/drivers/media/i2c/imx334.c index af09aafeddf78..88ce5ec9c1822 100644 --- a/drivers/media/i2c/imx334.c +++ b/drivers/media/i2c/imx334.c @@ -168,6 +168,12 @@ static const struct imx334_reg mode_3840x2160_regs[] = { {0x302c, 0x3c}, {0x302e, 0x00}, {0x302f, 0x0f}, + {0x3074, 0xb0}, + {0x3075, 0x00}, + {0x308e, 0xb1}, + {0x308f, 0x00}, + {0x30d8, 0x20}, + {0x30d9, 0x12}, {0x3076, 0x70}, {0x3077, 0x08}, {0x3090, 0x70}, -- 2.47.3