Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1266605
| From | Marc Titinger <mtitinger@baylibre.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [RFC 0/4] IIO: add support for INA2xx power monitor |
| Date | 2015-11-10 17:10 +0100 |
| Message-ID | <qtjEC-7hv-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
This chip has fair support in the hwmon stack already, this work is more as a pathfinder for me, hence I post it as RFC to digg some more into 'does and donts' with IIO. Nevertheless, it provides a working streaming scheme for capturing power/voltage/current with this chip. It works in local and remote mode with iio_readdev and I did some sniffing tests with iio-oscilloscope with promising results inspite of timeout issues for long temporal buffers presumably due to the slow rates for this chip compared to expected high-speed CoDecs (and maybe the lack of a proper plugin?). The kthread I'm using does an active waiting to allow for sampling periods shorter than a tick. I have not experienced performance issues with it on the board (BeagleBoneBlack), IIOD could always schedule on time as far as I could see, maybe with other i2c backends a schedule() could be mandatory ? Many thanks, Marc Titinger (4): iio: ina2xx: add direct IO support for TI INA2xx Power Monitors iio: ina2xx: add SAMP_FREQ attribute. iio: ina2xx: add debugfs reg access iio: ina2xx: add SOFTWARE buffer mode using an iio kfifo. drivers/iio/adc/Kconfig | 11 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/ina2xx-iio.c | 579 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 591 insertions(+) create mode 100644 drivers/iio/adc/ina2xx-iio.c -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[RFC 0/4] IIO: add support for INA2xx power monitor Marc Titinger <mtitinger@baylibre.com> - 2015-11-10 17:10 +0100
[RFC 1/4] iio: ina2xx: add direct IO support for TI INA2xx Power Monitors Marc Titinger <mtitinger@baylibre.com> - 2015-11-10 17:10 +0100
Re: [RFC 1/4] iio: ina2xx: add direct IO support for TI INA2xx Power Monitors Daniel Baluta <daniel.baluta@gmail.com> - 2015-11-11 11:20 +0100
Re: [RFC 1/4] iio: ina2xx: add direct IO support for TI INA2xx Power Monitors Marc Titinger <mtitinger@baylibre.com> - 2015-11-12 10:30 +0100
Re: [RFC 1/4] iio: ina2xx: add direct IO support for TI INA2xx Power Monitors Daniel Baluta <daniel.baluta@gmail.com> - 2015-11-11 13:20 +0100
Re: [RFC 1/4] iio: ina2xx: add direct IO support for TI INA2xx Power Monitors Marc Titinger <mtitinger@baylibre.com> - 2015-11-12 10:40 +0100
[RFC v2 1/2] iio: ina2xx: add direct IO support for TI INA2xx Power Monitors Marc Titinger <mtitinger@baylibre.com> - 2015-11-12 14:00 +0100
[RFC v2 2/2] iio: ina2xx: add SOFTWARE buffer mode using an iio kfifo. Marc Titinger <mtitinger@baylibre.com> - 2015-11-12 14:00 +0100
Re: [RFC v2 1/2] iio: ina2xx: add direct IO support for TI INA2xx Power Monitors Jonathan Cameron <jic23@kernel.org> - 2015-11-14 20:10 +0100
Re: [RFC v2 1/2] iio: ina2xx: add direct IO support for TI INA2xx Power Monitors Marc Titinger <mtitinger@baylibre.com> - 2015-11-16 10:40 +0100
[RFC 4/4] iio: ina2xx: add SOFTWARE buffer mode using an iio kfifo. Marc Titinger <mtitinger@baylibre.com> - 2015-11-10 17:10 +0100
Re: [RFC 4/4] iio: ina2xx: add SOFTWARE buffer mode using an iio kfifo. Lars-Peter Clausen <lars@metafoo.de> - 2015-11-10 19:30 +0100
Re: [RFC 4/4] iio: ina2xx: add SOFTWARE buffer mode using an iio kfifo. Marc Titinger <mtitinger@baylibre.com> - 2015-11-12 11:20 +0100
Re: [RFC 4/4] iio: ina2xx: add SOFTWARE buffer mode using an iio kfifo. Lars-Peter Clausen <lars@metafoo.de> - 2015-11-12 11:30 +0100
Re: [RFC 4/4] iio: ina2xx: add SOFTWARE buffer mode using an iio kfifo. Jonathan Cameron <jic23@kernel.org> - 2015-11-14 19:50 +0100
Re: [RFC 4/4] iio: ina2xx: add SOFTWARE buffer mode using an iio kfifo. Marc Titinger <mtitinger@baylibre.com> - 2015-11-16 10:40 +0100
[RFC 2/4] iio: ina2xx: add SAMP_FREQ attribute. Marc Titinger <mtitinger@baylibre.com> - 2015-11-10 17:10 +0100
Re: [RFC 2/4] iio: ina2xx: add SAMP_FREQ attribute. Daniel Baluta <daniel.baluta@gmail.com> - 2015-11-11 11:20 +0100
csiph-web