media: ipu-bridge: Add upside-down quirk for Dell Pro 14 Premium PA14260
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.
Signed-off-by Pierre Pinon <[email protected]>
--- 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 @@ 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