From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.70.43.16 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794340539; b=MI1aBStY7ERGIRlmqmEFjZU32is4kQvN0VWGqUbs25a/4plmomP7IzC9rfr/VlSc9eHd RHXH2GF5sUie0g6n1jB1hBMjVICwDnyJ1rW1mm2oqMbIZuEUOXjzzGPGy3XUD6DLO38xV 27dks4xZ6YJpnD4JXm3lWksL/BTVprYzSEHn88JeWvb8cTlrqo/BShy5Tj/O2C0MAWbuT BMj028QGKCZ255m1BxEbhJGEGo2UvbvAV4CFUN1ea4vgvwOCWHIKxdGgkCtDr+3sHvfOv 7E2XwnFXcQDxTxs1PEekNu+VAUS+FH/7Ij2/xyDTgAeyczDxje69dvFLPjFO5VColUA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794340539; h=DMARC-Filter:DKIM-Signature:Date:To:From:Cc:Subject:Message-ID: In-Reply-To:References:Feedback-ID:X-Pm-Message-ID:MIME-Version: Content-Type:Content-Transfer-Encoding; bh=mh8xxQxLI1386Z2affx51MJuVqSIzJ5Xz7MXSE9mxjk=; b=BTrZc5hRaqpGSAxnvEyz75PWvyl2x8ERKI9uDKQ+D6++s0/0N90/1DNzJ38URdfsin4J PmucavZ9Wm9y4S6SFWDAkZA2NSTTpsHmMziEzGg6sQ1xTo40nUvgGagzVitpMIr/3Q5LZ +y9d3XeJOe4ddHRhnuRqJNMVJNBefQOpWC1jCcRDi28T7da4p7bw38f8QSZOfc3JnmWbB wTgg4W7PRoDqh123hhhHcr1BoTrfiaN6pa6Mqseq+WRxQm1csJ2+/UVwZMOq99nF9MCdL pbaKtJpNTIDbpC8OBr4o/zZBxO0HaOWZ4ou/5UM43USuEa97JUiKxH6RujUBEBBgWcA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=pm.me; spf=pass smtp.mailfrom=pm.me; dkim=pass header.d=pm.me header.i=@pm.me header.a=rsa-sha256 header.s=protonmail3 header.b=ZpfSN+26; arc=none smtp.remote-ip=185.70.43.16 Received: from mail-4316.protonmail.ch (mail-4316.protonmail.ch [185.70.43.16]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 41EB660A2615; Tue, 10 Nov 2026 19:55:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 41EB660A2615 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=pm.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pm.me Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pm.me header.i=@pm.me header.a=rsa-sha256 header.s=protonmail3 header.b=ZpfSN+26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1794340536; x=1794599736; bh=mh8xxQxLI1386Z2affx51MJuVqSIzJ5Xz7MXSE9mxjk=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=ZpfSN+26LxLbQzJYLxJ4oqk52+9L73rm5SwKws9sV23dblac17LR75mWR7Qq3J0zt jfMkEy1vKOegS3kOD00RJT8KTgxIOmqKKnOzE8nhPZxqov8IL9k5+rtUkjEh5mcjPZ ST6GkoUDe8to14Oy69RHhANXb8L5x+5OT4MZKiyWgwGKwIobADemznMmE/0PGvSqfU vK8DKnrwy2Sffr6Ep28VvrjbH4BY5RmqSxsJSeGbqUQK2OT2OvnV7a4vfwI81GJZqX h6uZ0mlkEA21rhfVHwdjUsdYg63pnnnEnZ9VOXjPtPU1F6Y7n93N36tizMdqjiQWml YweD77nZ5eajg== Date: Tue, 10 Nov 2026 19:55:31 +0000 To: Sakari Ailus , Benjamin Mugnier , Sylvain Petinot , Mauro Carvalho Chehab From: Sergey Lebedev Cc: Dan Scally , Hans de Goede , =?utf-8?Q?Ilpo_J=C3=A4rvinen?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Peter Marshall , George Neacsu , Hao Yao , Fernando Rimoli , "D. Manresa" , Jizhou Tong , linux-media@vger.kernel.org, platform-driver-x86@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 4/6] media: ipu-bridge: Add ST VD55G0 Message-ID: <20261110195454.48176-5-lsa.uz@pm.me> In-Reply-To: <20261110195454.48176-1-lsa.uz@pm.me> References: <20261110195454.48176-1-lsa.uz@pm.me> Feedback-ID: 113843758:user:proton X-Pm-Message-ID: 5272035d8f1a0cd28cef0ccb76250390f5e3e7fd X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable The infrared camera of the Surface Pro 11 with Intel is an ST VD55G0, enumerated by ACPI as SMO55F0 and wired to the IPU7 over one CSI-2 data lane. The vd55g0 driver takes only a link frequency whose MIPI rate, twice it, is an integer multiple of the input clock. 396 MHz gives 792 Mbps, 33 times the 24 MHz the sensor's SSDB lists on the Surface Pro 8, 9, 10 and 11, and within the sensor's 750 to 1200 Mbps. Peter Marshall's earlier patch for the Surface Pro 9 used 380 MHz, 760 Mbps, which is not a multiple of 24 MHz, so the driver would refuse it: https://lore.kernel.org/all/20260918221705.323510-4-pm@petermarshall.ca/ Tested-by: Fernando Rimoli # Surface Pro 9, IP= U6 Signed-off-by: Sergey Lebedev --- v4: no change. v3: moved before VD55G1, for vendor order. imx681 v10 3/3 adds SONY0681 at the same place, so whichever lands second needs a trivial fixup. drivers/media/pci/intel/ipu-bridge.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/pci/intel/ipu-bridge.c b/drivers/media/pci/intel= /ipu-bridge.c index 3739c4a2a8c..c99c85b7e6f 100644 --- a/drivers/media/pci/intel/ipu-bridge.c +++ b/drivers/media/pci/intel/ipu-bridge.c @@ -124,6 +124,8 @@ static const struct ipu_sensor_config ipu_supported_sen= sors[] =3D { =09IPU_SENSOR_CONFIG("SONY471A", 1, 200000000), =09/* Sony IMX471 (found on Lenovo X1 Carbon G14) */ =09IPU_SENSOR_CONFIG("TBE20A0", 1, 200000000), +=09/* STMicroelectronics VD55G0 */ +=09IPU_SENSOR_CONFIG("SMO55F0", 1, 396000000), =09/* STMicroelectronics VD55G1 (found on Lenovo X1 Carbon G14) */ =09IPU_SENSOR_CONFIG("TBE20A1", 1, 402000000), =09/* Toshiba T4KA3 */ --=20 2.54.0