On Tue, 18 May 2021 12:00:10 +0200 Peter Rosin <peda@xxxxxxxxxx> wrote: > Hi! > > Thanks, this looks nice! > > On 2021-05-18 11:27, Linus Walleij wrote: > > It happens that an ADC will only provide raw or processed > > voltage conversion channels. (adc/ab8500-gpadc.c). > > On the Samsung GT-I9070 this is used for a light sensor > > and current sense amplifier so we need to think of something. > > > > The idea is to allow processed channels and scale them > > with 1/1 and then the rescaler can modify the result > > on top. > > > > Link: https://lore.kernel.org/linux-iio/20201101232211.1194304-1-linus.walleij@xxxxxxxxxx/ > > Cc: Peter Rosin <peda@xxxxxxxxxx> > > Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx> > > Reviewed-by: Peter Rosin <peda@xxxxxxxxxx> Applied to the togreg branch of iio.git and pushed out as testing for 0-day to poke at it. Thanks, Jonathan > > Cheers, > Peter