media: i2c: imx290: Remove CHIP_ID reg definition
authorBenjamin Bara <benjamin.bara@skidata.com>
Tue, 3 Sep 2024 14:54:32 +0000 (16:54 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 16 Oct 2024 07:32:36 +0000 (09:32 +0200)
This register is not described in the public available imx290 datasheet.
Additionally, a read returns '0x07d0' for an imx327lqr and also for an
imx462, which means it cannot be used to distinguish between those two
imx290 derivatives.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/imx290.c

index 4150e6e4b9a6358be79950d1865427ef194ba44c..5e4aa7237152937ba76d882069fca4c970a08011 100644 (file)
@@ -78,7 +78,6 @@
 #define IMX290_ADBIT2                                  CCI_REG8(0x317c)
 #define IMX290_ADBIT2_10BIT                            0x12
 #define IMX290_ADBIT2_12BIT                            0x00
-#define IMX290_CHIP_ID                                 CCI_REG16_LE(0x319a)
 #define IMX290_ADBIT3                                  CCI_REG8(0x31ec)
 #define IMX290_ADBIT3_10BIT                            0x37
 #define IMX290_ADBIT3_12BIT                            0x0e