From a91ee98d8d5804d8f3d32f4208cdb5498b19b970 Mon Sep 17 00:00:00 2001 From: Keith Harvey Date: Sat, 12 Sep 2026 11:34:31 +0100 Subject: [PATCH] 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. Signed-off-by: Keith Harvey Signed-off-by: Sakari Ailus --- 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 fbe932cabeba..3739c4a2a8c4 100644 --- a/drivers/media/pci/intel/ipu-bridge.c +++ b/drivers/media/pci/intel/ipu-bridge.c @@ -184,6 +184,13 @@ static const struct dmi_system_id upside_down_sensor_dmi_ids[] = { }, .driver_data = "OVTI08F4", }, + { + .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