linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Umang Jain <umang.jain@ideasonboard.com>
To: linux-media@vger.kernel.org
Cc: Alexander Shiyan <eagle.alexander923@gmail.com>,
	Sakari Ailus <sakari.ailus@linux.intel.com>,
	Kieran Bingham <kieran.bingham@ideasonboard.com>,
	open list <linux-kernel@vger.kernel.org>,
	Umang Jain <umang.jain@ideasonboard.com>
Subject: [PATCH v3 0/6] media: imx335: 2/4 lane ops and improvements
Date: Thu, 21 Mar 2024 16:42:33 +0530	[thread overview]
Message-ID: <20240321111239.808735-1-umang.jain@ideasonboard.com> (raw)

(Re-sending as previous time, I forgot to CC linux-media@, no wonder
I didn't receive any feedback on this series).

Another batch of improvements of the imx335 driver.

Patch 1/6 adds support for 2 or 4 lane operation modes.

Patch 2/6 call the V4L2 fwnode device parser to handle controls that are
standardised by the framework.

Patch 3/6 introduces the use of CCI for registers access.

Patch 4/5 uses decimal values for sizes registers (instead of
hexadecimal). This improves overall readability

Patch 5/6 fixes the height value discrepency. Accessible height is 1944,
as per the data sheet in all-pixel scan mode.

Patch 6/6 fixes the max analogue gain value.

changes in v3:
- fix patch 2/6 where we need to free ctrl handler
  on error path.

changes in v2:
- New patch 4/6
- Drop calculating the pixel clock from link freq.
- CCI register address sort (incremental)
- Fix cci_write for REG_HOLD handling and add a comment.
- Remove  unused macros as part of 3/6

Kieran Bingham (2):
  media: imx335: Support 2 or 4 lane operation modes
  media: imx335: Parse fwnode properties

Umang Jain (4):
  media: imx335: Use V4L2 CCI for accessing sensor registers
  media: imx335: Use integer values for size registers
  media: imx335: Fix active area height discrepency
  media: imx335: Limit analogue gain value

 drivers/media/i2c/Kconfig  |   1 +
 drivers/media/i2c/imx335.c | 646 ++++++++++++++++++-------------------
 2 files changed, 310 insertions(+), 337 deletions(-)


base-commit: 54ee11761885407056f4ca60309739e2db6b02dc
-- 
2.43.0


             reply	other threads:[~2024-03-21 11:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-21 11:12 Umang Jain [this message]
2024-03-21 11:12 ` [PATCH v3 1/6] media: imx335: Support 2 or 4 lane operation modes Umang Jain
2024-03-21 11:12 ` [PATCH v3 2/6] media: imx335: Parse fwnode properties Umang Jain
2024-03-22 14:44   ` Tommaso Merciai
2024-03-21 11:12 ` [PATCH v3 3/6] media: imx335: Use V4L2 CCI for accessing sensor registers Umang Jain
2024-03-21 11:12 ` [PATCH v3 4/6] media: imx335: Use integer values for size registers Umang Jain
2024-03-21 11:12 ` [PATCH v3 5/6] media: imx335: Fix active area height discrepency Umang Jain
2024-03-21 11:12 ` [PATCH v3 6/6] media: imx335: Limit analogue gain value Umang Jain

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=20240321111239.808735-1-umang.jain@ideasonboard.com \
    --to=umang.jain@ideasonboard.com \
    --cc=eagle.alexander923@gmail.com \
    --cc=kieran.bingham@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=sakari.ailus@linux.intel.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;
as well as URLs for NNTP newsgroup(s).