Skip to contentSkip to conversation

iio: adc: ad4080: fix AD4880 chip ID

PATCH In review Antoniu Miclaus 3 participants 5 messages Jun 2

Subsystems (3)
lore
Share & tools
lore

Antoniu Miclaus

author maintainer
#0 lore raw

PATCH 1/1 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.

Fixes 35fc53e802bf ("iio: adc: ad4080: add support for AD4880 dual-channel ADC")
---
 drivers/iio/adc/ad4080.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/adc/ad4080.c +1 -1
index 764d49eca9e0..8d2953341b15 100644
@@ -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
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Antoniu Miclaus

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.

Fixes 35fc53e802bf ("iio: adc: ad4080: add support for AD4880 dual-channel ADC")

---

Sashiko failed to apply your patch, are you developing against an old tree?

Codewise LGTM.

Signature · 3 lines
Kind regards

CJD
maintainer
#2 lore raw
Quoted 7 lines · On Tue, 2 Jun 2026 11:01:24 +0200 Joshua Crofts <[email protected]>…
Quoted 6 lines · Antoniu Miclaus

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.

Quoted 6 lines
Quoted 3 lines
Fixes 35fc53e802bf ("iio: adc: ad4080: add support for AD4880 dual-channel ADC")

---

Sashiko failed to apply your patch, are you developing against an old tree?

Other way around. This is only in the iio tree and sashiko seems to use either mainline or next, I haven't figured out which.

Quoted 5 lines

Codewise LGTM.

Applied but I dropped the fixes tag because it causes pain for me to have references within my tree near merge windows and it will all be in the same pull request anyway. Note it had changed because I had to do some surgery on the tree a few days ago.

#3 lore raw
Quoted 4 lines · Jonathan Cameron

Applied but I dropped the fixes tag because it causes pain for me to have references within my tree near merge windows and it will all be in the same pull request anyway. Note it had changed because I had to do some surgery on the tree a few days ago.

Hey Jonathan,

Just letting you know that your Signed-off-by tag is missing in the commit in the togreg branch.

Signature · 3 lines
Kind regards

CJD
maintainer
#4 lore raw
Quoted 11 lines · On Tue, 2 Jun 2026 16:02:48 +0200 Joshua Crofts <[email protected]>…
Quoted 4 lines · Jonathan Cameron

Applied but I dropped the fixes tag because it causes pain for me to have references within my tree near merge windows and it will all be in the same pull request anyway. Note it had changed because I had to do some surgery on the tree a few days ago.

Hey Jonathan,

Just letting you know that your Signed-off-by tag is missing in the commit in the togreg branch.

Thanks. Fat fingered it.

Fixed up.