public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Dave Stevenson <dave.stevenson@raspberrypi.com>
Cc: "Linux Media Mailing List" <linux-media@vger.kernel.org>,
	"Sakari Ailus" <sakari.ailus@linux.intel.com>,
	"Kieran Bingham" <kieran.bingham@ideasonboard.com>,
	"Nicolas Dufresne" <nicolas@ndufresne.ca>,
	"Benjamin Gaignard" <benjamin.gaignard@collabora.com>,
	"Hidenori Kobayashi" <hidenorik@chromium.org>,
	"Paul Kocialkowski" <paul.kocialkowski@bootlin.com>,
	"Michael Olbrich" <m.olbrich@pengutronix.de>,
	"Ricardo Ribalda" <ribalda@chromium.org>,
	"Maxime Ripard" <maxime@cerno.tech>,
	"Daniel Scally" <djrscally@gmail.com>,
	"Jernej Škrabec" <jernej.skrabec@gmail.com>,
	"Niklas Söderlund" <niklas.soderlund@ragnatech.se>,
	"Michael Tretter" <m.tretter@pengutronix.de>,
	"Hans Verkuil" <hverkuil@xs4all.nl>,
	"Philipp Zabel" <p.zabel@pengutronix.de>,
	"Mauro Carvalho Chehab" <mchehab@kernel.org>,
	"Benjamin MUGNIER" <benjamin.mugnier@foss.st.com>,
	"Jacopo Mondi" <jacopo@jmondi.org>
Subject: Re: [Media Summit] Imaging Sensor functionality
Date: Wed, 7 Sep 2022 03:41:47 +0300	[thread overview]
Message-ID: <Yxfoyy9bP1HEv3JL@pendragon.ideasonboard.com> (raw)
In-Reply-To: <YxeJI8Fwf0ExkMTI@pendragon.ideasonboard.com>

Hi Dave,

On Tue, Sep 06, 2022 at 08:53:41PM +0300, Laurent Pinchart wrote:
> On Tue, Sep 06, 2022 at 05:14:30PM +0100, Dave Stevenson wrote:
> > Hi All.
> > 
> > I realise that I'm in a slightly different position from many mainline
> > Linux-media developers in that I see multiple use cases for the same
> > sensor, rather than a driver predominantly being for one
> > product/platform. I'm therefore wanting to look at generic solutions
> > and fully featured drivers. Users get to decide the use cases, not the
> > hardware designers.
> 
> Could you clarify here what you mean by users and hardware designers ?
> Users can be understood as
> 
> - Users of the camera sensor, i.e. OEMs designing a product
> - Users of the hardware platform , i.e. software developers writing
>   applications
> - Users of the software, i.e. end-users
> 
> Hardware designers could then equally mean
> 
> - Sensor vendors
> - SoC vendors
> - Board vendors
> - Product vendors
> 
> > The issues I've raised are things that I've encountered and would
> > benefit from a discussion to get views as to the direction that is
> > perceived to be workable. I appreciate that some can not be solved
> > immediately, but want to avoid too much bikeshedding in the first
> > round of patches.
> > What's realistic, and what pitfalls/limitations immediately jump out at people.
> > 
> > Slides are at https://drive.google.com/file/d/1vjYJjTNRL1P3j6G4Nx2ZpjFtTBTNdeFG/view?usp=sharing
> 
> Thank you, I will review that ASAP.

A few questions:

- Regarding the sensor synchronization, are you considering the trigger
  signal as signaling the beginning of exposure only, or also use cases
  where it controls the exposure duration ?

- For VCM ringing reduction and standardization of parameters, are there
  examples you could share to explain this in more details, with the
  type of parameters that need to be specified ?

And one comment. On slide 20/23, you wrote

  Likely to produce a load of boilerplate in all drivers. Abstract out
  an image sensor pinctrl helper?

I think we need more than that, we need a large helper for camera
sensors (in particular for raw sensors) that will bridge the large gap
between the sensor and the V4L2 subdev API. There's too much boilerplate
code already, and worse, different sensor drivers exposing the same
feature to userspace in different ways.

> > See you on Monday.

-- 
Regards,

Laurent Pinchart

  reply	other threads:[~2022-09-07  0:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-06 16:14 [Media Summit] Imaging Sensor functionality Dave Stevenson
2022-09-06 17:53 ` Laurent Pinchart
2022-09-07  0:41   ` Laurent Pinchart [this message]
2022-09-07 13:12     ` Dave Stevenson
2022-09-07 12:42   ` Dave Stevenson
2022-09-07 13:11     ` Laurent Pinchart
2022-09-10 12:50 ` Hans Verkuil
2022-09-10 16:17   ` Laurent Pinchart
2022-09-11  7:12     ` Hans Verkuil
2022-09-11  9:13       ` Laurent Pinchart
2022-09-11 10:17         ` Hans Verkuil

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=Yxfoyy9bP1HEv3JL@pendragon.ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=benjamin.gaignard@collabora.com \
    --cc=benjamin.mugnier@foss.st.com \
    --cc=dave.stevenson@raspberrypi.com \
    --cc=djrscally@gmail.com \
    --cc=hidenorik@chromium.org \
    --cc=hverkuil@xs4all.nl \
    --cc=jacopo@jmondi.org \
    --cc=jernej.skrabec@gmail.com \
    --cc=kieran.bingham@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=m.olbrich@pengutronix.de \
    --cc=m.tretter@pengutronix.de \
    --cc=maxime@cerno.tech \
    --cc=mchehab@kernel.org \
    --cc=nicolas@ndufresne.ca \
    --cc=niklas.soderlund@ragnatech.se \
    --cc=p.zabel@pengutronix.de \
    --cc=paul.kocialkowski@bootlin.com \
    --cc=ribalda@chromium.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox