All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: sean@mess.org, hverkuil-cisco@xs4all.nl,
	mchehab+samsung@kernel.org, mchehab@kernel.org,
	sakari.ailus@linux.intel.com, linux-media@vger.kernel.org
Subject: Re: [PATCH] Minimal libv4l2 support for complex cameras
Date: Mon, 23 Mar 2020 15:52:48 +0200	[thread overview]
Message-ID: <20200323135248.GI4768@pendragon.ideasonboard.com> (raw)
In-Reply-To: <20200323131922.GA719@duo.ucw.cz>

Hi,

On Mon, Mar 23, 2020 at 02:19:23PM +0100, Pavel Machek wrote:
> > On Mon, Mar 23, 2020 at 01:22:17PM +0100, Pavel Machek wrote:
> > > > On Mon, Mar 23, 2020 at 12:47:27PM +0100, Pavel Machek wrote:
> > > >> Hi!
> > > >> 
> > > >> We now have easy-to-install support for complex camera in form of
> > > >> Maemo Leste on N900.... Unfortunately we don't have anything in
> > > >> userspace that can be used to work with the camera.
> > > >> 
> > > >> This attempts to be minimal solution to get libv4l2 to work.
> > > > 
> > > > libv4l2 is mostly deprecated. How about contributing an OMAP3 ISP
> > > > pipeline handler to libcamera instead ? :-)
> > > 
> > > Why should it be instead?
> > > 
> > > I need something for kernel testing, and there is ton of apps using
> > > it. Let me do this. libcamera might be future, but...
> > 
> > Sure, if it's useful for you, I won't prevent you from developing any
> > code you want :-) But there's very little chance of getting it merged,
> > and it would be useful to more people to have a support for that
> > platform in libcamera. It's really your decision, and I'm not blaming
> > you.
> 
> When you have libcamera ready, you'll still need some hardware and
> kernel to work with it. Do you have something more suitable than
> N9/N900? Droid 4 has separate CPU to run the camera, Librem 5 camera
> does not have autofocus (and I believe nor has PinePhone).

OMAP3 is great as a test bed for camera opinion. It's widely available,
has amazing documentation, and even though the hardware is aging a
little bit, it's still very decent and has a nice ISP. Even better,
there's good kernel support for it, so it's a really good platform in my
opinion. The only reason we don't support it yet in libcamera is lack of
spare time, I would really love to see that happening, and it would be
first-class citizen in the code base.

> My patch is not complex, and libv4l2 is full of similar hardware
> support code. What would be reason not to merge it?

It has to be reviewed and maintained. From a V4L2 community point of
view, I don't think it makes sense to invest time on a dying component
(I'm talking about libv4l2, not OMAP3). But from a personal point of
view, if you find libv4l2 useful to develop code for the OMAP3 and
experiment, I see no issue with that. If other reviewers and maintainers
of libv4l2 disagree and want to invest their time in this, I won't stop
them, but I wanted to warn that this is a dying project.

-- 
Regards,

Laurent Pinchart

  reply	other threads:[~2020-03-23 13:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-23 11:47 [PATCH] Minimal libv4l2 support for complex cameras Pavel Machek
2020-03-23 11:57 ` Laurent Pinchart
2020-03-23 12:22   ` Pavel Machek
2020-03-23 12:24     ` Laurent Pinchart
2020-03-23 12:59       ` Mauro Carvalho Chehab
2020-03-23 13:43         ` Laurent Pinchart
2020-03-23 13:19       ` Pavel Machek
2020-03-23 13:52         ` Laurent Pinchart [this message]
2020-04-14  9:11           ` 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=20200323135248.GI4768@pendragon.ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=hverkuil-cisco@xs4all.nl \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab+samsung@kernel.org \
    --cc=mchehab@kernel.org \
    --cc=pavel@ucw.cz \
    --cc=sakari.ailus@linux.intel.com \
    --cc=sean@mess.org \
    /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.