linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC v1 0/4] iio: new chemical sensor framework and channel types
@ 2015-09-05  5:53 Matt Ranostay
  2015-09-05  5:53 ` [RFC v1 1/4] iio: chemical: Add IIO_CONCENTRATION channel type Matt Ranostay
                   ` (4 more replies)
  0 siblings, 5 replies; 18+ messages in thread
From: Matt Ranostay @ 2015-09-05  5:53 UTC (permalink / raw)
  To: jic23, lars, pmeerw; +Cc: linux-iio, linux-kernel, Matt Ranostay

Initial RFC for new chemical sensor framework, IIO_CONCENTRATION,
and IIO_RESISTANCE channel types.

Important notes:
* Not been tested on real hardware yet but that isn't the main RFC reason and
  once hardware is in hand it will be verified
* Reason the IIO_CONCENTRATION type isn't in percent but has modifiers for ppm
  and ppb is the scale value for the latter would cause a integer overflow
  using IIO_VAL_FRACTIONAL

Matt Ranostay (4):
  iio: chemical: Add IIO_CONCENTRATION channel type
  iio: resistance: add IIO_RESISTANCE channel type
  devicetree: add SGX Sensortech vendor id
  iio: chemical: add SGX VZ89x VOC sensor support

 Documentation/ABI/testing/sysfs-bus-iio            |  16 ++
 .../devicetree/bindings/i2c/trivial-devices.txt    |   1 +
 .../devicetree/bindings/vendor-prefixes.txt        |   1 +
 drivers/iio/Kconfig                                |   1 +
 drivers/iio/Makefile                               |   1 +
 drivers/iio/chemical/Makefile                      |   6 +
 drivers/iio/chemical/vz89x.c                       | 237 +++++++++++++++++++++
 drivers/iio/industrialio-core.c                    |   4 +
 include/uapi/linux/iio/types.h                     |   4 +
 9 files changed, 271 insertions(+)
 create mode 100644 drivers/iio/chemical/Makefile
 create mode 100644 drivers/iio/chemical/vz89x.c

-- 
1.9.1


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2015-09-05 22:58 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-05  5:53 [RFC v1 0/4] iio: new chemical sensor framework and channel types Matt Ranostay
2015-09-05  5:53 ` [RFC v1 1/4] iio: chemical: Add IIO_CONCENTRATION channel type Matt Ranostay
2015-09-05  7:23   ` Peter Meerwald
2015-09-05 15:51   ` Jonathan Cameron
2015-09-05  5:53 ` [RFC v1 2/4] iio: resistance: add IIO_RESISTANCE " Matt Ranostay
2015-09-05 15:57   ` Jonathan Cameron
2015-09-05  5:53 ` [RFC v1 3/4] devicetree: add SGX Sensortech vendor id Matt Ranostay
2015-09-05  8:10   ` Daniel Baluta
2015-09-05  5:53 ` [RFC v1 4/4] iio: chemical: add SGX VZ89x VOC sensor support Matt Ranostay
2015-09-05  7:45   ` Peter Meerwald
2015-09-05  8:02     ` Matt Ranostay
2015-09-05  8:11       ` Peter Meerwald
2015-09-05 22:58         ` Matt Ranostay
2015-09-05  8:08   ` Daniel Baluta
2015-09-05 16:14   ` Jonathan Cameron
2015-09-05 22:17     ` Matt Ranostay
2015-09-05  8:20 ` [RFC v1 0/4] iio: new chemical sensor framework and channel types Daniel Baluta
2015-09-05 15:55   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).