Skip to content

Commit

Permalink
feat: Add driver for sindri sensor board
Browse files Browse the repository at this point in the history
  • Loading branch information
jmidt authored and frederikaalund committed Feb 16, 2021
1 parent 2cab7cd commit 6b05801
Show file tree
Hide file tree
Showing 4 changed files with 447 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/configs/green_mango_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ CONFIG_SPI_AT25SF041_TEST_CON=y

# For conductivity sensor
CONFIG_TI_ADS1015=y
CONFIG_SINDRI_SENSOR=y

# OverlayFS
CONFIG_OVERLAY_FS=y
Expand Down
11 changes: 11 additions & 0 deletions drivers/iio/chemical/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,17 @@ config SENSIRION_SGP30
To compile this driver as module, choose M here: the
module will be called sgp30.

config SINDRI_SENSOR
tristate "Sindri electrical conductivity sensor"
depends on I2C
select REGMAP_I2C
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
select IRQ_WORK
help
Say Y here to build I2C interface support for the following
Sindri electrical conductivity sensor board by SBT Instruments.

config SPS30
tristate "SPS30 particulate matter sensor"
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 @@ -12,5 +12,6 @@ obj-$(CONFIG_CCS811) += ccs811.o
obj-$(CONFIG_IAQCORE) += ams-iaq-core.o
obj-$(CONFIG_PMS7003) += pms7003.o
obj-$(CONFIG_SENSIRION_SGP30) += sgp30.o
obj-$(CONFIG_SINDRI_SENSOR) += sindri-sensor.o
obj-$(CONFIG_SPS30) += sps30.o
obj-$(CONFIG_VZ89X) += vz89x.o
Loading

0 comments on commit 6b05801

Please sign in to comment.