Skip to content

Commit

Permalink
Add hm3301 driver from Seeed
Browse files Browse the repository at this point in the history
  • Loading branch information
jadonk authored and RobertCNelson committed Jan 5, 2021
1 parent 5b088f6 commit 088f108
Show file tree
Hide file tree
Showing 3 changed files with 474 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/iio/chemical/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ config CCS811
Say Y here to build I2C interface support for the AMS
CCS811 VOC (Volatile Organic Compounds) sensor

config HM3301
tristate "HM3301 Particulate Matter sensor"
depends on I2C
select IIO_BUFFER
help
Say Y here to build I2C interface support for the HM3301
Particulate Matter laser interferometer sensor

config IAQCORE
tristate "AMS iAQ-Core VOC sensors"
depends on I2C
Expand Down
1 change: 1 addition & 0 deletions drivers/iio/chemical/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ obj-$(CONFIG_BME680) += bme680_core.o
obj-$(CONFIG_BME680_I2C) += bme680_i2c.o
obj-$(CONFIG_BME680_SPI) += bme680_spi.o
obj-$(CONFIG_CCS811) += ccs811.o
obj-$(CONFIG_HM3301) += hm3301.o
obj-$(CONFIG_IAQCORE) += ams-iaq-core.o
obj-$(CONFIG_PMS7003) += pms7003.o
obj-$(CONFIG_SENSIRION_SGP30) += sgp30.o
Expand Down
Loading

0 comments on commit 088f108

Please sign in to comment.