From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (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 46289438024 for ; Mon, 31 Aug 2026 16:08:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788192483; cv=none; b=UV58xrA3huEekgEaHXnEaayETJ60NnKZvd9wYNckiLKb9K4hxhGU+ROUaLPP3sWFKH90G7OueIy7GzhTmfZQFs/XFfBTyqaNr+AznaYc51OEwkShMv+3MEaBfelPtCeF89rN1YIhqZTW4FXmy7J4d2ZW80uKDRSB7SIfyTCd+ew= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788192483; c=relaxed/simple; bh=0yOjtQL0ArOu129/YAlqNj4oZFMpD3l4rO0VkNazTvc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Lruw4Ux+nmiwvExW1TBa3yuX3EGGhu/9jddArplwDJJPpa6hQtC5cm18pYL5MBODEvLb2MNXAUeXWfuctypwEchKWJaOHsU/rvIpSae024yLCSbXJNFP3NrvEH7lJc/IOV+VEc456u+oh+tacfmrEugUcCEpGd9lp7t998Ng+Bk= 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=HGGnAa4e; arc=none smtp.client-ip=209.85.128.50 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="HGGnAa4e" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-49557167508so38897125e9.1 for ; Mon, 31 Aug 2026 09:08:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788192479; x=1788797279; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=gA64UKZy3mC+oZEPpnPJBeWoAu5DKPeNeGaNgc7dMmk=; b=HGGnAa4euBd+Eh7XKK0s/W8Z+xgz4jdj417G32ZaMNU0385+bjAJLNB512Q7VSp9tX XJTirCUfMok/gPwhDK2dFINd2SI81ds74iMUz1X9Yk3LgjvlXYaM7m7F4Aau3P1NDc6M cS281BNjTv/L1f0n0NfQLFUf4BVAKQ28tybnGezNbQnTfd/WOlsQRs51UdYFyfA5W2xr OeTBag0oRmqCZFB+2mdhGbNrMUXeudoegLny5vsUW0gDsZJ/ZRlZD5QKTbnNTuC++4N0 vQJgYMvjHCrIbhsI75hLdvK7V8iPieaisJl6c8OYLndjs9C3y21xG6nL2J1RO0BnEojZ bVZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788192479; x=1788797279; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=gA64UKZy3mC+oZEPpnPJBeWoAu5DKPeNeGaNgc7dMmk=; b=lJLU6uZOKN4wVy9gE9Cxu6OWo3COeCvElbW6MJjMP2zyw4y2CvWUI/uvFC5WEOs8+3 LBo7BzABWR9Ie6srPA7BMeR6Gxo24PSp+HPMWelPfO3nBDM0IXYeYD0ITMZ/JYMQqqZj e1RO74azId2xn9mWxyNNe9RHrHqGMXntXWr460PTa1qNkgjx2s2wRfxCRX0NVbjxycv9 o89SACOVQCNRy24O4EAi9p9rdiec6gPNxeBOnSxX7lEFBwZaQvDPJgO8Eaz04hHlO+Qc VR7IH6s1FKFSF2w4VcaITIPjAY7ftecCFNrzhxvuHt0s/zMutlpOXxUwknVcIK0UeUxJ ftJw== X-Forwarded-Encrypted: i=1; AHgh+Rq9qlNIPE2UxH9IeNWP4LtB9SF/6ovQJE9UIJh1XO/bry4l0a+1W7VAfR3l2SyX6NRquXfvHnlKQNHoZA==@vger.kernel.org X-Gm-Message-State: AFuF++m4UtexeuU6Qe3CC5/skarqmF4rvmXcpwq57OZtznMmcLchfVZF lGgnuDJsTCJz68ExZl58Ai1XkNUgjA8FJ4DBQCZmfhSE+5UJgT1L0BYj X-Gm-Gg: AR+sD12zuTj2Q9GjIQLImjK5dLtHY7rL1bMzMvUOer0sLmpaX3daIT+0qXGYJGgb8DK xGcBTpQnUNyD3qTPCxFy96i1cTDThuMGZV+zhXLnxW7Qd+A0xmwS7nen9iDPitcvSabtehgdgZW zz6qBFMukuqV9jyJxQOO4pyfoa2fSgznhFtLgDHyvkAKUIurD14SYATCZ0w6F7+O8BS1JcIqgGb iZ1C2AswcsFfj2r9lxg7nyj4ZLIWcUkAMgmKKibIdPsxA/1miCbTCvEPpzu8BAbwG+yvD7C8I6X G8VRgEJB/J7zW/3CyhCp9lra11pxCASgsnMJXrli82GEOyGp3PZf16fxhMsomBZbAUTWRazfXDZ 8Jw3cAwAxMWHh5glA5oIXt2t2hV88qjYBdzwJcY/H5+wG71QR8XbZuPntpQHbbvW9HeXIJ8oERh 4Y4zJLmjlg7dy1Vjee04mxuYCA1kPa3GunULg7NBeYwQyIk5aWGlLoXEF7 X-Received: by 2002:a05:600c:1f8b:b0:499:ae94:be05 with SMTP id 5b1f17b1804b1-49cdc3df92amr33451405e9.0.1788192479266; Mon, 31 Aug 2026 09:07:59 -0700 (PDT) Received: from TC-LAPTOP ([2a01:e0a:b8a:2610:ccbd:b529:37d3:c1b8]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-482fbab3f3asm23849760f8f.3.2026.08.31.09.07.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Aug 2026 09:07: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, andriy.shevchenko@intel.com, v.vitovt@gmail.com, Thierry Chatard Subject: [PATCH v10 0/8] Enable cameras on Dell Latitude 5285 2-in-1 Date: Mon, 31 Aug 2026 18:07:46 +0200 Message-ID: <20260831160754.9857-1-tchatard@gmail.com> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: linux-media@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. Per Documentation/process/coding-assistants.rst, every patch carries an Assisted-by tag: this work was developed with help from an AI coding assistant (Claude Code). I have reviewed and tested all of it on the hardware and take responsibility for the result. The series is interdependent (all eight patches are needed for working cameras) and touches three subsystems: mfd (patch 1), platform/x86 int3472 (patches 2-6) and media (patches 7-8). It is probably best merged as one set - for example via platform-drivers-x86 with an immutable branch that the media and MFD trees can pull. Lee, an Acked-by on patch 1 (mfd) would help enable that; I'm happy to follow whichever merge approach the maintainers prefer. Changes since v9 (addressing Sakari Ailus's and Andy Shevchenko's review): - Rebased onto platform-drivers-x86/for-next. - Added Assisted-by tags to every patch per coding-assistants.rst (both reviewers asked). - Split the old clock-consumer patch (v9 3/6) into two: a pure refactor that moves the Windows MFD-cell setup below the device-type switch (now 3/8), and the actual static clock-consumer support (now 4/8), as requested by Sakari. - In that refactor, split the struct device *dev declaration from its assignment, and add a blank line separating generic and local forward declarations in tps68470.h, as requested by Andy. - New patch 5/8: factor the always-on VIO regulator init_data out of the board-data patch into a shared common_tps68470_vio_reg_init_data, and fold in the byte-identical intel_nvl copy, as requested by Sakari. - Patch 1 keeps Andy's Reviewed-by (subject prefix fixed to "mfd:" in v9). Earlier changelogs are in the v7-v9 postings: v9: https://lore.kernel.org/all/20260827201611.99825-1-tchatard@gmail.com/ v8: https://lore.kernel.org/all/20260826112452.13539-1-tchatard@gmail.com/ v7: https://lore.kernel.org/all/20260819140107.1329091-1-tchatard@gmail.com/ Tested on Ubuntu 25.10 (kernel 6.17.0-22-generic) and Ubuntu 26.04 (kernel 7.0.0-30-generic): both cameras working in Zoom, Chrome, and GNOME Camera via PipeWire. Also independently tested on the closely-related Dell Latitude 5290 2-in-1 (same IPU3/TPS68470/OV5670/OV8858/DW9714 stack) by Vitalii Tytskyi: https://github.com/vitovt/dell-5290-camera-kernel/tree/master/patches Thierry Chatard (8): mfd: intel-lpss: add resource conflict quirk for Dell Latitude 5285 platform/x86: int3472: tps68470: use unsigned int for GPIO lookup loop counters platform/x86: int3472: tps68470: move Windows MFD setup below the device-type switch platform/x86: int3472: tps68470: add static clock consumer support platform/x86: int3472: tps68470: use a common always-on VIO regulator init_data 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 drivers/media/i2c/ov8858.c | 7 + drivers/media/pci/intel/ipu-bridge.c | 2 + drivers/mfd/intel-lpss-acpi.c | 32 ++++ drivers/platform/x86/intel/int3472/tps68470.c | 116 ++++++----- drivers/platform/x86/intel/int3472/tps68470.h | 8 + .../x86/intel/int3472/tps68470_board_data.c | 181 ++++++++++++++++-- 6 files changed, 283 insertions(+), 63 deletions(-) base-commit: cee9395acd8043be0644b25c34bfa86623f2b935 -- 2.53.0