Skip to content

MT9M114 driver bugfix and improvements

Mathis Foerst linux-media lkml 8 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest2 patches 1 replyIn review
  2. v72 patches 1 replySuperseded
  3. v67 patches 6 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v57 patches4 repliesSuperseded
v46 patches8 repliesSuperseded
v36 patches2 repliesSuperseded
v27 patches1 replySuperseded
v18 patches14 repliesSuperseded

Changes in v8 from the cover letter

- Add missing braces in 1.
- Fix formatting issues as suggested in review.

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2media: mt9m114: Allow set_selection while streamingdrivers/media/i2c/mt9m114.c+30 -130 replies
2/2media: mt9m114: Set pad-slew-ratedrivers/media/i2c/mt9m114.c+23 -30 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchLaurent Pinchart
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v8 thread

Cover letter [PATCH v8 0/2] MT9M114 driver bugfix and improvements

Hi,

this patch series contains the following bugfix and improvements for the MT9M114 camera driver:

Changelog:

v7 -> v8:
- Add missing braces in 1.
- Fix formatting issues as suggested in review.

v6 -> v7:
- Remove already picked patches 1, 2, 3 and 6.
- Remove patch 4 as suggested in review.
- Fix formatting issues
- Return -EBUSY from mt9m114_pa_set_selection if the cropping size changes while in streaming state.

v5 -> v6:
- Add 'Reviewed-By:' tags. Sorry for forgetting this in the previous versions

v4 -> v5:
- Apply reformatings and small refactorings as suggested in review comments
- Split PATCH 4 into two parts: One for applying HFLIP / VFLIP while streaming, one for applying set_selection while streaming.
- Add condition to apply set_selection immediately only if the size of the cropping rectangle does not change in PATCH 5
- Use device_property_read_u32 instead of of_property_read_u32 in PATCH 7

v3 -> v4:
- Rename DT binding from "onnn,slew-rate" to "slew-rate" in PATCH 1 and 6 as requested in the review comment.

v2 -> v3:
- Dropped PATCH 2 ("media: mt9m114: Add get_mbus_config"). Based on the comments, this issure won't be fixed in the MT9M114 driver but in "imx-media-csi.c" in a separate patch.
- Renumbered patches accordingly.
- Fix the incomplete renaming of the DT property from 'pad-slew-rate' to 'onnn,slew-rate' in PATCH 1 and 6.
- Fix checkpatch formatting suggestions in PATCH 2 and 6.

v1 -> v2:
- Fix the subjects of the patches
- Dropped PATCH 1 ("Add bypass-pll DT-binding") as it can be automatically detected if the PLL should be bypassed.
- Renumbered patches accordingly
- Switch to uint32, add default value and clarify documentation in PATCH 1
- Add 'Fixes' and 'Cc' tags as suggested in PATCH 6

Link to v1 discussion:
https://lore.kernel.org/linux-media/[email protected]/
Link to v2 discussion:
https://lore.kernel.org/linux-media/[email protected]/
Link to v3 discussion:
https://lore.kernel.org/linux-media/[email protected]/
Link to v4 discussion:
https://lore.kernel.org/linux-media/[email protected]/

Bugfixes:
- Fix a deadlock when using the V4L2 pad-ops get/set_frame_interval

New Features:
- Bypass the internal PLL if EXTCLK matches the configured link_frequency
- Make the slew-rate of the output pads configurable via DT
- Allow to change the cropping configuration while the sensor is in streaming state

Thanks,
Mathis

Mathis Foerst (2):
media: mt9m114: Allow set_selection while streaming
media: mt9m114: Set pad-slew-rate

 drivers/media/i2c/mt9m114.c | 69 ++++++++++++++++++++++++++++---------
 1 file changed, 53 insertions(+), 16 deletions(-)

base-commit: a8598c7de1bcd94461ca54c972efa9b4ea501fb9

Signature · 1 line
2.34.1