summaryrefslogtreecommitdiffstats
path: root/drivers/iio/chemical
Commit message (Collapse)AuthorAgeFilesLines
* iio: chemical: vz89x hardware i2c workaroundMatt Ranostay2015-09-301-2/+21
| | | | | | | | | | | | Chipset sometime updates in the middle of a reading causing it to reset the data pointer, and causing invalid reading of previous data. We can check for this invalid state by reading MSB of the resistance reading that is always zero, and by also confirming the VOC_short isn't zero. Signed-off-by: Matt Ranostay <mranostay@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
* iio: chemical: add SGX VZ89x VOC sensor supportMatt Ranostay2015-09-233-0/+258
Add support for VZ89X sensors VOC and CO2 reporting channels in percentage which can be converted to part per million. Signed-off-by: Matt Ranostay <mranostay@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
OpenPOWER on IntegriCloud