Re: [PATCH v8 0/2] iio: adc: add MAX40080 current-sense amplifier driver

From: Jonathan Cameron

Date: Sat Aug 29 2026 - 21:00:08 EST


On Sun, 30 Aug 2026 01:51:39 +0100
Jonathan Cameron <jic23@xxxxxxxxxx> wrote:

> > This series adds support for the MAX40080, a bidirectional current-sense
> > amplifier with an integrated 12-bit ADC.
> >
> > The driver is placed in IIO rather than hwmon because:
> > - IIO's scale/raw model naturally exposes the selectable gain ranges and
> > lets userspace apply the correct scale per range.
>
> This one is a bit weaker as autoscaling is possible (if fiddly).
>
> > - Buffered capture support is planned for a follow-up series -- each
> > conversion returns a matched current+voltage pair, which maps cleanly
> > to IIO's buffered/triggered model.
>
> If you have this ready to post, I'd prefer seeing it sooner rather than
> later just to strengthen the arguement. A link to a repo would do as well.
>
> Anyhow, just a nice to have!
>

The set of changes that Andy and I have asked for are pretty minor
so I would just have made them as tweaks whilst applying. However, others
(e.g. David) have been active in reviewing this series in early versions
so I want to leave it on list anyway for some more time.

Given Andy's request wasn't entirely trivial, if you have time in a few
days to do a v9 with that stuff tidied up that'll save me a few mins
and cut down the possibility of me messing things up!

Jonathan