]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
iio: adc: ad4080: fix AD4880 chip ID
authorAntoniu Miclaus <antoniu.miclaus@analog.com>
Tue, 2 Jun 2026 08:40:19 +0000 (11:40 +0300)
committerJonathan Cameron <jic23@kernel.org>
Tue, 2 Jun 2026 14:23:05 +0000 (15:23 +0100)
The AD4880 chip ID was incorrectly set to 0x0750. According to the
datasheet, the product ID registers read 0x00 (PRODUCT_ID_H) and 0x59
(PRODUCT_ID_L), giving a combined chip ID of 0x0059. Fix the value to
match the actual hardware.

Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/ad4080.c

index 764d49eca9e0e3fe14bf16a9c4751f113cd9e968..8d2953341b15f6caf8da9d49501e3ce5b2acb5b3 100644 (file)
 #define AD4086_CHIP_ID                                         0x0056
 #define AD4087_CHIP_ID                                         0x0057
 #define AD4088_CHIP_ID                                         0x0058
-#define AD4880_CHIP_ID                                         0x0750
+#define AD4880_CHIP_ID                                         0x0059
 #define AD4884_CHIP_ID                                         0x005C
 
 #define AD4080_MAX_CHANNELS                                    2