Re: [PATCH v2 2/2] iio: afe: unit-converter: new driver

2018-04-08 Thread Jonathan Cameron
On Tue, 3 Apr 2018 17:36:35 +0200 Peter Rosin wrote: > If an ADC channel measures the midpoint of a voltage divider, the > interesting voltage is often the voltage over the full resistance. > E.g. if the full voltage is too big for the ADC to handle. > Likewise, if an ADC channel measures the vo

[PATCH v2 2/2] iio: afe: unit-converter: new driver

2018-04-03 Thread Peter Rosin
If an ADC channel measures the midpoint of a voltage divider, the interesting voltage is often the voltage over the full resistance. E.g. if the full voltage is too big for the ADC to handle. Likewise, if an ADC channel measures the voltage across a resistor, the interesting value is often the curr