]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: ipu-bridge: Add DMI quirk for Dell XPS laptops with upside down sensors
authorHans de Goede <johannes.goede@oss.qualcomm.com>
Tue, 9 Dec 2025 09:18:50 +0000 (10:18 +0100)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 6 Jan 2026 08:33:33 +0000 (09:33 +0100)
commitb75710155a823369976bba9f3497cee113830ae9
treed8ab38d922f616826481aaae08d7f8802fe7273a
parent1d2e3b4443a85374fdd6fb8fd2c015e3e3e16100
media: ipu-bridge: Add DMI quirk for Dell XPS laptops with upside down sensors

The Dell XPS 13 9350 and XPS 16 9640 both have an upside-down mounted
OV02C10 sensor. This rotation of 180° is reported in neither the SSDB nor
the _PLD for the sensor (both report a rotation of 0°).

Add a DMI quirk mechanism for upside-down sensors and add 2 initial entries
to the DMI quirk list for these 2 laptops.

Note the OV02C10 driver was originally developed on a XPS 16 9640 which
resulted in inverted vflip + hflip settings making it look like the sensor
was upright on the XPS 16 9640 and upside down elsewhere this has been
fixed in commit d5ebe3f7d13d ("media: ov02c10: Fix default vertical flip").
This makes this commit a regression fix since now the video is upside down
on these Dell XPS models where it was not before.

Fixes: d5ebe3f7d13d ("media: ov02c10: Fix default vertical flip")
Cc: stable@vger.kernel.org
Reviewed-by: Bryan O'Donoghue <bod@kernel.org>
Reviewed-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/pci/intel/Kconfig
drivers/media/pci/intel/ipu-bridge.c