Re: [PATCH 2/2] iio: afe: unit-converter: add support for adi,lt6106

2018-04-16 Thread Peter Rosin
On 2018-04-13 10:11, Lars-Peter Clausen wrote: > On 04/13/2018 12:31 AM, Peter Rosin wrote: >> On 2018-04-12 17:35, Andrew F. Davis wrote: >>> On 04/12/2018 09:29 AM, Peter Rosin wrote: But as I said in the cover letter, I didn't go with sense-gain since I thought I would end up with requ

Re: [PATCH 2/2] iio: afe: unit-converter: add support for adi,lt6106

2018-04-16 Thread Peter Rosin
On 2018-04-13 16:47, Andrew F. Davis wrote: > On 04/12/2018 05:31 PM, Peter Rosin wrote: >> On 2018-04-12 17:35, Andrew F. Davis wrote: >>> True, how about "current-sense-from-voltage" ? >> >> Doesn't cover "voltage-divider" (and we don't need separate drivers >> doing the exact same calculations,

Re: [PATCH 2/2] iio: afe: unit-converter: add support for adi,lt6106

2018-04-13 Thread Andrew F. Davis
On 04/12/2018 05:31 PM, Peter Rosin wrote: > On 2018-04-12 17:35, Andrew F. Davis wrote: >> On 04/12/2018 09:29 AM, Peter Rosin wrote: >>> On 2018-04-11 18:13, Andrew F. Davis wrote: On 04/11/2018 10:51 AM, Lars-Peter Clausen wrote: > On 04/11/2018 05:43 PM, Andrew F. Davis wrote: >> O

Re: [PATCH 2/2] iio: afe: unit-converter: add support for adi,lt6106

2018-04-13 Thread Lars-Peter Clausen
On 04/13/2018 12:31 AM, Peter Rosin wrote: > On 2018-04-12 17:35, Andrew F. Davis wrote: >> On 04/12/2018 09:29 AM, Peter Rosin wrote: >>> On 2018-04-11 18:13, Andrew F. Davis wrote: On 04/11/2018 10:51 AM, Lars-Peter Clausen wrote: > On 04/11/2018 05:43 PM, Andrew F. Davis wrote: >> O

Re: [PATCH 2/2] iio: afe: unit-converter: add support for adi,lt6106

2018-04-12 Thread Peter Rosin
On 2018-04-12 17:35, Andrew F. Davis wrote: > On 04/12/2018 09:29 AM, Peter Rosin wrote: >> On 2018-04-11 18:13, Andrew F. Davis wrote: >>> On 04/11/2018 10:51 AM, Lars-Peter Clausen wrote: On 04/11/2018 05:43 PM, Andrew F. Davis wrote: > On 04/11/2018 09:15 AM, Peter Rosin wrote: >> T

Re: [PATCH 2/2] iio: afe: unit-converter: add support for adi,lt6106

2018-04-12 Thread Andrew F. Davis
On 04/12/2018 09:29 AM, Peter Rosin wrote: > On 2018-04-11 18:13, Andrew F. Davis wrote: >> On 04/11/2018 10:51 AM, Lars-Peter Clausen wrote: >>> On 04/11/2018 05:43 PM, Andrew F. Davis wrote: On 04/11/2018 09:15 AM, Peter Rosin wrote: > This is a current sense amplifier from Analog Device

Re: [PATCH 2/2] iio: afe: unit-converter: add support for adi,lt6106

2018-04-12 Thread Peter Rosin
On 2018-04-11 18:13, Andrew F. Davis wrote: > On 04/11/2018 10:51 AM, Lars-Peter Clausen wrote: >> On 04/11/2018 05:43 PM, Andrew F. Davis wrote: >>> On 04/11/2018 09:15 AM, Peter Rosin wrote: This is a current sense amplifier from Analog Devices. Signed-off-by: Peter Rosin ---

Re: [PATCH 2/2] iio: afe: unit-converter: add support for adi,lt6106

2018-04-12 Thread Peter Rosin
On 2018-04-11 17:43, Andrew F. Davis wrote: > On 04/11/2018 09:15 AM, Peter Rosin wrote: >> This is a current sense amplifier from Analog Devices. >> >> Signed-off-by: Peter Rosin >> --- >> drivers/iio/afe/Kconfig | 3 +- >> drivers/iio/afe/iio-unit-converter.c | 54 >>

Re: [PATCH 2/2] iio: afe: unit-converter: add support for adi,lt6106

2018-04-11 Thread Andrew F. Davis
On 04/11/2018 10:51 AM, Lars-Peter Clausen wrote: > On 04/11/2018 05:43 PM, Andrew F. Davis wrote: >> On 04/11/2018 09:15 AM, Peter Rosin wrote: >>> This is a current sense amplifier from Analog Devices. >>> >>> Signed-off-by: Peter Rosin >>> --- >>> drivers/iio/afe/Kconfig | 3 +- >

Re: [PATCH 2/2] iio: afe: unit-converter: add support for adi,lt6106

2018-04-11 Thread Lars-Peter Clausen
On 04/11/2018 05:43 PM, Andrew F. Davis wrote: > On 04/11/2018 09:15 AM, Peter Rosin wrote: >> This is a current sense amplifier from Analog Devices. >> >> Signed-off-by: Peter Rosin >> --- >> drivers/iio/afe/Kconfig | 3 +- >> drivers/iio/afe/iio-unit-converter.c | 54 >> +

Re: [PATCH 2/2] iio: afe: unit-converter: add support for adi,lt6106

2018-04-11 Thread Andrew F. Davis
On 04/11/2018 09:15 AM, Peter Rosin wrote: > This is a current sense amplifier from Analog Devices. > > Signed-off-by: Peter Rosin > --- > drivers/iio/afe/Kconfig | 3 +- > drivers/iio/afe/iio-unit-converter.c | 54 > > 2 files changed, 56 inse

[PATCH 2/2] iio: afe: unit-converter: add support for adi,lt6106

2018-04-11 Thread Peter Rosin
This is a current sense amplifier from Analog Devices. Signed-off-by: Peter Rosin --- drivers/iio/afe/Kconfig | 3 +- drivers/iio/afe/iio-unit-converter.c | 54 2 files changed, 56 insertions(+), 1 deletion(-) diff --git a/drivers/iio/afe/Kconf