Re: [PATCH v11 1/9] mfd: intel-lpss: add resource conflict quirk for Dell Latitude 5285

From: Andy Shevchenko

Date: Thu Oct 01 2026 - 03:05:55 EST


On Wed, Sep 30, 2026 at 02:43:13PM -0700, Thierry Chatard wrote:
> The Dell Latitude 5285 2-in-1 has a BIOS bug where the ACPI GEXP device
> and the I2C4 controller (INT3446) both claim the same MMIO region via the
> shared SB04 variable. This causes intel_lpss_acpi to fail binding to I2C4
> with -EBUSY, preventing the front camera (OV5670) sensor from being
> registered.
>
> Match the affected machine by DMI and the affected device by ACPI ID,
> carrying QUIRK_IGNORE_RESOURCE_CONFLICTS in the ACPI match data and
> applying it to the per-device info in probe. This follows the quirk
> organisation used by the PCI counterpart.

> Assisted-by: Claude Code:claude-opus-4-8

Assisted-by: LLM

...

> +/*
> + * Devices that need a quirk applied only on the machines matched by
> + * intel_lpss_quirk_dmi[] below. The quirk to apply is carried in the
> + * matching entry's driver_data.
> + */
> +static const struct acpi_device_id intel_lpss_acpi_quirk_ids[] = {
> + /* Dell Latitude 5285: ACPI GEXP device conflicts with I2C4 (INT3446) */
> + { "INT3446", QUIRK_IGNORE_RESOURCE_CONFLICTS },

While at it, please move to use C99 initialisers.

> + { }
> +};

--
With Best Regards,
Andy Shevchenko