On Tue, 19 Dec 2017 22:37:01 +0200 Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote: > On Tue, 2017-12-19 at 14:00 +0200, Sakari Ailus wrote: > > Cc Alan and Andy. > > > > On Sat, Dec 16, 2017 at 04:50:04PM +0100, Kristian Beilke wrote: > > > Dear all, > > > > > > I am trying to get the cameras in a Lenovo IdeaPad Miix 320 (Atom > > > x5-Z8350 BayTrail) to work. The front camera is an ov2680. With > > > kernel > > > 4.14.4 and 4.15rc3 I see the following dmesg output: > > It seems I forgot to send the rest of the patches I did while ago > against AtomISP code. > > It includes switch to normal DMI matching instead of the crap we have > there right now. The current code expects to be booted on an Android (or ex Android) tablet. In which case the various values are buried in the EFI as you'd expect. The Windows devices seem to use a mix of ACPI, hardcoding and plain magic in order to decide what hardware they have. > WRT to the messages below it seems we have no platform data for that > device. It needs to be added. Or we need to learn how to parse the ACPI data - except that at least on some devices the ACPI data is at least half fictional so it's not clear what the Windows driver really does. For CHT and maybe some BYT the Windows devices also use ACPI for the power management to drive the PMIC opregion and thus the PMIC power lines. > In any case, I have no firmware to test BayTrail hardware I have (MRD7). > > The driver claims it needs: > > Firmware file: shisp_2400b0_v21.bin > Version string: irci_stable_candrpv_0415_20150521_0458 > > What I have is: > > Version string: irci_stable_candrpv_0415_20150423_1753 > SHA1: 548d26a9b5daedbeb59a46ea1da69757d92cd4d6 shisp_2400b0_v21.bin I'll send you a copy: (unfortunately for non Intel people I've not managed to get enough people to care about this to get permission to put the firmware in the public repository ... yet.....) Alan