mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: shravan kumar <shravan.chippa@microchip.com>
To: <sakari.ailus@linux.intel.com>, <mchehab@kernel.org>
Cc: <kieran.bingham@ideasonboard.com>, <linux-media@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, <conor.dooley@microchip.com>,
	<valentina.fernandezalanis@microchip.com>,
	<praveen.kumar@microchip.com>, <shravan.chippa@microchip.com>
Subject: [PATCH V6 2/3] media: i2c: imx334: update mode_3840x2160_regs array
Date: Fri, 28 Feb 2025 16:03:31 +0530	[thread overview]
Message-ID: <20250228103332.3647098-3-shravan.chippa@microchip.com> (raw)
In-Reply-To: <20250228103332.3647098-1-shravan.chippa@microchip.com>

From: Shravan Chippa <shravan.chippa@microchip.com>

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 <shravan.chippa@microchip.com>
---
 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 a800f2203592..f80a8ce8f9c5 100644
--- a/drivers/media/i2c/imx334.c
+++ b/drivers/media/i2c/imx334.c
@@ -344,6 +344,12 @@ static const struct imx334_reg mode_3840x2160_regs[] = {
 	{0x302d, 0x00},
 	{0x302e, 0x00},
 	{0x302f, 0x0f},
+	{0x3074, 0xb0},
+	{0x3075, 0x00},
+	{0x308e, 0xb1},
+	{0x308f, 0x00},
+	{0x30d8, 0x20},
+	{0x30d9, 0x12},
 	{0x3076, 0x70},
 	{0x3077, 0x08},
 	{0x3090, 0x70},
-- 
2.34.1


  parent reply	other threads:[~2025-02-28 10:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-28 10:33 [PATCH V6 0/3] media: i2c: imx334: Add support for 1280x720 & 640x480 resolutions shravan kumar
2025-02-28 10:33 ` [PATCH V6 1/3] media: i2c: imx334: Optimized 4k and 2k mode register arrays shravan kumar
2025-02-28 11:48   ` Sakari Ailus
2025-03-01  0:56     ` Shravan.Chippa
2025-03-03  7:54       ` Sakari Ailus
2025-03-03  7:55         ` Sakari Ailus
2025-03-04  6:13           ` Shravan.Chippa
2025-02-28 10:33 ` shravan kumar [this message]
2025-02-28 10:33 ` [PATCH V6 3/3] media: i2c: imx334: add modes for 720p and 480p resolutions shravan kumar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250228103332.3647098-3-shravan.chippa@microchip.com \
    --to=shravan.chippa@microchip.com \
    --cc=conor.dooley@microchip.com \
    --cc=kieran.bingham@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=praveen.kumar@microchip.com \
    --cc=sakari.ailus@linux.intel.com \
    --cc=valentina.fernandezalanis@microchip.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®