Skip to content

Commit 3f2d03e

Browse files
amiclausjic23
authored andcommitted
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>
1 parent e45a44f commit 3f2d03e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/iio/adc/ad4080.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
#define AD4086_CHIP_ID 0x0056
136136
#define AD4087_CHIP_ID 0x0057
137137
#define AD4088_CHIP_ID 0x0058
138-
#define AD4880_CHIP_ID 0x0750
138+
#define AD4880_CHIP_ID 0x0059
139139
#define AD4884_CHIP_ID 0x005C
140140

141141
#define AD4080_MAX_CHANNELS 2

0 commit comments

Comments
 (0)