From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dy1-f174.google.com (mail-dy1-f174.google.com [74.125.82.174]) (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 2C2413A545F for ; Tue, 21 Apr 2026 22:52:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776811954; cv=none; b=YqezVJVS6hLYxVSUNpAEQdqbr08+NEwlgFJoByCKNoFDvjAdhKgKW5CAEJOGw1ZIWSCMSlvLeoQlMtpwrrDNc+kn8f0Wmu+cx9oaiWfRcxneJxK3egPmiobk7ToK9kz0Ug6QjO1jacf6kQ3goBkLjEwfZJ+qF1Qij8DtYo9HDBQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776811954; c=relaxed/simple; bh=p4hpYbaaV2jAO91rm4XYUSpVwUAcL13OGh3u8xmVSKo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Ug+FhYVR3Q56IJmPxiHQUdBZzvSVjnLYCdXRYc8LW4MIx01BFNG2hzA2fdMP8Fo87u09PFQMK5S2/nVx0xmWxQkAeizt8kC22KZQO9F/swSe9L1Nn28XMP6FEUZfP8KEVvaodMt2BPZAsWp0BJlmkwueDl7vi7q59m9DbtdxBpM= 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=nlQgxJ2o; arc=none smtp.client-ip=74.125.82.174 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="nlQgxJ2o" Received: by mail-dy1-f174.google.com with SMTP id 5a478bee46e88-2d8ffdc31d0so458687eec.0 for ; Tue, 21 Apr 2026 15:52:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1776811949; x=1777416749; 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=52lKPT06xJB6S0hMXMshZr9YSqwMjyDFKuBVFDd9B08=; b=nlQgxJ2opjNvu83bLd8aKVBBvJoqzj5pFQ+4168NZkyPsNdYp84jbr0udrDk7+hC4x BXZffM0E2KxgkiYoPMLMRNQY14vfmuFavnEGDDXH4IGXAyzWWzz6v0jbmGLuHOl9dOix Nkai5e1bPSb0iMm6ukejQ6q6k7VNZkVej7mSIl0f4WEQaPXdkyBiZVwUAb07LplOukjH uQwSrjGNGXUE8L5pEBFcjbCJ95yDJPD4cccKl0QSTXURKMo9KvVQpAcYVYS9xsE9cRyd d6VVrTQGzXqc5TP5dRo8I3vcxdiqnUWEFhR/P+8J+yYU3dwRBm6XxbwdRmddWu56sFSU ihHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776811949; x=1777416749; 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=52lKPT06xJB6S0hMXMshZr9YSqwMjyDFKuBVFDd9B08=; b=D8T77atoREkIWVVCwFTs7VSNNyM5b85oo2ztqDl6MpYsjvUhFbY+jnSeBP62tnZzJa i7DB2XxMougoWr5MPuxpucaLFrYpHXaP0wGIHtiIkEvASDxhmJiug5F9sEAGCfi649Uy wdKYEHiV7td7yvwScWeclGfsRy5gu/VJJ5+aOwX4DBv2sB1w6/ypf36qKARAGX3JZEqr 9GKDbTVqV2j8R2OpBLyY28QOOTl4H2o97ptPL5fg7BFsTzycJwgMfvAnOEhDGZBCjaIK jwJtIrWou17Z6ayAuSK3y4uF5KdyTR2ykgeQTekQq2RHbhRGA/sWuc9qwf9xQwBNpZw3 BOqA== X-Gm-Message-State: AOJu0YxwJT+W0Usg9M8AsGyDdVzm/hjP8zHq/W45+AMJJYxQf39Og9p4 eQELVNVJtPEedet+TcCOR/0Ugl2JQ+YFYgTugKZw7vdiQb6w+5dkDWOZl5Sd0yklTBY= X-Gm-Gg: AeBDietXrcQuSEqO5g90Nt5Lsb/BE8bcQxyVR+sp7zQoKKCzl07pzABy9RSdPD0a608 L+hdE4WJFSs69nKn+21yHfky6MlMXZtri9br9744RAAPJ9UvAsIIWCJxv28fPQSjk1MVa1nbbKr 61PE7RF8F+BRIW7FZ2c4i1Bb+KPG80Exc3bnPy44Sx48ey7r2oeavWSleoB0BxXXxb4pAzeVVsy qYR4hz+FTDL+lEL6nrrY5MufcpvQ/m1Wx7ymVdNx6Ks16bJlIQ1ohoHd6bk2lqoUKzs7MIUTdmI OMM+eCjYDejAd33XjfXFrvK1/cuVxHA69e4ZuWuxjn1dgsW1O7XmnmG0kcN5yX2ABdS5yySlhE5 Md3/BQT+wWSPvuHI5MobDIkIUBW9EPTipxnbszOLbwEcUoHYWVX3jCCYvBqOG21wgWE/r7yokn/ vxNnY57AA10F8/zlkFv6lowBhZZkf8Bzwh X-Received: by 2002:a05:7300:b58a:b0:2d4:62f0:b2d4 with SMTP id 5a478bee46e88-2e4786461b4mr11747692eec.13.1776811949190; Tue, 21 Apr 2026 15:52:29 -0700 (PDT) Received: from TC-LAPTOP.lan ([209.76.64.37]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2e53a4a8018sm26145884eec.8.2026.04.21.15.52.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Apr 2026 15:52:28 -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 v4 0/5] Enable cameras on Dell Latitude 5285 2-in-1 Date: Tue, 21 Apr 2026 15:52:12 -0700 Message-ID: <20260421225217.12472-1-tchatard@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: References: 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 v3 (addressing feedback from Sakari Ailus and Hans de Goede): - Patch 1: Fix multi-line comment style (blank opening line). - Patch 2: Fix multi-line comment style; change n_consumers and loop variable i from int to unsigned int; remove spurious (int) cast. - Patch 3: Rework regulator mapping per Hans's review: * VIO has no enable register and is always-on at hardware level; it must never have direct software consumers. Rename surface_go_tps68470_vio_reg_init_data to generic_tps68470_vio_reg_init_data (used by both Surface Go and Dell 5285) and remove all VIO consumers. * Map VSIO to dovdd/INT3477 instead of vsio/INT3477. Enabling VSIO sets S_I2C_CTL (reg 0x43) which opens the I2C passthrough to OV8858; since ov8858 enables dovdd before any I2C transaction, the passthrough is guaranteed to be active in time without marking VSIO always_on. * Remove always_on from VSIO (was a workaround; no longer needed). * Update commit message to reflect the new design. - Patch 5: Remove "vsio" from ov8858_supply_names[] (VSIO now maps to "dovdd", which the driver already requests); remove ACPI_PTR() wrapper (unnecessary when the ACPI table is declared unconditionally); update commit message and title. - Patches 4: Unchanged. 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