mbox series

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

Message ID 20240901211834.145186-1-hdegoede@redhat.com
Headers show
Series media: v4l: Call s_stream() on VCM when it is called on the associated sensor | expand

Message

Hans de Goede Sept. 1, 2024, 9:18 p.m. UTC
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