|
|
Subscribe / Log in / New account

media: imx335: 2/4 lane ops and improvements

From:  Umang Jain <umang.jain-AT-ideasonboard.com>
To:  linux-media-AT-vger.kernel.org
Subject:  [PATCH v2 0/6] media: imx335: 2/4 lane ops and improvements
Date:  Fri, 08 Mar 2024 14:03:06 +0530
Message-ID:  <20240308083312.90279-1-umang.jain@ideasonboard.com>
Cc:  Alexander Shiyan <eagle.alexander923-AT-gmail.com>, Kieran Bingham <kieran.bingham-AT-ideasonboard.com>, Sakari Ailus <sakari.ailus-AT-linux.intel.com>, open list <linux-kernel-AT-vger.kernel.org>, Dave Stevenson <dave.stevenson-AT-raspberrypi.com>, Umang Jain <umang.jain-AT-ideasonboard.com>
Archive-link:  Article

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 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 | 634 ++++++++++++++++++-------------------
 2 files changed, 303 insertions(+), 332 deletions(-)

-- 
2.43.0




Copyright © 2024, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds