Linux Media Controller development
 help / color / mirror / Atom feed
* [PATCH] media: ipu-bridge: Add Dell 14 Premium DA14250 to upside-down DMI table
@ 2026-03-28 15:09 MaximeD
  2026-03-30 13:26 ` johannes.goede
  0 siblings, 1 reply; 2+ messages in thread
From: MaximeD @ 2026-03-28 15:09 UTC (permalink / raw)
  To: linux-media; +Cc: mchehab, linux-kernel, Maxime Deraspe

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] media: ipu-bridge: Add Dell 14 Premium DA14250 to upside-down DMI table
  2026-03-28 15:09 [PATCH] media: ipu-bridge: Add Dell 14 Premium DA14250 to upside-down DMI table MaximeD
@ 2026-03-30 13:26 ` johannes.goede
  0 siblings, 0 replies; 2+ messages in thread
From: johannes.goede @ 2026-03-30 13:26 UTC (permalink / raw)
  To: MaximeD, linux-media; +Cc: mchehab, linux-kernel

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 */
>  };
>  


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-03-30 13:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-28 15:09 [PATCH] media: ipu-bridge: Add Dell 14 Premium DA14250 to upside-down DMI table MaximeD
2026-03-30 13:26 ` johannes.goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox