iio: adc: ad4080: fix AD4880 chip ID
Subsystems (3)
Antoniu Miclaus
maintainerPATCH 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.
--- drivers/iio/adc/ad4080.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/adc/ad4080.c +1 -1
@@ -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
Quoted 9 lines · Antoniu Miclaus
The AD4880 chip ID was incorrectly set to
0x0750. According to the datasheet, the product ID registers read0x00(PRODUCT_ID_H) and0x59(PRODUCT_ID_L), giving a combined chip ID of0x0059. Fix the value to match the actual hardware.Fixes 35fc53e802bf ("iio: adc: ad4080: add support for AD4880 dual-channel ADC")Signed-off-by Antoniu Miclaus <[email protected]>---
Sashiko failed to apply your patch, are you developing against an old tree?
Codewise LGTM.
Signature · 3 lines
Kind regards CJD
Jonathan Cameron
maintainerQuoted 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 read0x00(PRODUCT_ID_H) and0x59(PRODUCT_ID_L), giving a combined chip ID of0x0059. 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")Signed-off-by Antoniu Miclaus <[email protected]>---
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.
Reviewed-by Joshua Crofts <[email protected]>
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.
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
Jonathan Cameron
maintainerQuoted 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.