summaryrefslogtreecommitdiffstats
path: root/drivers/iio/pressure/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/pressure/Kconfig')
-rw-r--r--drivers/iio/pressure/Kconfig8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/iio/pressure/Kconfig b/drivers/iio/pressure/Kconfig
index f03007cfec85..5da7931dc537 100644
--- a/drivers/iio/pressure/Kconfig
+++ b/drivers/iio/pressure/Kconfig
@@ -181,8 +181,9 @@ config MPL3115
config MPRLS0025PA
tristate "Honeywell MPRLS0025PA (MicroPressure sensors series)"
- depends on I2C
+ depends on (I2C || SPI_MASTER)
select MPRLS0025PA_I2C if I2C
+ select MPRLS0025PA_SPI if SPI_MASTER
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
help
@@ -198,6 +199,11 @@ config MPRLS0025PA_I2C
depends on MPRLS0025PA
depends on I2C
+config MPRLS0025PA_SPI
+ tristate
+ depends on MPRLS0025PA
+ depends on SPI_MASTER
+
config MS5611
tristate "Measurement Specialties MS5611 pressure sensor driver"
select IIO_BUFFER