summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoniu Miclaus <antoniu.miclaus@analog.com>2026-06-02 11:40:19 +0300
committerJonathan Cameron <jic23@kernel.org>2026-06-02 15:23:05 +0100
commit3f2d03ecf22b09da1d92ba06e1ba6e20d16060e9 (patch)
treeef4dfa5273cbee8f5311390c0d3b2aafb68b49dc
parente45a44f2196e0d6aa22fd80beff1c18dee9e9348 (diff)
downloadlwn-3f2d03ecf22b09da1d92ba06e1ba6e20d16060e9.tar.gz
lwn-3f2d03ecf22b09da1d92ba06e1ba6e20d16060e9.zip
iio: adc: ad4080: fix AD4880 chip ID
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>
-rw-r--r--drivers/iio/adc/ad4080.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/ad4080.c b/drivers/iio/adc/ad4080.c
index 764d49eca9e0..8d2953341b15 100644
--- a/drivers/iio/adc/ad4080.c
+++ b/drivers/iio/adc/ad4080.c
@@ -135,7 +135,7 @@
#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