From b936c045b36d8494f717c7b4e7d03e9d5471416e Mon Sep 17 00:00:00 2001 From: Zefa Chen Date: Tue, 12 Jan 2021 16:31:15 +0800 Subject: [PATCH] media: i2c: sc4232 fixed 2688x1520 linear 10bit to 25fps Signed-off-by: Zefa Chen Change-Id: I038b1543fecc656baadab3dd6cb6bfc7926acaa6 --- drivers/media/i2c/sc4238.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/media/i2c/sc4238.c b/drivers/media/i2c/sc4238.c index fdd1cee6b1bb..ebb973c40026 100644 --- a/drivers/media/i2c/sc4238.c +++ b/drivers/media/i2c/sc4238.c @@ -221,8 +221,8 @@ static const struct regval sc4238_linear10bit_2688x1520_regs[] = { {0x320b, 0xf0}, {0x320c, 0x05}, {0x320d, 0xa0}, - {0x320e, 0x06}, - {0x320f, 0x1a}, + {0x320e, 0x07}, + {0x320f, 0x52}, {0x3211, 0x04}, {0x3213, 0x04}, {0x3251, 0x88}, @@ -1355,11 +1355,11 @@ static const struct sc4238_mode supported_modes[] = { .height = 1520, .max_fps = { .numerator = 10000, - .denominator = 300000, + .denominator = 250000, }, .exp_def = 0x0600, .hts_def = 0x05A0 * 2, - .vts_def = 0x061A, + .vts_def = 0x0752, .reg_list = sc4238_linear10bit_2688x1520_regs, .hdr_mode = NO_HDR, .vc[PAD0] = V4L2_MBUS_CSI2_CHANNEL_0,