mbox series

[v2,0/2] iio: chemical: add atlas-ezo-sensor initial support

Message ID 20200511023214.14704-1-matt.ranostay@konsulko.com (mailing list archive)
Headers show
Series iio: chemical: add atlas-ezo-sensor initial support | expand

Message

Matt Ranostay May 11, 2020, 2:32 a.m. UTC
Add driver for Alas Scientific EZO sensors with initial support for CO2
sensors.

Changes from v1:
* add comments to mutex
* change IIO_CHAN_INFO_SCALE return from IIO_VAL_FRACTIONAL
  to VAL_INT_PLUS_MICRO
* fix return path atlas_ezo_read_raw() to EINVAL in correct locations

Matt Ranostay (2):
  dt-bindings: iio: chemical: add CO2 EZO module documentation
  iio: chemical: add atlas-ezo-sensor initial support

 .../bindings/iio/chemical/atlas,sensor.yaml   |   6 +-
 drivers/iio/chemical/Kconfig                  |  11 ++
 drivers/iio/chemical/Makefile                 |   1 +
 drivers/iio/chemical/atlas-ezo-sensor.c       | 178 ++++++++++++++++++
 4 files changed, 194 insertions(+), 2 deletions(-)
 create mode 100644 drivers/iio/chemical/atlas-ezo-sensor.c