Skip to content

Use INTEGER64 type for MEI CSI LINK_FREQ control

Sakari Ailus linux-media 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 5 repliesIn review
  2. v13 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- Add a new 64-bit integer control V4L2_CID_CUR_LINK_FREQ instead of re-using V4L2_CID_LINK_FREQ.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3media: Documentation: v4l: Add CUR_LINK_FREQ controlDocumentation/userspace-api/media/v4l/ext-ctrls-image-process.rst drivers/media/v4l2-core/v4l2-ctrls-defs.c include/uapi/linux/v4l2-controls.h+10 -00 replies
2/3media: v4l: Support obtaining link frequency from CUR_LINK_FREQ controldrivers/media/v4l2-core/v4l2-common.c+5 -10 replies
3/3media: ivsc: csi: Fix link frequency control behaviourdrivers/media/pci/intel/ivsc/mei_csi.c+7 -171 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchWentong Wu
1/3
2/3
3/3A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/3] Use INTEGER64 type for MEI CSI LINK_FREQ control

Hi folks,

An integer menu isn't a useful control type for conveying the frequency depending on an external device to the receiver. Instead, in the MEI CSI driver, just obtain the link frequency from the upsteam sub-device and pass it on to the receiver.

The v4l2_get_link_freq() is changed to add support for this and it's documented as well.

since v1:

- Add a new 64-bit integer control V4L2_CID_CUR_LINK_FREQ instead of re-using V4L2_CID_LINK_FREQ.

Sakari Ailus (3):
media: Documentation: v4l: Add CUR_LINK_FREQ control
media: v4l: Support obtaining link frequency from CUR_LINK_FREQ
control
media: ivsc: csi: Fix link frequency control behaviour

 .../media/v4l/ext-ctrls-image-process.rst     |  4 ++++
 drivers/media/pci/intel/ivsc/mei_csi.c        | 24 ++++++-------------
 drivers/media/v4l2-core/v4l2-common.c         |  6 ++++-
 drivers/media/v4l2-core/v4l2-ctrls-defs.c     |  5 ++++
 include/uapi/linux/v4l2-controls.h            |  1 +
 5 files changed, 22 insertions(+), 18 deletions(-)

base-commit: 6612d1ae37b52d37d1d515d7c5110b9f3afe94d2

Signature · 1 line
2.39.2