public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] media: ipu-bridge: Add upside-down sensor quirk for Dell 16 Premium DA16250
@ 2026-03-31 19:01 Lukas Larson
  2026-04-02 16:39 ` Sakari Ailus
  0 siblings, 1 reply; 5+ messages in thread
From: Lukas Larson @ 2026-03-31 19:01 UTC (permalink / raw)
  To: mchehab
  Cc: hverkuil+cisco, johannes.goede, sakari.ailus, linux-media,
	linux-kernel, Lukas Larson

On the Dell 16 Premium DA16250 laptop, the camera sensor (OVTI02C1) is
mounted upside-down, resulting in a flipped image in userspace
applications.

Add this model to the upside_down_sensor_dmi_ids list to provide the
necessary 180-degree rotation quirk so the image is oriented correctly.

Signed-off-by: Lukas Larson <lukaslarson@gmail.com>
---
 drivers/media/pci/intel/ipu-bridge.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/media/pci/intel/ipu-bridge.c b/drivers/media/pci/intel/ipu-bridge.c
index 32cc95a766b7..ec2056c268de 100644
--- a/drivers/media/pci/intel/ipu-bridge.c
+++ b/drivers/media/pci/intel/ipu-bridge.c
@@ -104,6 +104,13 @@ static const struct ipu_sensor_config ipu_supported_sensors[] = {
  * without reporting a rotation of 180° in neither the SSDB nor the _PLD.
  */
 static const struct dmi_system_id upside_down_sensor_dmi_ids[] = {
+	{
+		.matches = {
+			DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Dell 16 Premium DA16250"),
+		},
+		.driver_data = "OVTI02C1",
+	},
 	{
 		.matches = {
 			DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-04-08 11:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-31 19:01 [PATCH] media: ipu-bridge: Add upside-down sensor quirk for Dell 16 Premium DA16250 Lukas Larson
2026-04-02 16:39 ` Sakari Ailus
     [not found]   ` <CAMCiyfoVxS_iQWVEiak+mv1i9uF2WtqMqyfCgeQyO_q5XS4LgA@mail.gmail.com>
2026-04-07 12:33     ` Sakari Ailus
2026-04-08  6:02       ` Lukas Larson
2026-04-08 11:11         ` Sakari Ailus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox