Linux Media Controller development
 help / color / mirror / Atom feed
* [PATCH] media: ipu-bridge: Add upside-down quirk for Dell Pro 14 Premium PA14260
@ 2026-09-04  6:56 Pierre Pinon
  0 siblings, 0 replies; only message in thread
From: Pierre Pinon @ 2026-09-04  6:56 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, linux-media
  Cc: Pierre Pinon, Hans de Goede, Sakari Ailus, Samuele Angioli,
	linux-kernel

The Dell Pro 14 Premium PA14260 (Panther Lake, IPU7 + Intel CVS) has its
OV08X40 front sensor mounted upside down, but reports a rotation of 0 in
its SSDB, so without a DMI quirk the image is presented upside down.

Add a DMI quirk entry for this model so that a rotation of 180 degrees is
reported for its OVTI08F4 sensor.

Tested on the affected machine: with the quirk applied,
camera_sensor_rotation reads 180 and the captured image is the right way
up.

Signed-off-by: Pierre Pinon <pierre@pinon1.fr>
---
 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 1bb3a3e98d6b..b0a66b40873f 100644
--- a/drivers/media/pci/intel/ipu-bridge.c
+++ b/drivers/media/pci/intel/ipu-bridge.c
@@ -145,6 +145,13 @@ static const struct dmi_system_id upside_down_sensor_dmi_ids[] = {
 		},
 		.driver_data = "OVTI02C1",
 	},
+	{
+		.matches = {
+			DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Dell Pro 14 Premium PA14260"),
+		},
+		.driver_data = "OVTI08F4",
+	},
 	/*
 	 * The first four characters of DMI_BOARD_NAME identify the Lenovo
 	 * machine type/model. For example, a DMI_BOARD_NAME starting with

base-commit: a500db7819c50db59e55f1b4fa1c3baa5a2616f3
-- 
2.55.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-04  6:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-04  6:56 [PATCH] media: ipu-bridge: Add upside-down quirk for Dell Pro 14 Premium PA14260 Pierre Pinon

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