Skip to contentSkip to conversation

media: ipu-bridge: Add DMI quirk for Dell 14 Premium DA14250

PATCH New Keith Harvey 1 participant 1 message Sep 12 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: ipu-bridge: Add DMI quirk for Dell 14 Premium DA14250

The Dell 14 Premium DA14250 has its OV02C10 front sensor mounted upside down, like the Dell 16 Premium DA16250 and the other Dell models already present in upside_down_sensor_dmi_ids[]. The rotation is reported as 0 in both the SSDB and the _PLD, 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 OVTI02C1 sensor.

---
 drivers/media/pci/intel/ipu-bridge.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/media/pci/intel/ipu-bridge.c +7 -0
@@ -145,6 +145,13 @@
 		},
 		.driver_data = "OVTI02C1",
 	},
+	{
+		.matches = {
+			DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Dell 14 Premium DA14250"),
+		},
+		.driver_data = "OVTI02C1",
+	},
 	/*
 	 * The first four characters of DMI_BOARD_NAME identify the Lenovo
 	 * machine type/model. For example, a DMI_BOARD_NAME starting with
Signature · 1 line
2.43.0