All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] media: i2c: cvs: Add Lattice device quirk for VID:0x2ac1 PID:0x20d1 and resolve image upside down issue
@ 2026-09-07 10:25 Kate Hsuan
  2026-09-07 10:25 ` [PATCH v2 1/2] media: i2c: cvs: Add Lattice device quirk for VID:0x2ac1 PID:0x20d1 Kate Hsuan
  2026-09-07 10:25 ` [PATCH v2 2/2] media: ipu-bridge: Add sensor rotation quirk for Dell XPS 14 (Dell 14 Premium) DA14250 Kate Hsuan
  0 siblings, 2 replies; 3+ messages in thread
From: Kate Hsuan @ 2026-09-07 10:25 UTC (permalink / raw)
  To: Miguel Vadillo, Mauro Carvalho Chehab, Sakari Ailus,
	Hans de Goede
  Cc: Hans Verkuil, Mihail Antsev, José María Martín,
	Leif Skunberg, Samuele Angioli, Ricardo Ribalda, Kees Cook,
	linux-media, linux-kernel, Kate Hsuan

This patch series adds a Lattice device quirk for VID:0x2ac1 PID:0x20d1 to
allow intel_cvs to configure the device properly and enable the camera.
It also adds a sensor rotation quirk for Dell XPS 14 (Dell 14 Premium) DA14250
to resolve the image upside down issue.

Changes in v2:
- Add a sensor rotation quirk for Dell XPS 14 (Dell 14 Premium) DA14250
  to resolve the image upside down issue.

Kate Hsuan (2):
  media: i2c: cvs: Add Lattice device quirk for VID:0x2ac1 PID:0x20d1
  media: ipu-bridge: Add sensor rotation quirk for Dell XPS 14 (Dell 14
    Premium) DA14250

 drivers/media/i2c/cvs/core.c         | 7 +++++++
 drivers/media/pci/intel/ipu-bridge.c | 7 +++++++
 2 files changed, 14 insertions(+)

-- 
2.55.0


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

* [PATCH v2 1/2] media: i2c: cvs: Add Lattice device quirk for VID:0x2ac1 PID:0x20d1
  2026-09-07 10:25 [PATCH v2 0/2] media: i2c: cvs: Add Lattice device quirk for VID:0x2ac1 PID:0x20d1 and resolve image upside down issue Kate Hsuan
@ 2026-09-07 10:25 ` Kate Hsuan
  2026-09-07 10:25 ` [PATCH v2 2/2] media: ipu-bridge: Add sensor rotation quirk for Dell XPS 14 (Dell 14 Premium) DA14250 Kate Hsuan
  1 sibling, 0 replies; 3+ messages in thread
From: Kate Hsuan @ 2026-09-07 10:25 UTC (permalink / raw)
  To: Miguel Vadillo, Mauro Carvalho Chehab, Sakari Ailus,
	Hans de Goede
  Cc: Hans Verkuil, Mihail Antsev, José María Martín,
	Leif Skunberg, Samuele Angioli, Ricardo Ribalda, Kees Cook,
	linux-media, linux-kernel, Kate Hsuan

On Dell laptops such as the XPS 14 (DA14250), the IPU6 camera fails to
initialize due to a missing device quirk for the Lattice device. The
kernel logs the following error during probe:

[  7.299665] intel_cvs i2c-INTC10E0:00: No quirks for device (VID:0x2ac1 PID:0x20d1)
[  7.299976] intel_cvs i2c-INTC10E0:00: error -EREMOTEIO: get caps failed
[  7.300026] intel_cvs i2c-INTC10E0:00: probe with driver intel_cvs failed with error -121

Add a matching quirk entry for VID 0x2ac1 and PID 0x20d1 to allow
intel_cvs to configure the device properly and enable the camera.

Link: https://bugzilla.redhat.com/show_bug.cgi?id=2526246
Signed-off-by: Kate Hsuan <hpa@redhat.com>
---
 drivers/media/i2c/cvs/core.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/media/i2c/cvs/core.c b/drivers/media/i2c/cvs/core.c
index d4a3b9c3bab1..acf8a4f7e79f 100644
--- a/drivers/media/i2c/cvs/core.c
+++ b/drivers/media/i2c/cvs/core.c
@@ -70,6 +70,13 @@ static const struct icvs_device_quirk cvs_quirk_table[] = {
 			  ICVS_NO_CAPS |
 			  ICVS_NO_FW_UPDATE
 	},	/* Lattice NX33 */
+	{ 0x2ac1, 0x20d1, ICVS_NO_MIPI_CONFIG |
+			  ICVS_NO_CAPS |
+			  ICVS_NO_FW_UPDATE
+	},	/*
+		 * The Lattice device was found on a Dell laptop
+		 * XPS 14 (Dell 14 Premium) DA14250
+		 */
 	{ 0x06CB, 0x0701, ICVS_SKIP_FW_RESET |
 			  ICVS_HOST_SENSOR_PWR_CTRL |
 			  ICVS_HOST_PRIV_CTRL |
-- 
2.55.0


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

* [PATCH v2 2/2] media: ipu-bridge: Add sensor rotation quirk for Dell XPS 14 (Dell 14 Premium) DA14250
  2026-09-07 10:25 [PATCH v2 0/2] media: i2c: cvs: Add Lattice device quirk for VID:0x2ac1 PID:0x20d1 and resolve image upside down issue Kate Hsuan
  2026-09-07 10:25 ` [PATCH v2 1/2] media: i2c: cvs: Add Lattice device quirk for VID:0x2ac1 PID:0x20d1 Kate Hsuan
@ 2026-09-07 10:25 ` Kate Hsuan
  1 sibling, 0 replies; 3+ messages in thread
From: Kate Hsuan @ 2026-09-07 10:25 UTC (permalink / raw)
  To: Miguel Vadillo, Mauro Carvalho Chehab, Sakari Ailus,
	Hans de Goede
  Cc: Hans Verkuil, Mihail Antsev, José María Martín,
	Leif Skunberg, Samuele Angioli, Ricardo Ribalda, Kees Cook,
	linux-media, linux-kernel, Kate Hsuan

Add "Dell XPS 14 (Dell 14 Premium) DA14250" to the list of systems
requiring a 180-degree sensor rotation quirk. This resolves an issue
where the IPU camera stream is displayed upside-down.

Link: https://bugzilla.redhat.com/show_bug.cgi?id=2510889
Signed-off-by: Kate Hsuan <hpa@redhat.com>
---
 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 1bb3a3e98d6b..c9f749bd72d3 100644
--- a/drivers/media/pci/intel/ipu-bridge.c
+++ b/drivers/media/pci/intel/ipu-bridge.c
@@ -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, "XPS 14 (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
-- 
2.55.0


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

end of thread, other threads:[~2026-09-07 10:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-07 10:25 [PATCH v2 0/2] media: i2c: cvs: Add Lattice device quirk for VID:0x2ac1 PID:0x20d1 and resolve image upside down issue Kate Hsuan
2026-09-07 10:25 ` [PATCH v2 1/2] media: i2c: cvs: Add Lattice device quirk for VID:0x2ac1 PID:0x20d1 Kate Hsuan
2026-09-07 10:25 ` [PATCH v2 2/2] media: ipu-bridge: Add sensor rotation quirk for Dell XPS 14 (Dell 14 Premium) DA14250 Kate Hsuan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.