Skip to content

media: i2c: imx334: support lower bandwidth mode

shravan kumar linux-arm-kernel linux-devicetree linux-media lkml 14 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v13 Latest1 patch 1 replyIn review
  2. v125 patches 2 repliesSuperseded
  3. v115 patches 9 repliesSuperseded
Earlier versions · 11
VersionPostedPatchesRepliesStatus
v10 posting 2/25 patches10 repliesSuperseded
v10 posting 1/25 patches2 repliesSuperseded
v94 patches5 repliesSuperseded
v84 patches6 repliesSuperseded
v75 patches3 repliesSuperseded
v65 patches1 replySuperseded
v56 patches7 repliesSuperseded
v41 patch8 repliesSuperseded
v31 patch2 repliesSuperseded
v21 patch0 repliesSuperseded
v11 patch6 repliesSuperseded

Changes in v13 from the cover letter

dropped 4 applied patches (ref link: https://git.linuxtv.org/mchehab/media-next.git/log/)

Patches in v13 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1media: i2c: imx334: update pixel, hblank and link frequencydrivers/media/i2c/imx334.c+48 -141 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v13 yet.

Read the v13 thread

Cover letter [PATCH v13 0/1] media: i2c: imx334: support lower bandwidth mode

From: Shravan Chippa <[email protected]>

Hi

This patch series is for imx334 sensor driver support for lower bandwidth

Some platforms may not be capable of supporting the bandwidth required for 12 bit or 3840x2160@60 resolutions.

Add support for dynamically selecting 10 bit and 1920x1080@30 resolutions.

V12 -> V13
dropped 4 applied patches (ref link: https://git.linuxtv.org/mchehab/media-next.git/log/)

patch 5 changes:
compilation error removed
updated hblank value while changing the modes

V11 -> V12
Update default link frequency from device tree max link frequency value.
Update init_cfg() function to update the link frequency menu_skip_mask value.

V10 -> V11
Changed veriable type int to unsigned int
Updated CC list

V10 -> V10
PATCH RESEND with updated CC list

V9 -> V10
Added new dt-binding patch
added support for handling multiple link-frequncy
minor changes on coding style

V8 -> V9
-Updated all array values with samall later to get unifamity in mode array values
-corrected hblank_min, hbalank, pix_clk for 1920x1080@30 updated according to link frequency
-corrected mutex use for imx334_get_format_code function -corrected the fmt->format.code value assinment
-in function imx334_get_format_code variable "i" value comparision corrected

V7 -> V8
-patch drop "mimx334-odify-link-frequency" as per the commnets linkfrquncy will be half of the line bandwidth

-changed 1920x1080@30 mode link frequency from (891000000Mbps) to (445500000Mbps). linkfrquncy will be half of the line bandwidth

V6 -> V7
Reloved: kernel test robot warning "drivers/media/i2c/imx334.c:767:15: warning: unused variable 'i' "

V5 -> V6
-Drop the dt-binding patch
-Optimize the code to avoid duplicating the lines
-Added proper mutex while imx334_mbus_codes array
-Modified Function __v4l2_ctrl_modify_range arguments as per the review commants
-Added hblank dummy set ctrl
-Removed Redundant comment
-corrected code alignment
-All commit msgs are re-written

V4 -> V5
-Added 5 more patchs as per the review comments witch has below updates -Updated 1782000000Mbps link frequency for 3840x2160@60 as per the mode values
-Updated 1782000000Mbps link frequency in dt-bindings also -Updated 3840x2160@60 mode array with default(reset) values

-Updated hblank __v4l2_ctrl_s_ctrl() to __v4l2_ctrl_modify_range()

-Current mode update only when we try to set V4L2_SUBDEV_FORMAT_ACTIVE -Added link frequency (891000000Mbps) and pixel rate (74250000) to 1920x1080@30 mode

-Updated commit message

V3 -> V4
- Make the 12 bit and 3840x2160 as default
- Set bus code SRGGB12 if set format fails

V2 -> V3
- Fixed the warning reported by kernel test robot

V1 -> V2
- Addressed the review comment given by Jacopo Mondi, Which has bug in imx334_enum_frame_size() loop function,
- Renamed array codes[] to imx334_mbus_codes[]

Shravan Chippa (1):
media: i2c: imx334: update pixel, hblank and link frequency

 drivers/media/i2c/imx334.c | 62 +++++++++++++++++++++++++++++---------
 1 file changed, 48 insertions(+), 14 deletions(-)
Signature · 1 line
2.34.1