On Wed, Feb 07, 2024 at 07:00:27AM +0000, Sakari Ailus wrote: > Hi folks, > > On Tue, Oct 24, 2023 at 07:29:09PM +0800, bingbu.cao@xxxxxxxxx wrote: > > From: Bingbu Cao <bingbu.cao@xxxxxxxxx> > > > > This patch series adds a driver for Intel IPU6 input system. > > IPU6 is the sixth generation of Imaging Processing Unit, it is a PCI > > device which can be found in some Intel Client Platforms. User can use > > IPU6 to capture images from MIPI camera sensors. > > > > IPU6 has its own firmware which exposes ABIs to driver, and communicates > > with CSE to do firmware authentication. IPU6 has its MMU hardware, so > > the driver sets up a page table to allow IPU6 DMA to access the system > > memory. > > > > IPU6 input system driver uses MC and V4L2 sub-device APIs besides V4L2. > > I've made some changes on top of this (besides some done by Bingbu). I've > pushed the current patches here > <URL:https://git.linuxtv.org/sailus/media_tree.git/log/?h=ipu6>. What's > changed: > > - CSI-2 port address calculation simplification. > > - Tested (and fixed) driver probing on a Dell XPS 9315 that has IVSC and > Linux camera description that ignores the IVSC. This works if the > intel-ipu6 driver is first removed and then re-probed. I'm not quite sure > why it doesn't re-probe on its own yet. I haven't tried streaming yet. > > - The patches are on top of the metadata set. If you want to try without, > just drop the metadata patches (and the last functional driver patch). It > might compile. I'll test this soon, too. > > So overall there's some progress but work remains to do. I'll post the IVSC > and ACPI patches after a little bit more testing. I've added further patches to the branch and dropped some... Capturing works now on Dell XPS 9315 with ov01a10 without issues (AFAICT), and that pipeline includes IVSC. I'm upstreaming the un-media patches to the respective trees so some of this is going to take a while to merged back to the media tree. I've also removed the massive number of extra links from the CSI-2 receiver subdevs and video nodes. This part remains untested though, the ov01a10 sensor doesn't have support for embedded data (!). Just FYI. -- Sakari Ailus