On 03/06/16 12:31, Laxman Dewangan wrote: > > On Friday 03 June 2016 03:46 PM, Jonathan Cameron wrote: >> On 03/06/16 11:06, Jonathan Cameron wrote: >>> >>> Code looks good, bu these more fundamental bits need sorting. >> Another minor point - why do the power calculations in driver? >> no hardware support for it, so why not just leave it to userspace? > > Device supports the bus and shunt voltage monitoring. So even no current. > Also the warning/critical limit is for the voltage across shunt. > > So should we only expose the shunt/bus voltage, no power/current? > > I am thinking that user space should not know the platform and hence shunt > resistance and so exposing the current and power on bus is better option. > I'd go for current and voltage rather than current and power, but otherwise agree. > > -- > To unsubscribe from this list: send the line "unsubscribe linux-iio" in > the body of a message to [email protected] > More majordomo info at http://vger.kernel.org/majordomo-info.html
- [PATCH 1/3] iio: adc: ina3221: Add DT binding details Laxman Dewangan
- [PATCH 3/3] iio: adc: ina3221: Add sysfs details for... Laxman Dewangan
- Re: [PATCH 3/3] iio: adc: ina3221: Add sysfs det... Jonathan Cameron
- [PATCH 2/3] iio: adc: ina3221: Add support for IIO A... Laxman Dewangan
- Re: [PATCH 2/3] iio: adc: ina3221: Add support f... Jonathan Cameron
- Re: [PATCH 2/3] iio: adc: ina3221: Add suppo... Jonathan Cameron
- Re: [PATCH 2/3] iio: adc: ina3221: Add s... Laxman Dewangan
- Re: [PATCH 2/3] iio: adc: ina3221: ... Jonathan Cameron
- Re: [PATCH 2/3] iio: adc: ina32... Laxman Dewangan
- Re: [PATCH 2/3] iio: adc: ina3221: Add suppo... Laxman Dewangan
- Re: [PATCH 2/3] iio: adc: ina3221: Add s... Jonathan Cameron
- Re: [PATCH 2/3] iio: adc: ina3221: ... Laxman Dewangan
- Re: [PATCH 2/3] iio: adc: ina3221: Add suppo... Guenter Roeck
- Re: [PATCH 2/3] iio: adc: ina3221: Add s... Laxman Dewangan
- Re: [PATCH 2/3] iio: adc: ina3221: ... Andrew F. Davis
- Re: [PATCH 1/3] iio: adc: ina3221: Add DT binding de... Rob Herring
- Re: [PATCH 1/3] iio: adc: ina3221: Add DT bindin... Laxman Dewangan
- Re: [PATCH 1/3] iio: adc: ina3221: Add DT bindin... Jonathan Cameron

