| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | # |
|---|
| 2 | 3 | # Accelerometer drivers |
|---|
| 3 | 4 | # |
|---|
| .. | .. |
|---|
| 6 | 7 | menu "Accelerometers" |
|---|
| 7 | 8 | |
|---|
| 8 | 9 | config ADIS16201 |
|---|
| 9 | | - tristate "Analog Devices ADIS16201 Dual-Axis Digital Inclinometer and Accelerometer" |
|---|
| 10 | | - depends on SPI |
|---|
| 11 | | - select IIO_ADIS_LIB |
|---|
| 12 | | - select IIO_ADIS_LIB_BUFFER if IIO_BUFFER |
|---|
| 13 | | - help |
|---|
| 14 | | - Say Y here to build support for Analog Devices adis16201 dual-axis |
|---|
| 15 | | - digital inclinometer and accelerometer. |
|---|
| 10 | + tristate "Analog Devices ADIS16201 Dual-Axis Digital Inclinometer and Accelerometer" |
|---|
| 11 | + depends on SPI |
|---|
| 12 | + select IIO_ADIS_LIB |
|---|
| 13 | + select IIO_ADIS_LIB_BUFFER if IIO_BUFFER |
|---|
| 14 | + help |
|---|
| 15 | + Say Y here to build support for Analog Devices adis16201 dual-axis |
|---|
| 16 | + digital inclinometer and accelerometer. |
|---|
| 16 | 17 | |
|---|
| 17 | | - To compile this driver as a module, say M here: the module will |
|---|
| 18 | | - be called adis16201. |
|---|
| 18 | + To compile this driver as a module, say M here: the module will |
|---|
| 19 | + be called adis16201. |
|---|
| 19 | 20 | |
|---|
| 20 | 21 | config ADIS16209 |
|---|
| 21 | | - tristate "Analog Devices ADIS16209 Dual-Axis Digital Inclinometer and Accelerometer" |
|---|
| 22 | | - depends on SPI |
|---|
| 23 | | - select IIO_ADIS_LIB |
|---|
| 24 | | - select IIO_ADIS_LIB_BUFFER if IIO_BUFFER |
|---|
| 25 | | - help |
|---|
| 26 | | - Say Y here to build support for Analog Devices adis16209 dual-axis digital inclinometer |
|---|
| 27 | | - and accelerometer. |
|---|
| 22 | + tristate "Analog Devices ADIS16209 Dual-Axis Digital Inclinometer and Accelerometer" |
|---|
| 23 | + depends on SPI |
|---|
| 24 | + select IIO_ADIS_LIB |
|---|
| 25 | + select IIO_ADIS_LIB_BUFFER if IIO_BUFFER |
|---|
| 26 | + help |
|---|
| 27 | + Say Y here to build support for Analog Devices adis16209 dual-axis digital inclinometer |
|---|
| 28 | + and accelerometer. |
|---|
| 28 | 29 | |
|---|
| 29 | | - To compile this driver as a module, say M here: the module will be |
|---|
| 30 | | - called adis16209. |
|---|
| 30 | + To compile this driver as a module, say M here: the module will be |
|---|
| 31 | + called adis16209. |
|---|
| 31 | 32 | |
|---|
| 32 | 33 | config ADXL345 |
|---|
| 33 | 34 | tristate |
|---|
| .. | .. |
|---|
| 60 | 61 | will be called adxl345_spi and you will also get adxl345_core |
|---|
| 61 | 62 | for the core module. |
|---|
| 62 | 63 | |
|---|
| 63 | | -config BMA180 |
|---|
| 64 | | - tristate "Bosch BMA180/BMA250 3-Axis Accelerometer Driver" |
|---|
| 64 | +config ADXL372 |
|---|
| 65 | + tristate |
|---|
| 66 | + select IIO_BUFFER |
|---|
| 67 | + select IIO_TRIGGERED_BUFFER |
|---|
| 68 | + |
|---|
| 69 | +config ADXL372_SPI |
|---|
| 70 | + tristate "Analog Devices ADXL372 3-Axis Accelerometer SPI Driver" |
|---|
| 71 | + depends on SPI |
|---|
| 72 | + select ADXL372 |
|---|
| 73 | + select REGMAP_SPI |
|---|
| 74 | + help |
|---|
| 75 | + Say yes here to add support for the Analog Devices ADXL372 triaxial |
|---|
| 76 | + acceleration sensor. |
|---|
| 77 | + To compile this driver as a module, choose M here: the |
|---|
| 78 | + module will be called adxl372_spi. |
|---|
| 79 | + |
|---|
| 80 | +config ADXL372_I2C |
|---|
| 81 | + tristate "Analog Devices ADXL372 3-Axis Accelerometer I2C Driver" |
|---|
| 65 | 82 | depends on I2C |
|---|
| 83 | + select ADXL372 |
|---|
| 84 | + select REGMAP_I2C |
|---|
| 85 | + help |
|---|
| 86 | + Say yes here to add support for the Analog Devices ADXL372 triaxial |
|---|
| 87 | + acceleration sensor. |
|---|
| 88 | + To compile this driver as a module, choose M here: the |
|---|
| 89 | + module will be called adxl372_i2c. |
|---|
| 90 | + |
|---|
| 91 | +config BMA180 |
|---|
| 92 | + tristate "Bosch BMA023/BMA1x0/BMA25x 3-Axis Accelerometer Driver" |
|---|
| 93 | + depends on I2C && INPUT_BMA150=n |
|---|
| 66 | 94 | select IIO_BUFFER |
|---|
| 67 | 95 | select IIO_TRIGGERED_BUFFER |
|---|
| 68 | 96 | help |
|---|
| 69 | | - Say Y here if you want to build a driver for the Bosch BMA180 or |
|---|
| 70 | | - BMA250 triaxial acceleration sensor. |
|---|
| 97 | + Say Y here if you want to build a driver for the Bosch BMA023, BMA150 |
|---|
| 98 | + BMA180, SMB380, or BMA25x triaxial acceleration sensor. |
|---|
| 71 | 99 | |
|---|
| 72 | 100 | To compile this driver as a module, choose M here: the |
|---|
| 73 | 101 | module will be called bma180. |
|---|
| 74 | 102 | |
|---|
| 75 | 103 | config BMA220 |
|---|
| 76 | | - tristate "Bosch BMA220 3-Axis Accelerometer Driver" |
|---|
| 104 | + tristate "Bosch BMA220 3-Axis Accelerometer Driver" |
|---|
| 77 | 105 | depends on SPI |
|---|
| 78 | 106 | select IIO_BUFFER |
|---|
| 79 | 107 | select IIO_TRIGGERED_BUFFER |
|---|
| 80 | | - help |
|---|
| 81 | | - Say yes here to add support for the Bosch BMA220 triaxial |
|---|
| 82 | | - acceleration sensor. |
|---|
| 108 | + help |
|---|
| 109 | + Say yes here to add support for the Bosch BMA220 triaxial |
|---|
| 110 | + acceleration sensor. |
|---|
| 83 | 111 | |
|---|
| 84 | | - To compile this driver as a module, choose M here: the |
|---|
| 85 | | - module will be called bma220_spi. |
|---|
| 112 | + To compile this driver as a module, choose M here: the |
|---|
| 113 | + module will be called bma220_spi. |
|---|
| 114 | + |
|---|
| 115 | +config BMA400 |
|---|
| 116 | + tristate "Bosch BMA400 3-Axis Accelerometer Driver" |
|---|
| 117 | + select REGMAP |
|---|
| 118 | + select BMA400_I2C if I2C |
|---|
| 119 | + select BMA400_SPI if SPI |
|---|
| 120 | + help |
|---|
| 121 | + Say Y here if you want to build a driver for the Bosch BMA400 |
|---|
| 122 | + triaxial acceleration sensor. |
|---|
| 123 | + |
|---|
| 124 | + To compile this driver as a module, choose M here: the |
|---|
| 125 | + module will be called bma400_core and you will also get |
|---|
| 126 | + bma400_i2c if I2C is enabled and bma400_spi if SPI is |
|---|
| 127 | + enabled. |
|---|
| 128 | + |
|---|
| 129 | +config BMA400_I2C |
|---|
| 130 | + tristate |
|---|
| 131 | + depends on BMA400 |
|---|
| 132 | + |
|---|
| 133 | +config BMA400_SPI |
|---|
| 134 | + tristate |
|---|
| 135 | + depends on BMA400 |
|---|
| 86 | 136 | |
|---|
| 87 | 137 | config BMC150_ACCEL |
|---|
| 88 | 138 | tristate "Bosch BMC150 Accelerometer Driver" |
|---|
| .. | .. |
|---|
| 161 | 211 | config HID_SENSOR_ACCEL_3D |
|---|
| 162 | 212 | depends on HID_SENSOR_HUB |
|---|
| 163 | 213 | select IIO_BUFFER |
|---|
| 164 | | - select IIO_TRIGGERED_BUFFER |
|---|
| 165 | 214 | select HID_SENSOR_IIO_COMMON |
|---|
| 166 | 215 | select HID_SENSOR_IIO_TRIGGER |
|---|
| 167 | 216 | tristate "HID Accelerometers 3D" |
|---|
| .. | .. |
|---|
| 174 | 223 | |
|---|
| 175 | 224 | config IIO_CROS_EC_ACCEL_LEGACY |
|---|
| 176 | 225 | tristate "ChromeOS EC Legacy Accelerometer Sensor" |
|---|
| 177 | | - select IIO_BUFFER |
|---|
| 178 | | - select IIO_TRIGGERED_BUFFER |
|---|
| 179 | | - select CROS_EC_LPC_REGISTER_DEVICE |
|---|
| 226 | + depends on IIO_CROS_EC_SENSORS_CORE |
|---|
| 180 | 227 | help |
|---|
| 181 | 228 | Say yes here to get support for accelerometers on Chromebook using |
|---|
| 182 | 229 | legacy EC firmware. |
|---|
| .. | .. |
|---|
| 196 | 243 | Say yes here to build support for STMicroelectronics accelerometers: |
|---|
| 197 | 244 | LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC, |
|---|
| 198 | 245 | LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL, |
|---|
| 199 | | - LNG2DM |
|---|
| 246 | + LNG2DM, LIS3DE, LIS2DE12, LIS2HH12 |
|---|
| 200 | 247 | |
|---|
| 201 | 248 | This driver can also be built as a module. If so, these modules |
|---|
| 202 | 249 | will be created: |
|---|