Re: [RFC v2 1/2] iio: ina2xx: add direct IO support for TI INA2xx Power Monitors

2015-11-16 Thread Jonathan Cameron
On 16 November 2015 09:31:17 GMT+00:00, Marc Titinger wrote: >On 14/11/2015 19:59, Jonathan Cameron wrote: >> On 12/11/15 12:57, Marc Titinger wrote: >>> Basic support or direct IO raw read, with averaging attribute. >>> Values are RAW, INT_PLUS_MICRO (Volt/Ampere/Watt). >>> >>> Output of iio_i

Re: [RFC v2 1/2] iio: ina2xx: add direct IO support for TI INA2xx Power Monitors

2015-11-16 Thread Marc Titinger
On 14/11/2015 19:59, Jonathan Cameron wrote: On 12/11/15 12:57, Marc Titinger wrote: Basic support or direct IO raw read, with averaging attribute. Values are RAW, INT_PLUS_MICRO (Volt/Ampere/Watt). Output of iio_info: iio:device0: ina226 4 channels found: power3: (input

Re: [RFC v2 1/2] iio: ina2xx: add direct IO support for TI INA2xx Power Monitors

2015-11-14 Thread Jonathan Cameron
On 12/11/15 12:57, Marc Titinger wrote: > Basic support or direct IO raw read, with averaging attribute. > Values are RAW, INT_PLUS_MICRO (Volt/Ampere/Watt). > > Output of iio_info: > > iio:device0: ina226 > 4 channels found: > power3: (input) > 1 channel-specific attr

[RFC v2 1/2] iio: ina2xx: add direct IO support for TI INA2xx Power Monitors

2015-11-12 Thread Marc Titinger
Basic support or direct IO raw read, with averaging attribute. Values are RAW, INT_PLUS_MICRO (Volt/Ampere/Watt). Output of iio_info: iio:device0: ina226 4 channels found: power3: (input) 1 channel-specific attributes found: attr 0: raw value: 1.15