Re: Missing MIPI IPU6 camera driver for Intel Alder Lake laptops

From: Laurent Pinchart
Date: Fri May 26 2023 - 07:13:08 EST

On Fri, May 26, 2023 at 03:51:36PM +0500, Muhammad Usama Anjum wrote:
> On 9/22/22 6:06 PM, Sakari Ailus wrote:
> > On Thu, Aug 11, 2022 at 05:02:40PM +0200, Greg KH wrote:
> >> On Thu, Aug 11, 2022 at 04:54:53PM +0300, Laurent Pinchart wrote:
> >>> For the time being, I agree with your recommendation to not buy these
> >>> devices if you care about camera support.
> >>
> >> I second this, don't buy these devices if the vendor is not willing to
> >> get their drivers upstreamed properly.
> >
> > I can now confirm that IPU6 driver upstreaming is now planned, with IPU6
> > input system driver to be upstreamed first. The intent is that we would
> > have patches for review on LMML around the end of the year.
> Is there any update on IPU6 driver? Probably it hasn't been sent upstream yet?

The IPU6 requires multiple drivers. The "easy" part (the IPU6 input
system) has been submitted to the linux-media mailing list (see [1]).
That driver will allow capturing raw frames from the camera sensors
(assuming drivers for the sensors in your particular device are
available). Another driver has also be submitted to setup the IVSC (a
chip present in some systems between the camera sensor and the IPU6),
see [2].

The hard part (the IPU6 processing system) will still take time, and
once a driver for that is available, the userspace implementation in
libcamera will also take time.


> > The processing system driver will need more work to replace the custom
> > interface. For a fully functional camera stack, also libcamera support for
> > IPU6 will be needed.
> >
> > I think I can say a major factor for why we're here is that the original
> > intent was to use a different interface for upstream but as we don't have
> > one yet and probably won't for quite some time, this doesn't really seem
> > like a viable option anymore.
> >
> > So I'm afraid I can't promise a quick fix but at the same time I can say
> > work is being done to address this.


Laurent Pinchart