[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241230-imx219_fixes-v5-0-98446d816489@ideasonboard.com>
Date: Mon, 30 Dec 2024 11:41:17 +0530
From: Jai Luthra <jai.luthra@...asonboard.com>
To: Dave Stevenson <dave.stevenson@...pberrypi.com>,
Sakari Ailus <sakari.ailus@...ux.intel.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>
Cc: linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
Jacopo Mondi <jacopo.mondi@...asonboard.com>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Jai Luthra <jai.luthra@...asonboard.com>,
David Plowman <david.plowman@...pberrypi.com>,
Naushir Patuck <naush@...pberrypi.com>, Vinay Varma <varmavinaym@...il.com>
Subject: [PATCH v5 0/5] media: i2c: imx219: Fixes for blanking, pixel rate
and binning
This series has a few fixes for improving h/v blanking, pixel rate
reporting and binning modes for the IMX219 sensor.
These patches are picked and modified (and squashed where applicable)
from the rpi-6.6.y vendor tree.
On top of those changes, this series also updates the minimum line
length to fix some issues seen when using analog binning with RAW10
format on higher resolutions (like 1640x1232).
Signed-off-by: Jai Luthra <jai.luthra@...asonboard.com>
---
Changes in v5:
- PATCH 2/5: Rename .vts_def to .fll_def
- PATCH 4/5: Don't change PLL multipliers, only update the minimum LLP
size
- PATCH 5/5: Update binned mode comments: s/30fps/60fps
- Link to v4: https://lore.kernel.org/r/20241226-imx219_fixes-v4-0-dd28383f06f7@ideasonboard.com
Changes in v4:
- Add PATCH 2/5 to rename VTS to FRM_LENGTH
- PATCH 3/5:
- Match macro names to datasheet (LINE_LENGTH instead of HTS/PPL)
- Improve comments in init_controls()
- Use prev_line_len instead of prev_hts
- Add PATCH 4/5 to update PLL settings that fix artefacts seen when
using analog binning with RAW10 mode
- PATCH 5/5:
- Use special "analog" binning for all resolutions and bitdepths,
simplifying the binning logic
- Don't store bin_h/bin_v in imx219 state, instead compute it
everytime it is needed using the crop and format.
- Link to v3: https://lore.kernel.org/r/20241125-imx219_fixes-v3-0-434fc0b541c8@ideasonboard.com
Changes in v3:
- PATCH 3/3: Calculate binning mode to use instead of hardcoding
per-resolution
- Link to v2: https://lore.kernel.org/r/20241121-imx219_fixes-v2-0-7b068a60ea40@ideasonboard.com
Changes in v2:
- PATCH 1/3: Add R-By from Jacopo, Dave
- PATCH 2/3:
- Keep IMX219_PPL_MIN macro value in hex, matching the datasheet
- Fix prev_hts calculation, by moving it before updating pad format
- PATCH 3/3:
- Store binning register values in enum binning_mode directly
- Remove unnecessary pixel_rate variable in imx219_init_controls()
- Link to v1: https://lore.kernel.org/r/20241029-imx219_fixes-v1-0-b45dc3658b4e@ideasonboard.com
---
Dave Stevenson (1):
media: i2c: imx219: make HBLANK r/w to allow longer exposures
David Plowman (1):
media: i2c: imx219: Correct the minimum vblanking value
Jai Luthra (3):
media: i2c: imx219: Rename VTS to FRM_LENGTH
media: i2c: imx219: Increase minimum LLP to fix blocky artefacts
media: i2c: imx219: Scale the pixel rate for analog binning
drivers/media/i2c/imx219.c | 208 +++++++++++++++++++++++++++------------------
1 file changed, 126 insertions(+), 82 deletions(-)
---
base-commit: 40384c840ea1944d7c5a392e8975ed088ecf0b37
change-id: 20241029-imx219_fixes-bfaac4a56200
Best regards,
--
Jai Luthra <jai.luthra@...asonboard.com>
Powered by blists - more mailing lists