mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
3d5032a046
The ms5611 driver started using the IIO_TRIGGERED_BUFFER infrastructure
which in turn depend on IIO_BUFFER, and it produces a build error now
if that is not enabled:
warning: (... && MS5611 && ...) selects IIO_TRIGGERED_BUFFER which has unmet direct dependencies (IIO && IIO_BUFFER)
buffer/industrialio-triggered-buffer.c: In function 'iio_triggered_buffer_setup':
buffer/industrialio-triggered-buffer.c:58:2: error: implicit declaration of function 'iio_device_attach_buffer' [-Werror=implicit-function-declaration]
pressure/ms5611_core.c: In function 'ms5611_trigger_handler':
pressure/ms5611_core.c:193:2: error: implicit declaration of function 'iio_push_to_buffers_with_timestamp' [-Werror=implicit-function-declaration]
This adds the second select.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 713bbb4efb
("iio: pressure: ms5611: Add triggered buffer support")
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
152 lines
4.1 KiB
Plaintext
152 lines
4.1 KiB
Plaintext
#
|
|
# Pressure drivers
|
|
#
|
|
# When adding new entries keep the list in alphabetical order
|
|
|
|
menu "Pressure sensors"
|
|
|
|
config BMP280
|
|
tristate "Bosch Sensortec BMP280 pressure sensor driver"
|
|
depends on I2C
|
|
select REGMAP_I2C
|
|
help
|
|
Say yes here to build support for Bosch Sensortec BMP280
|
|
pressure and temperature sensor.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called bmp280.
|
|
|
|
config HID_SENSOR_PRESS
|
|
depends on HID_SENSOR_HUB
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
select HID_SENSOR_IIO_COMMON
|
|
select HID_SENSOR_IIO_TRIGGER
|
|
tristate "HID PRESS"
|
|
help
|
|
Say yes here to build support for the HID SENSOR
|
|
Pressure driver
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called hid-sensor-press.
|
|
|
|
config MPL115
|
|
tristate
|
|
|
|
config MPL115_I2C
|
|
tristate "Freescale MPL115A2 pressure sensor driver"
|
|
depends on I2C
|
|
select MPL115
|
|
help
|
|
Say yes here to build support for the Freescale MPL115A2
|
|
pressure sensor connected via I2C.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called mpl115_i2c.
|
|
|
|
config MPL115_SPI
|
|
tristate "Freescale MPL115A1 pressure sensor driver"
|
|
depends on SPI_MASTER
|
|
select MPL115
|
|
help
|
|
Say yes here to build support for the Freescale MPL115A1
|
|
pressure sensor connected via SPI.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called mpl115_spi.
|
|
|
|
config MPL3115
|
|
tristate "Freescale MPL3115A2 pressure sensor driver"
|
|
depends on I2C
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
help
|
|
Say yes here to build support for the Freescale MPL3115A2
|
|
pressure sensor / altimeter.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called mpl3115.
|
|
|
|
config MS5611
|
|
tristate "Measurement Specialties MS5611 pressure sensor driver"
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
help
|
|
Say Y here to build support for the Measurement Specialties
|
|
MS5611, MS5607 pressure and temperature sensors.
|
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
be called ms5611_core.
|
|
|
|
config MS5611_I2C
|
|
tristate "support I2C bus connection"
|
|
depends on I2C && MS5611
|
|
help
|
|
Say Y here to build I2C bus support for MS5611.
|
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
be called ms5611_i2c.
|
|
|
|
config MS5611_SPI
|
|
tristate "support SPI bus connection"
|
|
depends on SPI_MASTER && MS5611
|
|
help
|
|
Say Y here to build SPI bus support for MS5611.
|
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
be called ms5611_spi.
|
|
|
|
config MS5637
|
|
tristate "Measurement Specialties MS5637 pressure & temperature sensor"
|
|
depends on I2C
|
|
select IIO_MS_SENSORS_I2C
|
|
help
|
|
If you say yes here you get support for the Measurement Specialties
|
|
MS5637 pressure and temperature sensor.
|
|
This driver is also used for MS8607 temperature, pressure & humidity
|
|
sensor
|
|
|
|
This driver can also be built as a module. If so, the module will
|
|
be called ms5637.
|
|
|
|
config IIO_ST_PRESS
|
|
tristate "STMicroelectronics pressure sensor Driver"
|
|
depends on (I2C || SPI_MASTER) && SYSFS
|
|
select IIO_ST_SENSORS_CORE
|
|
select IIO_ST_PRESS_I2C if (I2C)
|
|
select IIO_ST_PRESS_SPI if (SPI_MASTER)
|
|
select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
|
|
help
|
|
Say yes here to build support for STMicroelectronics pressure
|
|
sensors: LPS001WP, LPS25H, LPS331AP.
|
|
|
|
This driver can also be built as a module. If so, these modules
|
|
will be created:
|
|
- st_pressure (core functions for the driver [it is mandatory]);
|
|
- st_pressure_i2c (necessary for the I2C devices [optional*]);
|
|
- st_pressure_spi (necessary for the SPI devices [optional*]);
|
|
|
|
(*) one of these is necessary to do something.
|
|
|
|
config IIO_ST_PRESS_I2C
|
|
tristate
|
|
depends on IIO_ST_PRESS
|
|
depends on IIO_ST_SENSORS_I2C
|
|
|
|
config IIO_ST_PRESS_SPI
|
|
tristate
|
|
depends on IIO_ST_PRESS
|
|
depends on IIO_ST_SENSORS_SPI
|
|
|
|
config T5403
|
|
tristate "EPCOS T5403 digital barometric pressure sensor driver"
|
|
depends on I2C
|
|
help
|
|
Say yes here to build support for the EPCOS T5403 pressure sensor
|
|
connected via I2C.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called t5403.
|
|
|
|
endmenu
|