All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Hans de Goede <hdegoede@redhat.com>, linux-media@vger.kernel.org
Subject: [PATCH 0/2] media: v4l: Call s_stream() on VCM when it is called on the associated sensor
Date: Sun,  1 Sep 2024 23:18:32 +0200	[thread overview]
Message-ID: <20240901211834.145186-1-hdegoede@redhat.com> (raw)

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

-- 
2.46.0


             reply	other threads:[~2024-09-01 21:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-01 21:18 Hans de Goede [this message]
2024-09-01 21:18 ` [PATCH 1/2] media: v4l: Call s_stream() on VCM when it is called on the associated sensor Hans de Goede
2024-09-01 21:28   ` Laurent Pinchart
2024-10-23 12:48     ` Hans de Goede
2024-10-23 15:02       ` Hans de Goede
2024-09-01 21:18 ` [PATCH 2/2] media: i2c: Add driver for AD5823 VCM Hans de Goede
2024-09-03 23:59   ` kernel test robot
2024-09-04 19:12     ` Hans de Goede
2024-09-04  3:25   ` kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240901211834.145186-1-hdegoede@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=sakari.ailus@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.