linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] add support for Sensirion SPS30 PM sensor
@ 2018-12-06 21:04 Tomasz Duszynski
  2018-12-06 21:04 ` [PATCH v2 1/3] iio: add IIO_MASSCONCENTRATION channel type Tomasz Duszynski
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Tomasz Duszynski @ 2018-12-06 21:04 UTC (permalink / raw)
  To: linux-iio
  Cc: linux-kernel, devicetree, robh+dt, jic23, a.brauchli, Tomasz Duszynski

This patch series adds support for Sensirion SPS30 particulate matter
sensor. Along with a driver itself, new channel type and modifiers
for distinguishing between coarse and fine particles measurements are
introduced.

Sensor datasheet can be downloaded from

https://www.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/0_Datasheets/Particulate_Matter/Sensirion_PM_Sensors_SPS30_Datasheet.pdf

v2:
 * add support for PM1 and PM4 measurements
 * get rid of variable length arrays
 * do proper cleanup via devm_add_action_or_reset()
 * add extra level of precision (two decimal places) while displaying
   measurements
 * improve comments a little bit
 * slight refactoring and general improvements here and there

Tomasz Duszynski (3):
  iio: add IIO_MASSCONCENTRATION channel type
  iio: chemical: add support for Sensirion SPS30 sensor
  iio: chemical: sps30: add device tree support

 Documentation/ABI/testing/sysfs-bus-iio       |  17 +-
 .../bindings/iio/chemical/sensirion,sps30.txt |  12 +
 drivers/iio/chemical/Kconfig                  |  11 +
 drivers/iio/chemical/Makefile                 |   1 +
 drivers/iio/chemical/sps30.c                  | 406 ++++++++++++++++++
 drivers/iio/industrialio-core.c               |   5 +
 include/uapi/linux/iio/types.h                |   5 +
 tools/iio/iio_event_monitor.c                 |  10 +
 8 files changed, 466 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.txt
 create mode 100644 drivers/iio/chemical/sps30.c

--
2.19.2


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

end of thread, other threads:[~2018-12-11 18:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-06 21:04 [PATCH v2 0/3] add support for Sensirion SPS30 PM sensor Tomasz Duszynski
2018-12-06 21:04 ` [PATCH v2 1/3] iio: add IIO_MASSCONCENTRATION channel type Tomasz Duszynski
2018-12-08 15:47   ` Jonathan Cameron
2018-12-06 21:04 ` [PATCH v2 2/3] iio: chemical: add support for Sensirion SPS30 sensor Tomasz Duszynski
2018-12-08 15:55   ` Jonathan Cameron
2018-12-08 20:09     ` Tomasz Duszynski
2018-12-11 18:11       ` Jonathan Cameron
2018-12-10  4:23   ` kbuild test robot
2018-12-10  4:23   ` [PATCH] iio: chemical: fix semicolon.cocci warnings kbuild test robot
2018-12-06 21:04 ` [PATCH v2 3/3] iio: chemical: sps30: add device tree support Tomasz Duszynski

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).