123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252 |
- # SPDX-License-Identifier: GPL-2.0-only
- #
- # Accelerometer drivers
- #
- # When adding new entries keep the list in alphabetical order
- menu "Accelerometers"
- config IIO_ST_ACC33
- tristate "STMicroelectronics LIS3DH/LIS2DH/LIS2DH12/LSM303AGR/IIS2DH Accelerometer driver"
- depends on (I2C || SPI_MASTER) && SYSFS
- select IIO_ST_ACC33_I2C if (I2C)
- select IIO_ST_ACC33_SPI if (SPI_MASTER)
- select IIO_BUFFER
- select IIO_KFIFO_BUF
- help
- Say yes here to build support for STMicroelectronics accelerometers:
- LIS3DH, LIS2DH, LIS2DH12, LSM303AGR, IIS2DH.
- This driver can also be built as a module. If so, will be created
- these modules:
- - st_ac33_core (core functions for the driver [it is mandatory]);
- - st_ac33_i2c (necessary for the I2C devices [optional*]);
- - st_ac33_spi (necessary for the SPI devices [optional*]);
- (*) one of these is necessary to do something.
- config IIO_ST_ACC33_I2C
- tristate
- depends on IIO_ST_ACC33
- config IIO_ST_ACC33_SPI
- tristate
- depends on IIO_ST_ACC33
- menuconfig IIO_ST_LIS2DS12
- tristate "STMicroelectronics LIS2DS12/LSM303AH Accelerometer Driver"
- depends on (I2C || SPI_MASTER) && SYSFS
- select IIO_BUFFER
- select IIO_TRIGGERED_BUFFER
- select IIO_ST_LIS2DS12_I2C if (I2C)
- select IIO_ST_LIS2DS12_SPI if (SPI)
- help
- Say yes here to build support for the LIS2DS12 and LSM303AH
- accelerometers.
- if IIO_ST_LIS2DS12
- config IIO_ST_LIS2DS12_I2C
- tristate
- depends on IIO_ST_LIS2DS12
- depends on I2C
- config IIO_ST_LIS2DS12_SPI
- tristate
- depends on IIO_ST_LIS2DS12
- depends on SPI
- config ST_LIS2DS12_IIO_LIMIT_FIFO
- int "Limit fifo read lenght (#n byte)"
- depends on IIO_ST_LIS2DS12
- range 0 1536
- default 0
- help
- Limit atomic fifo read to #n byte. In some platform i2c/spi read
- can be limited by software or hardware.
- Set 0 to disable the limit.
- endif #IIO_ST_LIS2DS12
- config IIO_ST_LIS2DW12
- tristate "STMicroelectronics LIS2DW12/IIS2DLPC/AIS2IH Accelerometer Driver"
- depends on (I2C || SPI)
- select IIO_BUFFER
- select IIO_KFIFO_BUF
- select IIO_ST_LIS2DW12_I2C if (I2C)
- select IIO_ST_LIS2DW12_SPI if (SPI)
- help
- Say yes here to build support for the LIS2DW12, IIS2DLPC and AIS2IH accelerometer.
- This driver can also be built as a module. If so, will be created
- these modules:
- - st_lis2dw12 (core functions for the driver [it is mandatory]);
- - st_lis2dw12_i2c (necessary for the I2C devices [optional*]);
- - st_lis2dw12_spi (necessary for the SPI devices [optional*]);
- (*) one of these is necessary to do something.
- config IIO_ST_LIS2DW12_I2C
- tristate
- depends on IIO_ST_LIS2DW12
- depends on I2C
- config IIO_ST_LIS2DW12_SPI
- tristate
- depends on IIO_ST_LIS2DW12
- depends on SPI
- menuconfig IIO_ST_ISM303DAC_ACCEL
- tristate "STMicroelectronics ISM303DAC Accelerometer Driver"
- depends on (I2C || SPI_MASTER) && SYSFS
- select IIO_BUFFER
- select IIO_TRIGGERED_BUFFER
- select IIO_ST_ISM303DAC_ACCEL_I2C if (I2C)
- select IIO_ST_ISM303DAC_ACCEL_SPI if (SPI)
- help
- Say yes here to build support for the ISM303DAC
- accelerometers.
- config IIO_ST_ISM303DAC_ACCEL_I2C
- tristate
- depends on IIO_ST_ISM303DAC_ACCEL
- depends on I2C
- config IIO_ST_ISM303DAC_ACCEL_SPI
- tristate
- depends on IIO_ST_ISM303DAC_ACCEL
- depends on SPI
- config ST_ISM303DAC_ACCEL_IIO_LIMIT_FIFO
- int "Limit fifo read lenght (#n byte)"
- depends on IIO_ST_ISM303DAC_ACCEL
- range 0 1536
- default 0
- help
- Limit atomic fifo read to #n byte. In some platform i2c/spi read
- can be limited by software or hardware.
- Set 0 to disable the limit.
- config IIO_ST_LIS3DHH
- tristate "STMicroelectronics LIS3DHH/IIS3DHHC Accelerometer driver"
- depends on SPI_MASTER && SYSFS
- select IIO_BUFFER
- select IIO_KFIFO_BUF
- help
- Say yes here to build support for STMicroelectronics LIS3DHH and
- IIS3DHHC accelerometers
- This driver can also be built as a module. If so, will be named
- st_lis3dhh
- config IIO_ST_LIS2HH12
- tristate "STMicroelectronics LIS2HH12 Accelerometer driver"
- depends on (I2C || SPI_MASTER) && SYSFS
- select IIO_BUFFER
- select IIO_TRIGGERED_BUFFER
- select IIO_ST_LIS2HH12_I2C if (I2C)
- select IIO_ST_LIS2HH12_SPI if (SPI)
- help
- Say yes here to build support for the LIS2HH12 accelerometer.
- config IIO_ST_LIS2HH12_I2C
- tristate
- depends on IIO_ST_LIS2HH12
- depends on I2C
- config IIO_ST_LIS2HH12_SPI
- tristate
- depends on IIO_ST_LIS2HH12
- config IIO_ST_LIS2DUXS12
- tristate "STMicroelectronics LIS2DUX12/LIS2DUXS12 sensors"
- depends on (I2C || SPI || I3C)
- select IIO_BUFFER
- select IIO_KFIFO_BUF
- select IIO_ST_LIS2DUXS12_I2C if (I2C)
- select IIO_ST_LIS2DUXS12_SPI if (SPI_MASTER)
- select IIO_ST_LIS2DUXS12_I3C if (I3C)
- help
- Say yes here to build support for STMicroelectronics LIS2DUX(S)12 accel
- sensors.
- To compile this driver as a module, choose M here: the module
- will be called lis2duxs12.
- config IIO_ST_LIS2DUXS12_I2C
- tristate
- select REGMAP_I2C
- depends on IIO_ST_LIS2DUXS12
- config IIO_ST_LIS2DUXS12_SPI
- tristate
- select REGMAP_SPI
- depends on IIO_ST_LIS2DUXS12
- config IIO_ST_LIS2DUXS12_I3C
- tristate
- select REGMAP_I3C
- depends on IIO_ST_LIS2DUXS12
- config IIO_ST_H3LIS331DL
- tristate "STMicroelectronics H3LIS331DL/LIS331DLH sensor"
- depends on (I2C || SPI)
- select IIO_BUFFER
- select IIO_KFIFO_BUF
- select IIO_TRIGGERED_BUFFER
- select IIO_ST_H3LIS331DL_I2C if (I2C)
- select IIO_ST_H3LIS331DL_SPI if (SPI_MASTER)
- help
- Say yes here to build support for STMicroelectronics H3LIS331DL and
- LIS331DLH accelerometer sensors.
- To compile this driver as a module, choose M here: the module
- will be called st_h3lis331dl.
- config IIO_ST_H3LIS331DL_I2C
- tristate
- select REGMAP_I2C
- depends on IIO_ST_H3LIS331DL
- config IIO_ST_H3LIS331DL_SPI
- tristate
- select REGMAP_SPI
- depends on IIO_ST_H3LIS331DL
- config IIO_ST_LIS2DU12
- tristate "STMicroelectronics LIS2DU12 Accelerometer Driver"
- depends on (I2C || SPI || I3C)
- select IIO_BUFFER
- select IIO_KFIFO_BUF
- select IIO_ST_LIS2DU12_I2C if (I2C)
- select IIO_ST_LIS2DU12_SPI if (SPI)
- select IIO_ST_LIS2DU12_I3C if (I3C)
- help
- Say yes here to build support for the LIS2DU12 accelerometer.
- This driver can also be built as a module. If so, will be created
- these modules:
- - st_lisdu12 (core functions for the driver [it is mandatory]);
- - st_lisdu12_i2c (necessary for the I2C devices [optional*]);
- - st_lisdu12_spi (necessary for the SPI devices [optional*]);
- - st_lisdu12_i3c (necessary for the I3C devices [optional*]);
- (*) one of these is necessary to do something.
- config IIO_ST_LIS2DU12_I2C
- tristate
- depends on IIO_ST_LIS2DU12
- depends on I2C
- config IIO_ST_LIS2DU12_SPI
- tristate
- depends on IIO_ST_LIS2DU12
- depends on SPI
- config IIO_ST_LIS2DU12_I3C
- tristate
- depends on IIO_ST_LIS2DU12
- depends on I3C
- endmenu
|