Skip to content

media: v4l: Call s_stream() on VCM when it is called on the associated sensor

Hans de Goede linux-media llvm oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2media: v4l: Call s_stream() on VCM when it is called on the associated sensordrivers/media/v4l2-core/v4l2-async.c drivers/media/v4l2-core/v4l2-subdev.c include/media/v4l2-subdev.h+44 -64 replies
2/2media: i2c: Add driver for AD5823 VCMdrivers/media/i2c/Kconfig drivers/media/i2c/Makefile drivers/media/i2c/ad5823.c+317 -01 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] media: v4l: Call s_stream() on VCM when it is called on the associated sensor

Hi All,

The first patch in this series addresses a long standing issue with VCM device power-management where merely opening the /dev node causes the VCM to power on. This issue was recently brought up on the libcamera- devel list and this is my attempt at fixing this.

The second patch is a new VCM driver which I have had in my personal tree for quite a while now, but finishing it was blocked on the power-management issue. This new driver shows how VCM runtime-pm can work after patch 1.

Regards,

Hans

Hans de Goede (2):
media: v4l: Call s_stream() on VCM when it is called on the associated
sensor
media: i2c: Add driver for AD5823 VCM

 drivers/media/i2c/Kconfig             |   5 +
 drivers/media/i2c/Makefile            |   1 +
 drivers/media/i2c/ad5823.c            | 311 ++++++++++++++++++++++++++
 drivers/media/v4l2-core/v4l2-async.c  |  20 ++
 drivers/media/v4l2-core/v4l2-subdev.c |  28 ++-
 include/media/v4l2-subdev.h           |   2 +
 6 files changed, 361 insertions(+), 6 deletions(-)
 create mode 100644 drivers/media/i2c/ad5823.c
Signature · 1 line
2.46.0