Skip to content

v4l2-async: add subnotifier registration for subdevices

Niklas Söderlund linux-media linux-renesas-soc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 4 repliesIn review

Changes in v2 from the cover letter

- Added a pre-patch which adds an error check which was previously in the new incremental async code but is more useful on its own.
- Added documentation to Documentation/media/kapi/v4l2-subdev.rst.
- Fixed data type of bool variable.
- Added call to lockdep_assert_held(), thanks Sakari.
- Fixed commit messages typo, thanks Sakari.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2v4l: async: check for v4l2_dev in v4l2_async_notifier_register()drivers/media/v4l2-core/v4l2-async.c+2 -12 replies
2/2v4l: async: add subnotifier registration for subdevicesDocumentation/media/kapi/v4l2-subdev.rst drivers/media/v4l2-core/v4l2-async.c include/media/v4l2-async.h+113 -172 replies

Reviews trailers per patch

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

PatchSakari AilusHans Verkuil
1/2A-b A-b
2/2A-b A-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/2] v4l2-async: add subnotifier registration for subdevices

From: Niklas Söderlund <[email protected]>

Hi,

This series enables incremental async find and bind of subdevices, please se patch 2/2 for a more detailed description.

This is tested on Renesas H3 and M3-W together with the Renesas CSI-2 and VIN Gen3 driver (posted separately). It is based on top of Sakaris pull request '[GIT PULL FOR v4.13] V4L2 fwnode support'. While this series do not require the fwnode support the code that makes us of this feature do.

Changes since v1:
- Added a pre-patch which adds an error check which was previously in the new incremental async code but is more useful on its own.
- Added documentation to Documentation/media/kapi/v4l2-subdev.rst.
- Fixed data type of bool variable.
- Added call to lockdep_assert_held(), thanks Sakari.
- Fixed commit messages typo, thanks Sakari.

Niklas Söderlund (2):
v4l: async: check for v4l2_dev in v4l2_async_notifier_register()
v4l: async: add subnotifier registration for subdevices

 Documentation/media/kapi/v4l2-subdev.rst | 20 +++++++
 drivers/media/v4l2-core/v4l2-async.c     | 91 +++++++++++++++++++++++++-------
 include/media/v4l2-async.h               | 22 ++++++++
 3 files changed, 115 insertions(+), 18 deletions(-)
Signature · 1 line
2.13.0