From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dl1-f43.google.com (mail-dl1-f43.google.com [74.125.82.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C20F2D46A1 for ; Fri, 17 Apr 2026 16:33:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776443582; cv=none; b=np6/YXZCR/fuNKRXb1mkCHfJjhgUWL+jKoKfIY5Udz/xrdtue0exFNdDWMg9UAvsdNaK0YMnNZKer1uxLBN4lnIyFTi4HiLzUlh+bKjkIxSPleZz/jJld0zcZOxQoV6X+Ee0e3qYTMHAfHJQLHdas7VmeRcnOqTG6mAtTBpq0BQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776443582; c=relaxed/simple; bh=J5OgcCFwnIrfrY1lDLbmiededcV0yPWST+7OK4/Q97s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=q5ojvyfFwqIZGcaAy6wuCVcUudVCpG9d2roqIqAtCkZs6a3r8Aml0biApgO/i0kKsgcDbrkvZnOhunNggaMx+Y+AULwAnNOTrQqayhCsj0WCRdFW7wE9/dO5CusJMebGf90g75xgoZrbZu1bFjqZLbAPpFF4KrAp3h/AcffmLLY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=DRycPtJy; arc=none smtp.client-ip=74.125.82.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DRycPtJy" Received: by mail-dl1-f43.google.com with SMTP id a92af1059eb24-12c080efc1eso1380983c88.0 for ; Fri, 17 Apr 2026 09:33:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1776443580; x=1777048380; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kC+iWM3xttVqCKTbazgg1uNec6BeUwe65zeKYKQox80=; b=DRycPtJykx3+fBjkLXoJUeVKLb3ZfEToqWVnwHvIiZbQrHOmqn/hyeOILH/yDG7O8F GJfNlgZEKlrHFpgi91jaf/obNPem5KxtX9zR/iCAgIE/xAXKVshF+RYMb8Gx2GYP7yjc UKz/CS8m2giS8fwfu3tjwyz3dPctsfZWnJ/LCJejj3GlsZ+rfQxTKH8HuJAZeiayVc5N NLCe3Afo+1Lz+OuBCQSYJpguXb56W0xnPNmeOFwTMs4WW96SIvCxYuIK+3+waOpEBPbz /m9a2QPSz8az3b4lOMiIbGoTsi78akBghxeYkuWsry+5JOs0xEirWV3mxpBAagPKEpT+ XDBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776443580; x=1777048380; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=kC+iWM3xttVqCKTbazgg1uNec6BeUwe65zeKYKQox80=; b=jfLjQSsWCWB//9QRk3J7nZNVCtN7rYc6DowCtk2c/UsS0LTEJ3AAVZMt1tcGjKHFui tL2NlcEUOkGAoUTuXTbWLLoqPLWVMn/yIFY0h8UvaWtZPtINMko0LEUNsjL/cpTx+rZl Smj6fJHBGLJDVIS9E5gzHl6Xqt5rlCLn096ku8sKfLfCiepe5AQU/osYzxIrUIb7RMRf qHUJsEP15NutYSz0Yoj9xJa2U8fcLNGnlB5K+3OYSrrwPXv2lSbVL6B5ATLjD7g0u539 5bM+HGhSXQ207EBncwkfOERWn+TuAOjQ2FRU79BTLn7qaqOJkKx7Gl1Tzwp7oosjToNt MDdA== X-Gm-Message-State: AOJu0Yy2tr2sRaa1nUlcP7IPsCrxi6ATAfWT7QD7lXxwhL3zKILdwzj3 Z2S1i3yohgVl1LGHc6DcfnpqyNQVUWcYVCRc1WNvYMZVAnrhtSUJ36UYr0OKLeyi X-Gm-Gg: AeBDieu0k2m/cCeM2oXMQsG29gTF1+mP0LVQyySaa6YO3EVr7dKtVsdR+md/7SoqmiI AhWl7pXQgQ89IQWE9P6pbO8zSqziXF1HNmX/RYcj7bUf8pEFNXtiE/x12uMb03u6hGv+tOy0nCK vBAK8lkfsl7pm3XESFcRVfmEjVI+rCxpie+tS8mD1W29dKQ6zi1JN6j/i6slhISGyV7Putem/NL AaO0vsxZbpPLd46oK39MgH3XyRBAd7PKXChfittbHLOuOE2TlmhMb/MfM17viROtGs1IxVfLW8Q W9H0IvuQHdghRwbkuyLcclQ5M/xyYClRwoprOmiU7Tjii16VswDeQmp/SmW5U/xohV6/zHYWHV9 2YA2HrDHnnMhdiOpPFracDY+d8TpNBsrWJMXVcVe7TBxHF3vQ4MIjPxjdRMa9KMuFpBj72h+Le5 O4K7MYaBBw7hOqHEvxfLHAXQHaz5Hl65RVSGwvQyvEZP/85F7XbEvLYOl+q4awpcrVghYlVrS+f Mup+Bt5 X-Received: by 2002:a05:7022:4191:b0:12c:427:dacf with SMTP id a92af1059eb24-12c73b05ceamr1418713c88.10.1776443579756; Fri, 17 Apr 2026 09:32:59 -0700 (PDT) Received: from TC-LAPTOP (23-93-157-142.fiber.dynamic.sonic.net. [23.93.157.142]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-12c749dc86bsm3603777c88.8.2026.04.17.09.32.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Apr 2026 09:32:58 -0700 (PDT) From: Thierry Chatard To: linux-kernel@vger.kernel.org Cc: hansg@kernel.org, lee@kernel.org, platform-driver-x86@vger.kernel.org, ilpo.jarvinen@linux.intel.com, djrscally@gmail.com, linux-media@vger.kernel.org, mchehab@kernel.org, sakari.ailus@linux.intel.com, jacopo.mondi@ideasonboard.com, nicholas@rothemail.net, Thierry Chatard Subject: [PATCH v3 0/5] Enable cameras on Dell Latitude 5285 2-in-1 Date: Fri, 17 Apr 2026 09:32:47 -0700 Message-ID: <20260417163252.15603-1-tchatard@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <4ef5f305-0234-4193-a190-edbfe770ea04@kernel.org> References: <4ef5f305-0234-4193-a190-edbfe770ea04@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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(-)