iio: sps30: add support for serial interface
authorTomasz Duszynski <tomasz.duszynski@octakon.com>
Mon, 3 May 2021 06:00:13 +0000 (08:00 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 17 May 2021 12:49:10 +0000 (13:49 +0100)
commitb2e171f5a5c6003bd2e9a8f7dfd8acf714af429b
tree3a55fb7abd0a3e6b664ce503186271fc984afb9b
parent8f3f130852785dac0759843835ca97c3bacc2b10
iio: sps30: add support for serial interface

Sensor has support for both i2c and serial communication interfaces.
Both offer very similar set of features. Minor differences don't impact
overall functionality like doing measurements, etc.

Support for i2c have already been added, this patch adds support
for the latter ie. serial interface.

Signed-off-by: Tomasz Duszynski <tomasz.duszynski@octakon.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
MAINTAINERS
drivers/iio/chemical/Kconfig
drivers/iio/chemical/Makefile
drivers/iio/chemical/sps30_serial.c [new file with mode: 0644]