Skip to contentSkip to conversation

media: i2c: cvs: Add Lattice device quirk for VID:0x2ac1 PID:0x20d1

PATCH Superseded Kate Hsuan 1 participant 1 message Sep 4

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Kate Hsuan

author
#0 lore raw

PATCH 1/1 media: i2c: cvs: Add Lattice device quirk for VID:0x2ac1 PID:0x20d1

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.

---
 drivers/media/i2c/cvs/core.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/media/i2c/cvs/core.c +7 -0
index d4a3b9c3bab1..acf8a4f7e79f 100644
@@ -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 |
Signature · 1 line
2.55.0