[PATCH v3 0/5] Enable cameras on Dell Latitude 5285 2-in-1

Thierry Chatard
2026-04-17T16:33:00Z

This series enables the front (OV5670/INT3479) and rear (OV8858/INT3477)
cameras on the Dell Latitude 5285 2-in-1 under Linux.

Changes since v2:
- Patch 2: Replaced the GNVS AML scanner (rejected) with a static clock
consumer list in int3472_tps68470_board_data. Adds n_clk_consumers and
clk_consumers fields to the struct; probe uses them when present instead
of for_each_acpi_consumer_dev(). All other platforms are unaffected.
- Patch 3: Adds dell_5285_clk_consumers[] (INT3477 + INT3479) and wires it
into the Dell 5285 board_data entry.
- Patches 1, 4, 5: Unchanged.

Background on the _DEP issue (patch 2):
The BIOS leaves GNVS field C0TP at zero, causing INT3479's _DEP to resolve
to PCI0 rather than the INT3472. As Hans noted, the i2c-INT3479:00 client
is created correctly by the ACPI+I2C core (PCI0 is available), so the device
itself is present. The only visible effect of the broken _DEP is that
for_each_acpi_consumer_dev() on INT3472 misses INT3479, and its clock
consumer lookup entry is never registered. The static clk_consumers list in
board_data fixes this directly. Tested without any GNVS modification: both
cameras are operational, confirming no ACPI table patching is needed.

Tested on Ubuntu 25.10, kernel 6.17.0-22-generic. Both cameras working in
Zoom, Chrome, and GNOME Camera via PipeWire.

Thierry Chatard (5):
platform/x86: intel_lpss: add resource conflict quirk for Dell Latitude 5285
platform/x86: int3472: tps68470: fix clock consumer registration for Dell Latitude 5285
platform/x86: int3472: tps68470: add board data for Dell Latitude 5285
media: ipu-bridge: add sensor configuration for OV8858 (INT3477)
media: ov8858: add ACPI device ID INT3477 and vsio power supply

drivers/clk/clk-tps68470.c | 2 +-
drivers/media/i2c/ov8858.c | 23 ++-
drivers/platform/x86/intel/int3472/tps68470.c | 35 +++--
drivers/platform/x86/intel/int3472/tps68470.h | 13 +-
drivers/platform/x86/intel/int3472/tps68470_board_data.c | 176 ++++++++++++++++++++++
drivers/platform/x86/intel/lpss/intel_lpss_acpi.c | 16 ++
media/ipu-bridge.c | 1 +
7 files changed, 254 insertions(+), 11 deletions(-)