2019-05-19 12:07:45 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2012-09-05 12:56:00 +00:00
|
|
|
#
|
|
|
|
# Accelerometer drivers
|
|
|
|
#
|
2013-07-15 07:45:00 +00:00
|
|
|
# When adding new entries keep the list in alphabetical order
|
|
|
|
|
2012-09-05 12:56:00 +00:00
|
|
|
menu "Accelerometers"
|
|
|
|
|
2018-03-22 19:12:45 +00:00
|
|
|
config ADIS16201
|
2019-03-06 14:52:23 +00:00
|
|
|
tristate "Analog Devices ADIS16201 Dual-Axis Digital Inclinometer and Accelerometer"
|
|
|
|
depends on SPI
|
|
|
|
select IIO_ADIS_LIB
|
|
|
|
select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
|
|
|
|
help
|
|
|
|
Say Y here to build support for Analog Devices adis16201 dual-axis
|
|
|
|
digital inclinometer and accelerometer.
|
2018-03-22 19:12:45 +00:00
|
|
|
|
2019-03-06 14:52:23 +00:00
|
|
|
To compile this driver as a module, say M here: the module will
|
|
|
|
be called adis16201.
|
2018-03-22 19:12:45 +00:00
|
|
|
|
2018-03-29 09:22:51 +00:00
|
|
|
config ADIS16209
|
2019-03-06 14:52:23 +00:00
|
|
|
tristate "Analog Devices ADIS16209 Dual-Axis Digital Inclinometer and Accelerometer"
|
|
|
|
depends on SPI
|
|
|
|
select IIO_ADIS_LIB
|
|
|
|
select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
|
|
|
|
help
|
|
|
|
Say Y here to build support for Analog Devices adis16209 dual-axis digital inclinometer
|
|
|
|
and accelerometer.
|
2018-03-29 09:22:51 +00:00
|
|
|
|
2019-03-06 14:52:23 +00:00
|
|
|
To compile this driver as a module, say M here: the module will be
|
|
|
|
called adis16209.
|
2018-03-29 09:22:51 +00:00
|
|
|
|
2021-09-01 19:14:54 +00:00
|
|
|
config ADXL313
|
|
|
|
tristate
|
|
|
|
|
|
|
|
config ADXL313_I2C
|
|
|
|
tristate "Analog Devices ADXL313 3-Axis Digital Accelerometer I2C Driver"
|
|
|
|
depends on I2C
|
|
|
|
select ADXL313
|
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
|
|
|
Say Y here if you want to build i2c support for the Analog Devices
|
|
|
|
ADXL313 3-axis digital accelerometer.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called adxl313_i2c and you will also get adxl313_core
|
|
|
|
for the core module.
|
|
|
|
|
|
|
|
config ADXL313_SPI
|
|
|
|
tristate "Analog Devices ADXL313 3-Axis Digital Accelerometer SPI Driver"
|
|
|
|
depends on SPI
|
|
|
|
select ADXL313
|
|
|
|
select REGMAP_SPI
|
|
|
|
help
|
|
|
|
Say Y here if you want to build spi support for the Analog Devices
|
|
|
|
ADXL313 3-axis digital accelerometer.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called adxl313_spi and you will also get adxl313_core
|
|
|
|
for the core module.
|
|
|
|
|
2017-01-31 07:12:56 +00:00
|
|
|
config ADXL345
|
2017-03-04 08:31:25 +00:00
|
|
|
tristate
|
|
|
|
|
|
|
|
config ADXL345_I2C
|
|
|
|
tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer I2C Driver"
|
|
|
|
depends on INPUT_ADXL34X=n
|
2017-01-31 07:12:56 +00:00
|
|
|
depends on I2C
|
2017-03-04 08:31:25 +00:00
|
|
|
select ADXL345
|
2017-03-04 08:31:24 +00:00
|
|
|
select REGMAP_I2C
|
2017-01-31 07:12:56 +00:00
|
|
|
help
|
|
|
|
Say Y here if you want to build support for the Analog Devices
|
2018-07-13 11:50:44 +00:00
|
|
|
ADXL345 or ADXL375 3-axis digital accelerometer.
|
2017-01-31 07:12:56 +00:00
|
|
|
|
2017-03-04 08:31:25 +00:00
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called adxl345_i2c and you will also get adxl345_core
|
|
|
|
for the core module.
|
2017-01-31 07:12:56 +00:00
|
|
|
|
2017-03-04 08:31:26 +00:00
|
|
|
config ADXL345_SPI
|
|
|
|
tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer SPI Driver"
|
|
|
|
depends on INPUT_ADXL34X=n
|
|
|
|
depends on SPI
|
|
|
|
select ADXL345
|
|
|
|
select REGMAP_SPI
|
|
|
|
help
|
|
|
|
Say Y here if you want to build support for the Analog Devices
|
2018-07-13 11:50:44 +00:00
|
|
|
ADXL345 or ADXL375 3-axis digital accelerometer.
|
2017-03-04 08:31:26 +00:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called adxl345_spi and you will also get adxl345_core
|
|
|
|
for the core module.
|
|
|
|
|
2021-08-11 07:30:27 +00:00
|
|
|
config ADXL355
|
|
|
|
tristate
|
|
|
|
|
|
|
|
config ADXL355_I2C
|
|
|
|
tristate "Analog Devices ADXL355 3-Axis Digital Accelerometer I2C Driver"
|
|
|
|
depends on I2C
|
|
|
|
select ADXL355
|
|
|
|
select REGMAP_I2C
|
2021-09-03 18:43:12 +00:00
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
2021-08-11 07:30:27 +00:00
|
|
|
help
|
|
|
|
Say Y here if you want to build i2c support for the Analog Devices
|
|
|
|
ADXL355 3-axis digital accelerometer.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called adxl355_i2c and you will also get adxl355_core
|
|
|
|
for the core module.
|
|
|
|
|
|
|
|
config ADXL355_SPI
|
|
|
|
tristate "Analog Devices ADXL355 3-Axis Digital Accelerometer SPI Driver"
|
|
|
|
depends on SPI
|
|
|
|
select ADXL355
|
|
|
|
select REGMAP_SPI
|
2021-09-03 18:43:12 +00:00
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
2021-08-11 07:30:27 +00:00
|
|
|
help
|
|
|
|
Say Y here if you want to build spi support for the Analog Devices
|
|
|
|
ADXL355 3-axis digital accelerometer.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called adxl355_spi and you will also get adxl355_core
|
|
|
|
for the core module.
|
|
|
|
|
2022-02-14 07:38:10 +00:00
|
|
|
config ADXL367
|
|
|
|
tristate
|
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
|
|
|
|
|
|
|
config ADXL367_SPI
|
|
|
|
tristate "Analog Devices ADXL367 3-Axis Accelerometer SPI Driver"
|
|
|
|
depends on SPI
|
|
|
|
select ADXL367
|
|
|
|
select REGMAP_SPI
|
|
|
|
help
|
|
|
|
Say yes here to add support for the Analog Devices ADXL367 triaxial
|
|
|
|
acceleration sensor.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called adxl367_spi.
|
|
|
|
|
|
|
|
config ADXL367_I2C
|
|
|
|
tristate "Analog Devices ADXL367 3-Axis Accelerometer I2C Driver"
|
|
|
|
depends on I2C
|
|
|
|
select ADXL367
|
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
|
|
|
Say yes here to add support for the Analog Devices ADXL367 triaxial
|
|
|
|
acceleration sensor.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called adxl367_i2c.
|
|
|
|
|
2018-08-10 08:46:18 +00:00
|
|
|
config ADXL372
|
2018-09-04 14:11:31 +00:00
|
|
|
tristate
|
2018-08-10 08:46:18 +00:00
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
2018-09-04 14:11:31 +00:00
|
|
|
|
|
|
|
config ADXL372_SPI
|
|
|
|
tristate "Analog Devices ADXL372 3-Axis Accelerometer SPI Driver"
|
|
|
|
depends on SPI
|
|
|
|
select ADXL372
|
|
|
|
select REGMAP_SPI
|
2018-08-10 08:46:18 +00:00
|
|
|
help
|
|
|
|
Say yes here to add support for the Analog Devices ADXL372 triaxial
|
|
|
|
acceleration sensor.
|
|
|
|
To compile this driver as a module, choose M here: the
|
2018-09-04 14:11:31 +00:00
|
|
|
module will be called adxl372_spi.
|
2018-08-10 08:46:18 +00:00
|
|
|
|
2018-09-04 14:12:32 +00:00
|
|
|
config ADXL372_I2C
|
|
|
|
tristate "Analog Devices ADXL372 3-Axis Accelerometer I2C Driver"
|
|
|
|
depends on I2C
|
|
|
|
select ADXL372
|
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
|
|
|
Say yes here to add support for the Analog Devices ADXL372 triaxial
|
|
|
|
acceleration sensor.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called adxl372_i2c.
|
|
|
|
|
2013-08-28 11:01:00 +00:00
|
|
|
config BMA180
|
2021-06-11 08:09:03 +00:00
|
|
|
tristate "Bosch BMA023/BMA1x0/BMA250 3-Axis Accelerometer Driver"
|
2020-05-14 20:48:56 +00:00
|
|
|
depends on I2C && INPUT_BMA150=n
|
2013-08-28 11:01:00 +00:00
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
|
|
|
help
|
2020-05-14 20:49:01 +00:00
|
|
|
Say Y here if you want to build a driver for the Bosch BMA023, BMA150
|
2021-06-11 08:09:03 +00:00
|
|
|
BMA180, BMA250 or SMB380 triaxial acceleration sensor.
|
2013-08-28 11:01:00 +00:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called bma180.
|
|
|
|
|
2016-05-05 15:48:55 +00:00
|
|
|
config BMA220
|
2019-03-06 14:52:23 +00:00
|
|
|
tristate "Bosch BMA220 3-Axis Accelerometer Driver"
|
2016-05-05 15:48:55 +00:00
|
|
|
depends on SPI
|
2016-07-19 00:56:43 +00:00
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
2019-03-06 14:52:23 +00:00
|
|
|
help
|
|
|
|
Say yes here to add support for the Bosch BMA220 triaxial
|
|
|
|
acceleration sensor.
|
2016-05-05 15:48:55 +00:00
|
|
|
|
2019-03-06 14:52:23 +00:00
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called bma220_spi.
|
2016-05-05 15:48:55 +00:00
|
|
|
|
2019-12-20 16:00:50 +00:00
|
|
|
config BMA400
|
|
|
|
tristate "Bosch BMA400 3-Axis Accelerometer Driver"
|
|
|
|
select REGMAP
|
2022-05-05 13:30:15 +00:00
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
2019-12-20 16:00:50 +00:00
|
|
|
select BMA400_I2C if I2C
|
2020-05-30 19:10:10 +00:00
|
|
|
select BMA400_SPI if SPI
|
2019-12-20 16:00:50 +00:00
|
|
|
help
|
|
|
|
Say Y here if you want to build a driver for the Bosch BMA400
|
|
|
|
triaxial acceleration sensor.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called bma400_core and you will also get
|
2020-05-30 19:10:10 +00:00
|
|
|
bma400_i2c if I2C is enabled and bma400_spi if SPI is
|
|
|
|
enabled.
|
2019-12-20 16:00:50 +00:00
|
|
|
|
|
|
|
config BMA400_I2C
|
|
|
|
tristate
|
|
|
|
depends on BMA400
|
|
|
|
|
2020-05-30 19:10:10 +00:00
|
|
|
config BMA400_SPI
|
|
|
|
tristate
|
|
|
|
depends on BMA400
|
|
|
|
|
2014-05-08 21:57:00 +00:00
|
|
|
config BMC150_ACCEL
|
|
|
|
tristate "Bosch BMC150 Accelerometer Driver"
|
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
2015-09-21 10:55:13 +00:00
|
|
|
select REGMAP
|
2015-09-21 10:55:15 +00:00
|
|
|
select BMC150_ACCEL_I2C if I2C
|
2015-09-21 10:55:16 +00:00
|
|
|
select BMC150_ACCEL_SPI if SPI
|
2014-05-08 21:57:00 +00:00
|
|
|
help
|
2014-02-09 10:30:00 +00:00
|
|
|
Say yes here to build support for the following Bosch accelerometers:
|
2021-08-02 15:56:57 +00:00
|
|
|
BMA222, BMA222E, BMA250E, BMA253, BMA254, BMA255, BMA280, BMC150, BMC156
|
|
|
|
BMI055.
|
2021-06-11 08:08:55 +00:00
|
|
|
|
|
|
|
Note that some of these are combo modules:
|
2021-08-02 15:56:57 +00:00
|
|
|
- BMC150/BMC156: accelerometer and magnetometer
|
2021-06-11 08:08:55 +00:00
|
|
|
- BMI055: accelerometer and gyroscope
|
2014-02-09 10:30:00 +00:00
|
|
|
|
2014-05-08 21:57:00 +00:00
|
|
|
This driver is only implementing accelerometer part, which has
|
|
|
|
its own address and register map.
|
|
|
|
|
2015-09-21 10:55:15 +00:00
|
|
|
config BMC150_ACCEL_I2C
|
|
|
|
tristate
|
|
|
|
select REGMAP_I2C
|
|
|
|
|
2015-09-21 10:55:16 +00:00
|
|
|
config BMC150_ACCEL_SPI
|
|
|
|
tristate
|
|
|
|
select REGMAP_SPI
|
|
|
|
|
2021-01-25 15:07:32 +00:00
|
|
|
config BMI088_ACCEL
|
|
|
|
tristate "Bosch BMI088 Accelerometer Driver"
|
|
|
|
depends on SPI
|
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
|
|
|
select REGMAP
|
|
|
|
select BMI088_ACCEL_SPI
|
|
|
|
help
|
|
|
|
Say yes here to build support for the Bosch BMI088 accelerometer.
|
|
|
|
|
|
|
|
This is a combo module with both accelerometer and gyroscope. This
|
|
|
|
driver only implements the accelerometer part, which has its own
|
|
|
|
address and register map. BMG160 provides the gyroscope driver.
|
|
|
|
|
|
|
|
config BMI088_ACCEL_SPI
|
|
|
|
tristate
|
|
|
|
select REGMAP_SPI
|
|
|
|
|
2016-10-08 18:15:27 +00:00
|
|
|
config DA280
|
|
|
|
tristate "MiraMEMS DA280 3-axis 14-bit digital accelerometer driver"
|
|
|
|
depends on I2C
|
|
|
|
help
|
|
|
|
Say yes here to build support for the MiraMEMS DA280 3-axis 14-bit
|
|
|
|
digital accelerometer.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called da280.
|
|
|
|
|
2016-10-08 12:34:25 +00:00
|
|
|
config DA311
|
|
|
|
tristate "MiraMEMS DA311 3-axis 12-bit digital accelerometer driver"
|
|
|
|
depends on I2C
|
|
|
|
help
|
|
|
|
Say yes here to build support for the MiraMEMS DA311 3-axis 12-bit
|
|
|
|
digital accelerometer.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called da311.
|
|
|
|
|
2016-07-25 15:21:18 +00:00
|
|
|
config DMARD06
|
|
|
|
tristate "Domintech DMARD06 Digital Accelerometer Driver"
|
|
|
|
depends on I2C
|
|
|
|
help
|
|
|
|
Say yes here to build support for the Domintech low-g tri-axial
|
|
|
|
digital accelerometers: DMARD05, DMARD06, DMARD07.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called dmard06.
|
|
|
|
|
2016-07-26 21:23:48 +00:00
|
|
|
config DMARD09
|
|
|
|
tristate "Domintech DMARD09 3-axis Accelerometer Driver"
|
|
|
|
depends on I2C
|
|
|
|
help
|
|
|
|
Say yes here to get support for the Domintech DMARD09 3-axis
|
|
|
|
accelerometer.
|
|
|
|
|
|
|
|
Choosing M will build the driver as a module. If so, the module
|
|
|
|
will be called dmard09.
|
|
|
|
|
2016-10-08 12:34:24 +00:00
|
|
|
config DMARD10
|
|
|
|
tristate "Domintech DMARD10 3-axis Accelerometer Driver"
|
|
|
|
depends on I2C
|
|
|
|
help
|
|
|
|
Say yes here to get support for the Domintech DMARD10 3-axis
|
|
|
|
accelerometer.
|
|
|
|
|
|
|
|
Choosing M will build the driver as a module. If so, the module
|
|
|
|
will be called dmard10.
|
|
|
|
|
2021-05-06 07:09:35 +00:00
|
|
|
config FXLS8962AF
|
|
|
|
tristate
|
2021-07-21 15:13:20 +00:00
|
|
|
depends on I2C || !I2C # cannot be built-in for modular I2C
|
2021-05-06 07:09:35 +00:00
|
|
|
|
|
|
|
config FXLS8962AF_I2C
|
|
|
|
tristate "NXP FXLS8962AF/FXLS8964AF Accelerometer I2C Driver"
|
|
|
|
depends on I2C
|
|
|
|
select FXLS8962AF
|
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
|
|
|
Say yes here to build support for the NXP 3-axis automotive
|
|
|
|
accelerometer FXLS8962AF/FXLS8964AF with I2C support.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called fxls8962af_i2c.
|
|
|
|
|
|
|
|
config FXLS8962AF_SPI
|
|
|
|
tristate "NXP FXLS8962AF/FXLS8964AF Accelerometer SPI Driver"
|
|
|
|
depends on SPI
|
2021-07-21 15:13:20 +00:00
|
|
|
depends on I2C || !I2C
|
2021-05-06 07:09:35 +00:00
|
|
|
select FXLS8962AF
|
|
|
|
select REGMAP_SPI
|
|
|
|
help
|
|
|
|
Say yes here to build support for the NXP 3-axis automotive
|
|
|
|
accelerometer FXLS8962AF/FXLS8964AF with SPI support.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called fxls8962af_spi.
|
|
|
|
|
2012-09-05 12:56:00 +00:00
|
|
|
config HID_SENSOR_ACCEL_3D
|
|
|
|
depends on HID_SENSOR_HUB
|
|
|
|
select IIO_BUFFER
|
|
|
|
select HID_SENSOR_IIO_COMMON
|
2012-12-11 18:21:00 +00:00
|
|
|
select HID_SENSOR_IIO_TRIGGER
|
2012-10-13 08:06:00 +00:00
|
|
|
tristate "HID Accelerometers 3D"
|
2012-09-05 12:56:00 +00:00
|
|
|
help
|
|
|
|
Say yes here to build support for the HID SENSOR
|
|
|
|
accelerometers 3D.
|
|
|
|
|
2014-12-30 18:57:55 +00:00
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called hid-sensor-accel-3d.
|
|
|
|
|
2017-10-12 17:33:23 +00:00
|
|
|
config IIO_CROS_EC_ACCEL_LEGACY
|
|
|
|
tristate "ChromeOS EC Legacy Accelerometer Sensor"
|
2019-07-15 23:14:53 +00:00
|
|
|
depends on IIO_CROS_EC_SENSORS_CORE
|
2017-10-12 17:33:23 +00:00
|
|
|
help
|
|
|
|
Say yes here to get support for accelerometers on Chromebook using
|
|
|
|
legacy EC firmware.
|
|
|
|
Sensor data is retrieved through IO memory.
|
|
|
|
Newer devices should use IIO_CROS_EC_SENSORS.
|
|
|
|
|
iio:accel: Add STMicroelectronics accelerometers driver
This patch adds a generic accelerometer driver for STMicroelectronics
accelerometers, currently it supports:
LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
LIS331DLH, LSM303DL, LSM303DLM, LSM330.
Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2013-01-25 23:44:00 +00:00
|
|
|
config IIO_ST_ACCEL_3AXIS
|
|
|
|
tristate "STMicroelectronics accelerometers 3-Axis Driver"
|
|
|
|
depends on (I2C || SPI_MASTER) && SYSFS
|
2017-01-20 09:46:05 +00:00
|
|
|
depends on !SENSORS_LIS3_I2C
|
|
|
|
depends on !SENSORS_LIS3_SPI
|
iio:accel: Add STMicroelectronics accelerometers driver
This patch adds a generic accelerometer driver for STMicroelectronics
accelerometers, currently it supports:
LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
LIS331DLH, LSM303DL, LSM303DLM, LSM330.
Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2013-01-25 23:44:00 +00:00
|
|
|
select IIO_ST_SENSORS_CORE
|
|
|
|
select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
|
|
|
|
help
|
|
|
|
Say yes here to build support for STMicroelectronics accelerometers:
|
|
|
|
LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
|
2016-10-25 21:09:03 +00:00
|
|
|
LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL,
|
2020-03-30 14:19:23 +00:00
|
|
|
LNG2DM, LIS3DE, LIS2DE12, LIS2HH12
|
iio:accel: Add STMicroelectronics accelerometers driver
This patch adds a generic accelerometer driver for STMicroelectronics
accelerometers, currently it supports:
LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
LIS331DLH, LSM303DL, LSM303DLM, LSM330.
Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2013-01-25 23:44:00 +00:00
|
|
|
|
2022-01-10 15:24:32 +00:00
|
|
|
Also need to enable at least one of I2C and SPI interface drivers
|
|
|
|
below.
|
iio:accel: Add STMicroelectronics accelerometers driver
This patch adds a generic accelerometer driver for STMicroelectronics
accelerometers, currently it supports:
LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
LIS331DLH, LSM303DL, LSM303DLM, LSM330.
Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2013-01-25 23:44:00 +00:00
|
|
|
|
|
|
|
config IIO_ST_ACCEL_I2C_3AXIS
|
2022-01-10 15:24:32 +00:00
|
|
|
tristate "STMicroelectronics accelerometers 3-Axis I2C Interface"
|
|
|
|
depends on I2C && IIO_ST_ACCEL_3AXIS
|
|
|
|
default I2C && IIO_ST_ACCEL_3AXIS
|
|
|
|
select IIO_ST_SENSORS_I2C
|
|
|
|
help
|
|
|
|
Build support for STMicroelectronics accelerometers I2C interface.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here. The module
|
|
|
|
will be called st_accel_i2c.
|
iio:accel: Add STMicroelectronics accelerometers driver
This patch adds a generic accelerometer driver for STMicroelectronics
accelerometers, currently it supports:
LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
LIS331DLH, LSM303DL, LSM303DLM, LSM330.
Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2013-01-25 23:44:00 +00:00
|
|
|
|
|
|
|
config IIO_ST_ACCEL_SPI_3AXIS
|
2022-01-10 15:24:32 +00:00
|
|
|
tristate "STMicroelectronics accelerometers 3-Axis SPI Interface"
|
|
|
|
depends on SPI_MASTER && IIO_ST_ACCEL_3AXIS
|
|
|
|
default SPI_MASTER && IIO_ST_ACCEL_3AXIS
|
|
|
|
select IIO_ST_SENSORS_SPI
|
|
|
|
help
|
|
|
|
Build support for STMicroelectronics accelerometers SPI interface.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here. The module
|
|
|
|
will be called st_accel_spi.
|
iio:accel: Add STMicroelectronics accelerometers driver
This patch adds a generic accelerometer driver for STMicroelectronics
accelerometers, currently it supports:
LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
LIS331DLH, LSM303DL, LSM303DLM, LSM330.
Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2013-01-25 23:44:00 +00:00
|
|
|
|
2013-07-15 07:45:00 +00:00
|
|
|
config KXSD9
|
|
|
|
tristate "Kionix KXSD9 Accelerometer Driver"
|
2016-09-01 09:44:44 +00:00
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
2013-07-15 07:45:00 +00:00
|
|
|
help
|
|
|
|
Say yes here to build support for the Kionix KXSD9 accelerometer.
|
2016-09-01 09:44:41 +00:00
|
|
|
It can be accessed using an (optional) SPI or I2C interface.
|
2013-07-15 07:45:00 +00:00
|
|
|
|
2014-12-30 18:57:55 +00:00
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called kxsd9.
|
|
|
|
|
2016-09-01 09:44:38 +00:00
|
|
|
config KXSD9_SPI
|
|
|
|
tristate "Kionix KXSD9 SPI transport"
|
|
|
|
depends on KXSD9
|
|
|
|
depends on SPI
|
|
|
|
default KXSD9
|
2016-09-01 09:44:40 +00:00
|
|
|
select REGMAP_SPI
|
2016-09-01 09:44:38 +00:00
|
|
|
help
|
|
|
|
Say yes here to enable the Kionix KXSD9 accelerometer
|
|
|
|
SPI transport channel.
|
|
|
|
|
2016-09-01 09:44:41 +00:00
|
|
|
config KXSD9_I2C
|
|
|
|
tristate "Kionix KXSD9 I2C transport"
|
|
|
|
depends on KXSD9
|
|
|
|
depends on I2C
|
|
|
|
default KXSD9
|
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
|
|
|
Say yes here to enable the Kionix KXSD9 accelerometer
|
|
|
|
I2C transport channel.
|
|
|
|
|
2014-11-06 23:07:00 +00:00
|
|
|
config KXCJK1013
|
|
|
|
tristate "Kionix 3-Axis Accelerometer Driver"
|
|
|
|
depends on I2C
|
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
|
|
|
help
|
|
|
|
Say Y here if you want to build a driver for the Kionix KXCJK-1013
|
2017-09-17 15:01:04 +00:00
|
|
|
triaxial acceleration sensor. This driver also supports KXCJ9-1008,
|
|
|
|
KXTJ2-1009 and KXTF9.
|
2014-11-06 23:07:00 +00:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
|
|
be called kxcjk-1013.
|
|
|
|
|
2016-09-12 07:43:50 +00:00
|
|
|
config MC3230
|
|
|
|
tristate "mCube MC3230 Digital Accelerometer Driver"
|
|
|
|
depends on I2C
|
|
|
|
help
|
|
|
|
Say yes here to build support for the mCube MC3230 low-g tri-axial
|
|
|
|
digital accelerometer.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called mc3230.
|
|
|
|
|
2015-10-31 12:49:16 +00:00
|
|
|
config MMA7455
|
|
|
|
tristate
|
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
|
|
|
|
|
|
|
config MMA7455_I2C
|
|
|
|
tristate "Freescale MMA7455L/MMA7456L Accelerometer I2C Driver"
|
|
|
|
depends on I2C
|
|
|
|
select MMA7455
|
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
|
|
|
Say yes here to build support for the Freescale MMA7455L and
|
|
|
|
MMA7456L 3-axis accelerometer.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called mma7455_i2c.
|
|
|
|
|
|
|
|
config MMA7455_SPI
|
|
|
|
tristate "Freescale MMA7455L/MMA7456L Accelerometer SPI Driver"
|
|
|
|
depends on SPI_MASTER
|
|
|
|
select MMA7455
|
|
|
|
select REGMAP_SPI
|
|
|
|
help
|
|
|
|
Say yes here to build support for the Freescale MMA7455L and
|
|
|
|
MMA7456L 3-axis accelerometer.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called mma7455_spi.
|
|
|
|
|
2016-05-03 12:05:45 +00:00
|
|
|
config MMA7660
|
|
|
|
tristate "Freescale MMA7660FC 3-Axis Accelerometer Driver"
|
|
|
|
depends on I2C
|
|
|
|
help
|
|
|
|
Say yes here to get support for the Freescale MMA7660FC 3-Axis
|
|
|
|
accelerometer.
|
|
|
|
|
|
|
|
Choosing M will build the driver as a module. If so, the module
|
|
|
|
will be called mma7660.
|
|
|
|
|
2015-08-02 20:43:52 +00:00
|
|
|
config MMA8452
|
2016-06-03 12:51:52 +00:00
|
|
|
tristate "Freescale / NXP MMA8452Q and similar Accelerometers Driver"
|
2015-08-02 20:43:52 +00:00
|
|
|
depends on I2C
|
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
|
|
|
help
|
2016-06-03 12:51:52 +00:00
|
|
|
Say yes here to build support for the following Freescale / NXP 3-axis
|
2016-03-09 11:01:29 +00:00
|
|
|
accelerometers: MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC,
|
|
|
|
FXLS8471Q.
|
2015-08-02 20:43:52 +00:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called mma8452.
|
|
|
|
|
2015-01-11 19:10:15 +00:00
|
|
|
config MMA9551_CORE
|
|
|
|
tristate
|
|
|
|
|
2014-11-24 09:43:15 +00:00
|
|
|
config MMA9551
|
|
|
|
tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver"
|
|
|
|
depends on I2C
|
2015-01-11 19:10:15 +00:00
|
|
|
select MMA9551_CORE
|
|
|
|
|
2014-11-24 09:43:15 +00:00
|
|
|
help
|
|
|
|
Say yes here to build support for the Freescale MMA9551L
|
|
|
|
Intelligent Motion-Sensing Platform Driver.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called mma9551.
|
|
|
|
|
2015-01-29 18:45:10 +00:00
|
|
|
config MMA9553
|
|
|
|
tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver"
|
|
|
|
depends on I2C
|
|
|
|
select MMA9551_CORE
|
|
|
|
help
|
|
|
|
Say yes here to build support for the Freescale MMA9553L
|
|
|
|
Intelligent Pedometer Platform Driver.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called mma9553.
|
2015-05-12 15:48:42 +00:00
|
|
|
|
2022-08-22 17:49:25 +00:00
|
|
|
config MSA311
|
|
|
|
tristate "MEMSensing Digital 3-Axis Accelerometer Driver"
|
|
|
|
depends on I2C
|
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
|
|
|
Say yes here to build support for the MEMSensing MSA311
|
|
|
|
accelerometer driver.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module will be
|
|
|
|
called msa311.
|
|
|
|
|
2015-08-20 14:37:31 +00:00
|
|
|
config MXC4005
|
|
|
|
tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
|
|
|
|
depends on I2C
|
2015-08-20 14:37:32 +00:00
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
2015-08-20 14:37:31 +00:00
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
|
|
|
Say yes here to build support for the Memsic MXC4005XC 3-axis
|
|
|
|
accelerometer.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M. The module will be
|
|
|
|
called mxc4005.
|
|
|
|
|
2015-10-22 12:44:50 +00:00
|
|
|
config MXC6255
|
|
|
|
tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver"
|
|
|
|
depends on I2C
|
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
|
|
|
Say yes here to build support for the Memsic MXC6255 Orientation
|
|
|
|
Sensing Accelerometer Driver.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module will be
|
|
|
|
called mxc6255.
|
|
|
|
|
2016-10-08 16:39:18 +00:00
|
|
|
config SCA3000
|
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_KFIFO_BUF
|
|
|
|
depends on SPI
|
|
|
|
tristate "VTI SCA3000 series accelerometers"
|
|
|
|
help
|
|
|
|
Say Y here to build support for the VTI SCA3000 series of SPI
|
|
|
|
accelerometers. These devices use a hardware ring buffer.
|
|
|
|
|
|
|
|
To compile this driver as a module, say M here: the module will be
|
|
|
|
called sca3000.
|
|
|
|
|
2021-04-26 08:10:41 +00:00
|
|
|
config SCA3300
|
|
|
|
tristate "Murata SCA3300 3-Axis Accelerometer Driver"
|
|
|
|
depends on SPI
|
|
|
|
select CRC8
|
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
|
|
|
help
|
|
|
|
Say yes here to build support for Murata SCA3300 3-Axis
|
|
|
|
accelerometer.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module will be
|
|
|
|
called sca3300.
|
|
|
|
|
2015-05-12 15:48:42 +00:00
|
|
|
config STK8312
|
|
|
|
tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
|
|
|
|
depends on I2C
|
2015-07-27 22:49:21 +00:00
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
2015-05-12 15:48:42 +00:00
|
|
|
help
|
|
|
|
Say yes here to get support for the Sensortek STK8312 3-axis
|
|
|
|
accelerometer.
|
|
|
|
|
|
|
|
Choosing M will build the driver as a module. If so, the module
|
|
|
|
will be called stk8312.
|
|
|
|
|
2015-05-18 11:49:50 +00:00
|
|
|
config STK8BA50
|
|
|
|
tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
|
|
|
|
depends on I2C
|
2016-07-19 00:56:43 +00:00
|
|
|
select IIO_BUFFER
|
|
|
|
select IIO_TRIGGERED_BUFFER
|
2015-05-18 11:49:50 +00:00
|
|
|
help
|
|
|
|
Say yes here to get support for the Sensortek STK8BA50 3-axis
|
|
|
|
accelerometer.
|
|
|
|
|
|
|
|
Choosing M will build the driver as a module. If so, the module
|
|
|
|
will be called stk8ba50.
|
|
|
|
|
2012-09-05 12:56:00 +00:00
|
|
|
endmenu
|