Skip to content

Commit 232e0f6

Browse files
tduszynskijic23
authored andcommitted
iio: chemical: add support for Sensirion SPS30 sensor
Add support for Sensirion SPS30 particulate matter sensor. Signed-off-by: Tomasz Duszynski <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 17abc9e commit 232e0f6

File tree

3 files changed

+419
-0
lines changed

3 files changed

+419
-0
lines changed

drivers/iio/chemical/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,17 @@ config IAQCORE
6161
iAQ-Core Continuous/Pulsed VOC (Volatile Organic Compounds)
6262
sensors
6363

64+
config SPS30
65+
tristate "SPS30 particulate matter sensor"
66+
depends on I2C
67+
select CRC8
68+
help
69+
Say Y here to build support for the Sensirion SPS30 particulate
70+
matter sensor.
71+
72+
To compile this driver as a module, choose M here: the module will
73+
be called sps30.
74+
6475
config VZ89X
6576
tristate "SGX Sensortech MiCS VZ89X VOC sensor"
6677
depends on I2C

drivers/iio/chemical/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ obj-$(CONFIG_BME680_I2C) += bme680_i2c.o
99
obj-$(CONFIG_BME680_SPI) += bme680_spi.o
1010
obj-$(CONFIG_CCS811) += ccs811.o
1111
obj-$(CONFIG_IAQCORE) += ams-iaq-core.o
12+
obj-$(CONFIG_SPS30) += sps30.o
1213
obj-$(CONFIG_VZ89X) += vz89x.o

0 commit comments

Comments
 (0)