Skip to contentSkip to conversation

media: ipu-bridge: Add upside-down quirk for Dell Pro 14 Premium PA14260

PATCH New Pierre Pinon 1 participant 1 message Sep 4 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: ipu-bridge: Add upside-down quirk for Dell Pro 14 Premium PA14260

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.

---
 drivers/media/pci/intel/ipu-bridge.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/media/pci/intel/ipu-bridge.c +7 -0
index 1bb3a3e98d6b..b0a66b40873f 100644
@@ -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

Signature · 1 line
2.55.0