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

2018-04-18 Thread Jonathan Cameron
On Mon, 16 Apr 2018 09:12:45 +0200 Peter Rosin wrote: > On 2018-04-15 19:31, Jonathan Cameron wrote: > > On Tue, 10 Apr 2018 17:28:02 +0200 > > Peter Rosin wrote: > > > >> If an ADC channel measures the midpoint of a voltage divider, the > >> interesting voltage is often the voltage over the

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

2018-04-16 Thread Peter Rosin
On 2018-04-15 19:31, Jonathan Cameron wrote: > On Tue, 10 Apr 2018 17:28:02 +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

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

2018-04-15 Thread Jonathan Cameron
On Tue, 10 Apr 2018 17:28:02 +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 v3 2/2] iio: afe: unit-converter: new driver

2018-04-10 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 shunt resistor, the interesting value is often th