[PATCH] media: ipu-bridge: Add Dell 14 Premium DA14250 to upside-down DMI table

MaximeD posted 1 patch 4 days, 21 hours ago
drivers/media/pci/intel/ipu-bridge.c | 7 +++++++
1 file changed, 7 insertions(+)
[PATCH] media: ipu-bridge: Add Dell 14 Premium DA14250 to upside-down DMI table
Posted by MaximeD 4 days, 21 hours ago
From: Maxime Deraspe <mderaspe@imarcom.net>

The Dell 14 Premium DA14250 (Lunar Lake) has its ov02c10 front camera
sensor mounted upside-down, but the ACPI SSDB does not report a 180°
rotation. Add a DMI quirk entry so that the ipu-bridge driver reports
the correct rotation, allowing libcamera and applications to display the
camera image with the proper orientation.

Signed-off-by: Maxime Deraspe <mderaspe@imarcom.net>
---
 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 b2b710094..2611a96fc 100644
--- a/drivers/media/pci/intel/ipu-bridge.c
+++ b/drivers/media/pci/intel/ipu-bridge.c
@@ -118,6 +118,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 14 Premium DA14250"),
+		},
+		.driver_data = "OVTI02C1",
+	},
 	{} /* Terminating entry */
 };
 
-- 
2.53.0

Re: [PATCH] media: ipu-bridge: Add Dell 14 Premium DA14250 to upside-down DMI table
Posted by johannes.goede@oss.qualcomm.com 2 days, 23 hours ago
Hi,

On 28-Mar-26 16:09, MaximeD wrote:
> From: Maxime Deraspe <mderaspe@imarcom.net>
> 
> The Dell 14 Premium DA14250 (Lunar Lake) has its ov02c10 front camera
> sensor mounted upside-down, but the ACPI SSDB does not report a 180°
> rotation. Add a DMI quirk entry so that the ipu-bridge driver reports
> the correct rotation, allowing libcamera and applications to display the
> camera image with the proper orientation.
> 
> Signed-off-by: Maxime Deraspe <mderaspe@imarcom.net>

Thanks, patch looks good to me:

Reviewed-by: Hans de Goede <johannes.goede@oss.qualcomm.com>

Regards,

Hans


> ---
>  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 b2b710094..2611a96fc 100644
> --- a/drivers/media/pci/intel/ipu-bridge.c
> +++ b/drivers/media/pci/intel/ipu-bridge.c
> @@ -118,6 +118,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 14 Premium DA14250"),
> +		},
> +		.driver_data = "OVTI02C1",
> +	},
>  	{} /* Terminating entry */
>  };
>