145fe6f7dSsrinivas pandruvada# 245fe6f7dSsrinivas pandruvada# Accelerometer drivers 345fe6f7dSsrinivas pandruvada# 43edc84e6SLars-Peter Clausen# When adding new entries keep the list in alphabetical order 53edc84e6SLars-Peter Clausen 645fe6f7dSsrinivas pandruvadamenu "Accelerometers" 745fe6f7dSsrinivas pandruvada 8c6236075SEva Rachel Retuyaconfig ADXL345 9c6236075SEva Rachel Retuya tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer Driver" 10c6236075SEva Rachel Retuya depends on !(INPUT_ADXL34X=y || INPUT_ADXL34X=m) 11c6236075SEva Rachel Retuya depends on I2C 12*31fd2c70SEva Rachel Retuya select REGMAP_I2C 13c6236075SEva Rachel Retuya help 14c6236075SEva Rachel Retuya Say Y here if you want to build support for the Analog Devices 15c6236075SEva Rachel Retuya ADXL345 3-axis digital accelerometer. 16c6236075SEva Rachel Retuya 17c6236075SEva Rachel Retuya To compile this driver as a module, choose M here: the 18c6236075SEva Rachel Retuya module will be called adxl345. 19c6236075SEva Rachel Retuya 20fdadbce0SOleksandr Kravchenkoconfig BMA180 212017cff2SPeter Meerwald tristate "Bosch BMA180/BMA250 3-Axis Accelerometer Driver" 22fdadbce0SOleksandr Kravchenko depends on I2C 23fdadbce0SOleksandr Kravchenko select IIO_BUFFER 24fdadbce0SOleksandr Kravchenko select IIO_TRIGGERED_BUFFER 25fdadbce0SOleksandr Kravchenko help 262017cff2SPeter Meerwald Say Y here if you want to build a driver for the Bosch BMA180 or 272017cff2SPeter Meerwald BMA250 triaxial acceleration sensor. 28fdadbce0SOleksandr Kravchenko 29fdadbce0SOleksandr Kravchenko To compile this driver as a module, choose M here: the 30fdadbce0SOleksandr Kravchenko module will be called bma180. 31fdadbce0SOleksandr Kravchenko 32bf2a5600STiberiu Breanaconfig BMA220 33bf2a5600STiberiu Breana tristate "Bosch BMA220 3-Axis Accelerometer Driver" 34bf2a5600STiberiu Breana depends on SPI 35193e2d4fSAlison Schofield select IIO_BUFFER 36193e2d4fSAlison Schofield select IIO_TRIGGERED_BUFFER 37bf2a5600STiberiu Breana help 38bf2a5600STiberiu Breana Say yes here to add support for the Bosch BMA220 triaxial 39bf2a5600STiberiu Breana acceleration sensor. 40bf2a5600STiberiu Breana 41bf2a5600STiberiu Breana To compile this driver as a module, choose M here: the 42bf2a5600STiberiu Breana module will be called bma220_spi. 43bf2a5600STiberiu Breana 44bd7fe5b7SSrinivas Pandruvadaconfig BMC150_ACCEL 45bd7fe5b7SSrinivas Pandruvada tristate "Bosch BMC150 Accelerometer Driver" 46bd7fe5b7SSrinivas Pandruvada select IIO_BUFFER 47bd7fe5b7SSrinivas Pandruvada select IIO_TRIGGERED_BUFFER 484011eda6SMarkus Pargmann select REGMAP 4955637c38SMarkus Pargmann select BMC150_ACCEL_I2C if I2C 50f9ab96e2SMarkus Pargmann select BMC150_ACCEL_SPI if SPI 51bd7fe5b7SSrinivas Pandruvada help 528ecbb3c3SLaurentiu Palcu Say yes here to build support for the following Bosch accelerometers: 538ecbb3c3SLaurentiu Palcu BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280. 548ecbb3c3SLaurentiu Palcu 55bd7fe5b7SSrinivas Pandruvada This is a combo module with both accelerometer and magnetometer. 56bd7fe5b7SSrinivas Pandruvada This driver is only implementing accelerometer part, which has 57bd7fe5b7SSrinivas Pandruvada its own address and register map. 58bd7fe5b7SSrinivas Pandruvada 5955637c38SMarkus Pargmannconfig BMC150_ACCEL_I2C 6055637c38SMarkus Pargmann tristate 6155637c38SMarkus Pargmann select REGMAP_I2C 6255637c38SMarkus Pargmann 63f9ab96e2SMarkus Pargmannconfig BMC150_ACCEL_SPI 64f9ab96e2SMarkus Pargmann tristate 65f9ab96e2SMarkus Pargmann select REGMAP_SPI 66f9ab96e2SMarkus Pargmann 67f225951dSHans de Goedeconfig DA280 68f225951dSHans de Goede tristate "MiraMEMS DA280 3-axis 14-bit digital accelerometer driver" 69f225951dSHans de Goede depends on I2C 70f225951dSHans de Goede help 71f225951dSHans de Goede Say yes here to build support for the MiraMEMS DA280 3-axis 14-bit 72f225951dSHans de Goede digital accelerometer. 73f225951dSHans de Goede 74f225951dSHans de Goede To compile this driver as a module, choose M here: the 75f225951dSHans de Goede module will be called da280. 76f225951dSHans de Goede 77598893e9SHans de Goedeconfig DA311 78598893e9SHans de Goede tristate "MiraMEMS DA311 3-axis 12-bit digital accelerometer driver" 79598893e9SHans de Goede depends on I2C 80598893e9SHans de Goede help 81598893e9SHans de Goede Say yes here to build support for the MiraMEMS DA311 3-axis 12-bit 82598893e9SHans de Goede digital accelerometer. 83598893e9SHans de Goede 84598893e9SHans de Goede To compile this driver as a module, choose M here: the 85598893e9SHans de Goede module will be called da311. 86598893e9SHans de Goede 87b1b79f53SAleksei Mamlinconfig DMARD06 88b1b79f53SAleksei Mamlin tristate "Domintech DMARD06 Digital Accelerometer Driver" 89b1b79f53SAleksei Mamlin depends on OF || COMPILE_TEST 90b1b79f53SAleksei Mamlin depends on I2C 91b1b79f53SAleksei Mamlin help 92b1b79f53SAleksei Mamlin Say yes here to build support for the Domintech low-g tri-axial 93b1b79f53SAleksei Mamlin digital accelerometers: DMARD05, DMARD06, DMARD07. 94b1b79f53SAleksei Mamlin 95b1b79f53SAleksei Mamlin To compile this driver as a module, choose M here: the 96b1b79f53SAleksei Mamlin module will be called dmard06. 97b1b79f53SAleksei Mamlin 98a4fa6509SJelle van der Waaconfig DMARD09 99a4fa6509SJelle van der Waa tristate "Domintech DMARD09 3-axis Accelerometer Driver" 100a4fa6509SJelle van der Waa depends on I2C 101a4fa6509SJelle van der Waa help 102a4fa6509SJelle van der Waa Say yes here to get support for the Domintech DMARD09 3-axis 103a4fa6509SJelle van der Waa accelerometer. 104a4fa6509SJelle van der Waa 105a4fa6509SJelle van der Waa Choosing M will build the driver as a module. If so, the module 106a4fa6509SJelle van der Waa will be called dmard09. 107a4fa6509SJelle van der Waa 108569906e2SHans de Goedeconfig DMARD10 109569906e2SHans de Goede tristate "Domintech DMARD10 3-axis Accelerometer Driver" 110569906e2SHans de Goede depends on I2C 111569906e2SHans de Goede help 112569906e2SHans de Goede Say yes here to get support for the Domintech DMARD10 3-axis 113569906e2SHans de Goede accelerometer. 114569906e2SHans de Goede 115569906e2SHans de Goede Choosing M will build the driver as a module. If so, the module 116569906e2SHans de Goede will be called dmard10. 117569906e2SHans de Goede 11845fe6f7dSsrinivas pandruvadaconfig HID_SENSOR_ACCEL_3D 11945fe6f7dSsrinivas pandruvada depends on HID_SENSOR_HUB 12045fe6f7dSsrinivas pandruvada select IIO_BUFFER 12145fe6f7dSsrinivas pandruvada select IIO_TRIGGERED_BUFFER 12245fe6f7dSsrinivas pandruvada select HID_SENSOR_IIO_COMMON 1239541cc39SAlexander Holler select HID_SENSOR_IIO_TRIGGER 124ace43fceSPeter Meerwald tristate "HID Accelerometers 3D" 12545fe6f7dSsrinivas pandruvada help 12645fe6f7dSsrinivas pandruvada Say yes here to build support for the HID SENSOR 12745fe6f7dSsrinivas pandruvada accelerometers 3D. 12845fe6f7dSsrinivas pandruvada 12988f4c6c4SRoberta Dobrescu To compile this driver as a module, choose M here: the 13088f4c6c4SRoberta Dobrescu module will be called hid-sensor-accel-3d. 13188f4c6c4SRoberta Dobrescu 132d6251168SDenis Cioccaconfig IIO_ST_ACCEL_3AXIS 133d6251168SDenis Ciocca tristate "STMicroelectronics accelerometers 3-Axis Driver" 134d6251168SDenis Ciocca depends on (I2C || SPI_MASTER) && SYSFS 135ed8959f4SLinus Walleij depends on !SENSORS_LIS3_I2C 136ed8959f4SLinus Walleij depends on !SENSORS_LIS3_SPI 137d6251168SDenis Ciocca select IIO_ST_SENSORS_CORE 138d6251168SDenis Ciocca select IIO_ST_ACCEL_I2C_3AXIS if (I2C) 139d6251168SDenis Ciocca select IIO_ST_ACCEL_SPI_3AXIS if (SPI_MASTER) 140d6251168SDenis Ciocca select IIO_TRIGGERED_BUFFER if (IIO_BUFFER) 141d6251168SDenis Ciocca help 142d6251168SDenis Ciocca Say yes here to build support for STMicroelectronics accelerometers: 143d6251168SDenis Ciocca LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC, 144dcdb0a78SLorenzo Bianconi LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL, 145dcdb0a78SLorenzo Bianconi LNG2DM 146d6251168SDenis Ciocca 147341673f1SPeter Meerwald This driver can also be built as a module. If so, these modules 148341673f1SPeter Meerwald will be created: 149d6251168SDenis Ciocca - st_accel (core functions for the driver [it is mandatory]); 150d6251168SDenis Ciocca - st_accel_i2c (necessary for the I2C devices [optional*]); 151d6251168SDenis Ciocca - st_accel_spi (necessary for the SPI devices [optional*]); 152d6251168SDenis Ciocca 153d6251168SDenis Ciocca (*) one of these is necessary to do something. 154d6251168SDenis Ciocca 155d6251168SDenis Cioccaconfig IIO_ST_ACCEL_I2C_3AXIS 156d6251168SDenis Ciocca tristate 157d6251168SDenis Ciocca depends on IIO_ST_ACCEL_3AXIS 158d6251168SDenis Ciocca depends on IIO_ST_SENSORS_I2C 159d6251168SDenis Ciocca 160d6251168SDenis Cioccaconfig IIO_ST_ACCEL_SPI_3AXIS 161d6251168SDenis Ciocca tristate 162d6251168SDenis Ciocca depends on IIO_ST_ACCEL_3AXIS 163d6251168SDenis Ciocca depends on IIO_ST_SENSORS_SPI 164d6251168SDenis Ciocca 1653edc84e6SLars-Peter Clausenconfig KXSD9 1663edc84e6SLars-Peter Clausen tristate "Kionix KXSD9 Accelerometer Driver" 1670427a106SLinus Walleij select IIO_BUFFER 1680427a106SLinus Walleij select IIO_TRIGGERED_BUFFER 1693edc84e6SLars-Peter Clausen help 1703edc84e6SLars-Peter Clausen Say yes here to build support for the Kionix KXSD9 accelerometer. 171a483ab79SLinus Walleij It can be accessed using an (optional) SPI or I2C interface. 1723edc84e6SLars-Peter Clausen 17388f4c6c4SRoberta Dobrescu To compile this driver as a module, choose M here: the module 17488f4c6c4SRoberta Dobrescu will be called kxsd9. 17588f4c6c4SRoberta Dobrescu 176bf96f6e8SLinus Walleijconfig KXSD9_SPI 177bf96f6e8SLinus Walleij tristate "Kionix KXSD9 SPI transport" 178bf96f6e8SLinus Walleij depends on KXSD9 179bf96f6e8SLinus Walleij depends on SPI 180bf96f6e8SLinus Walleij default KXSD9 1810d1fb2d5SLinus Walleij select REGMAP_SPI 182bf96f6e8SLinus Walleij help 183bf96f6e8SLinus Walleij Say yes here to enable the Kionix KXSD9 accelerometer 184bf96f6e8SLinus Walleij SPI transport channel. 185bf96f6e8SLinus Walleij 186a483ab79SLinus Walleijconfig KXSD9_I2C 187a483ab79SLinus Walleij tristate "Kionix KXSD9 I2C transport" 188a483ab79SLinus Walleij depends on KXSD9 189a483ab79SLinus Walleij depends on I2C 190a483ab79SLinus Walleij default KXSD9 191a483ab79SLinus Walleij select REGMAP_I2C 192a483ab79SLinus Walleij help 193a483ab79SLinus Walleij Say yes here to enable the Kionix KXSD9 accelerometer 194a483ab79SLinus Walleij I2C transport channel. 195a483ab79SLinus Walleij 1961a4fbf6aSSrinivas Pandruvadaconfig KXCJK1013 1971a4fbf6aSSrinivas Pandruvada tristate "Kionix 3-Axis Accelerometer Driver" 1981a4fbf6aSSrinivas Pandruvada depends on I2C 1991a4fbf6aSSrinivas Pandruvada select IIO_BUFFER 2001a4fbf6aSSrinivas Pandruvada select IIO_TRIGGERED_BUFFER 2011a4fbf6aSSrinivas Pandruvada help 2021a4fbf6aSSrinivas Pandruvada Say Y here if you want to build a driver for the Kionix KXCJK-1013 203c6861377SDaniel Baluta triaxial acceleration sensor. This driver also supports KXCJ9-1008 204c6861377SDaniel Baluta and KXTJ2-1009. 2051a4fbf6aSSrinivas Pandruvada 2061a4fbf6aSSrinivas Pandruvada To compile this driver as a module, choose M here: the module will 2071a4fbf6aSSrinivas Pandruvada be called kxcjk-1013. 2081a4fbf6aSSrinivas Pandruvada 209063e3303SHans de Goedeconfig MC3230 210063e3303SHans de Goede tristate "mCube MC3230 Digital Accelerometer Driver" 211063e3303SHans de Goede depends on I2C 212063e3303SHans de Goede help 213063e3303SHans de Goede Say yes here to build support for the mCube MC3230 low-g tri-axial 214063e3303SHans de Goede digital accelerometer. 215063e3303SHans de Goede 216063e3303SHans de Goede To compile this driver as a module, choose M here: the 217063e3303SHans de Goede module will be called mc3230. 218063e3303SHans de Goede 219a84ef0d1SJoachim Eastwoodconfig MMA7455 220a84ef0d1SJoachim Eastwood tristate 221a84ef0d1SJoachim Eastwood select IIO_BUFFER 222a84ef0d1SJoachim Eastwood select IIO_TRIGGERED_BUFFER 223a84ef0d1SJoachim Eastwood 224a84ef0d1SJoachim Eastwoodconfig MMA7455_I2C 225a84ef0d1SJoachim Eastwood tristate "Freescale MMA7455L/MMA7456L Accelerometer I2C Driver" 226a84ef0d1SJoachim Eastwood depends on I2C 227a84ef0d1SJoachim Eastwood select MMA7455 228a84ef0d1SJoachim Eastwood select REGMAP_I2C 229a84ef0d1SJoachim Eastwood help 230a84ef0d1SJoachim Eastwood Say yes here to build support for the Freescale MMA7455L and 231a84ef0d1SJoachim Eastwood MMA7456L 3-axis accelerometer. 232a84ef0d1SJoachim Eastwood 233a84ef0d1SJoachim Eastwood To compile this driver as a module, choose M here: the module 234a84ef0d1SJoachim Eastwood will be called mma7455_i2c. 235a84ef0d1SJoachim Eastwood 236a84ef0d1SJoachim Eastwoodconfig MMA7455_SPI 237a84ef0d1SJoachim Eastwood tristate "Freescale MMA7455L/MMA7456L Accelerometer SPI Driver" 238a84ef0d1SJoachim Eastwood depends on SPI_MASTER 239a84ef0d1SJoachim Eastwood select MMA7455 240a84ef0d1SJoachim Eastwood select REGMAP_SPI 241a84ef0d1SJoachim Eastwood help 242a84ef0d1SJoachim Eastwood Say yes here to build support for the Freescale MMA7455L and 243a84ef0d1SJoachim Eastwood MMA7456L 3-axis accelerometer. 244a84ef0d1SJoachim Eastwood 245a84ef0d1SJoachim Eastwood To compile this driver as a module, choose M here: the module 246a84ef0d1SJoachim Eastwood will be called mma7455_spi. 247a84ef0d1SJoachim Eastwood 24832133be6SConstantin Muscaconfig MMA7660 24932133be6SConstantin Musca tristate "Freescale MMA7660FC 3-Axis Accelerometer Driver" 25032133be6SConstantin Musca depends on I2C 25132133be6SConstantin Musca help 25232133be6SConstantin Musca Say yes here to get support for the Freescale MMA7660FC 3-Axis 25332133be6SConstantin Musca accelerometer. 25432133be6SConstantin Musca 25532133be6SConstantin Musca Choosing M will build the driver as a module. If so, the module 25632133be6SConstantin Musca will be called mma7660. 25732133be6SConstantin Musca 2588838cc7fSHartmut Knaackconfig MMA8452 259f26ab1aaSMartin Kepplinger tristate "Freescale / NXP MMA8452Q and similar Accelerometers Driver" 2608838cc7fSHartmut Knaack depends on I2C 2618838cc7fSHartmut Knaack select IIO_BUFFER 2628838cc7fSHartmut Knaack select IIO_TRIGGERED_BUFFER 2638838cc7fSHartmut Knaack help 264f26ab1aaSMartin Kepplinger Say yes here to build support for the following Freescale / NXP 3-axis 265e8731180SMartin Kepplinger accelerometers: MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC, 266e8731180SMartin Kepplinger FXLS8471Q. 2678838cc7fSHartmut Knaack 2688838cc7fSHartmut Knaack To compile this driver as a module, choose M here: the module 2698838cc7fSHartmut Knaack will be called mma8452. 2708838cc7fSHartmut Knaack 271d5b97f5cSIrina Tirdeaconfig MMA9551_CORE 272d5b97f5cSIrina Tirdea tristate 273d5b97f5cSIrina Tirdea 274c78b9171SVlad Dogaruconfig MMA9551 275c78b9171SVlad Dogaru tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver" 276c78b9171SVlad Dogaru depends on I2C 277d5b97f5cSIrina Tirdea select MMA9551_CORE 278d5b97f5cSIrina Tirdea 279c78b9171SVlad Dogaru help 280c78b9171SVlad Dogaru Say yes here to build support for the Freescale MMA9551L 281c78b9171SVlad Dogaru Intelligent Motion-Sensing Platform Driver. 282c78b9171SVlad Dogaru 283c78b9171SVlad Dogaru To compile this driver as a module, choose M here: the module 284c78b9171SVlad Dogaru will be called mma9551. 285c78b9171SVlad Dogaru 28640cb7613SIrina Tirdeaconfig MMA9553 28740cb7613SIrina Tirdea tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver" 28840cb7613SIrina Tirdea depends on I2C 28940cb7613SIrina Tirdea select MMA9551_CORE 29040cb7613SIrina Tirdea help 29140cb7613SIrina Tirdea Say yes here to build support for the Freescale MMA9553L 29240cb7613SIrina Tirdea Intelligent Pedometer Platform Driver. 29340cb7613SIrina Tirdea 29440cb7613SIrina Tirdea To compile this driver as a module, choose M here: the module 29540cb7613SIrina Tirdea will be called mma9553. 29690bad33aSTiberiu Breana 297077377fcSTeodora Balutaconfig MXC4005 298077377fcSTeodora Baluta tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver" 299077377fcSTeodora Baluta depends on I2C 3001ce0eda0STeodora Baluta select IIO_BUFFER 3011ce0eda0STeodora Baluta select IIO_TRIGGERED_BUFFER 302077377fcSTeodora Baluta select REGMAP_I2C 303077377fcSTeodora Baluta help 304077377fcSTeodora Baluta Say yes here to build support for the Memsic MXC4005XC 3-axis 305077377fcSTeodora Baluta accelerometer. 306077377fcSTeodora Baluta 307077377fcSTeodora Baluta To compile this driver as a module, choose M. The module will be 308077377fcSTeodora Baluta called mxc4005. 309077377fcSTeodora Baluta 31075b6548fSTeodora Balutaconfig MXC6255 31175b6548fSTeodora Baluta tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver" 31275b6548fSTeodora Baluta depends on I2C 31375b6548fSTeodora Baluta select REGMAP_I2C 31475b6548fSTeodora Baluta help 31575b6548fSTeodora Baluta Say yes here to build support for the Memsic MXC6255 Orientation 31675b6548fSTeodora Baluta Sensing Accelerometer Driver. 31775b6548fSTeodora Baluta 31875b6548fSTeodora Baluta To compile this driver as a module, choose M here: the module will be 31975b6548fSTeodora Baluta called mxc6255. 32075b6548fSTeodora Baluta 321d62e5feeSJonathan Cameronconfig SCA3000 322d62e5feeSJonathan Cameron select IIO_BUFFER 323d62e5feeSJonathan Cameron select IIO_KFIFO_BUF 324d62e5feeSJonathan Cameron depends on SPI 325d62e5feeSJonathan Cameron tristate "VTI SCA3000 series accelerometers" 326d62e5feeSJonathan Cameron help 327d62e5feeSJonathan Cameron Say Y here to build support for the VTI SCA3000 series of SPI 328d62e5feeSJonathan Cameron accelerometers. These devices use a hardware ring buffer. 329d62e5feeSJonathan Cameron 330d62e5feeSJonathan Cameron To compile this driver as a module, say M here: the module will be 331d62e5feeSJonathan Cameron called sca3000. 332d62e5feeSJonathan Cameron 33390bad33aSTiberiu Breanaconfig STK8312 33490bad33aSTiberiu Breana tristate "Sensortek STK8312 3-Axis Accelerometer Driver" 33590bad33aSTiberiu Breana depends on I2C 336946448e0SHartmut Knaack select IIO_BUFFER 337946448e0SHartmut Knaack select IIO_TRIGGERED_BUFFER 33890bad33aSTiberiu Breana help 33990bad33aSTiberiu Breana Say yes here to get support for the Sensortek STK8312 3-axis 34090bad33aSTiberiu Breana accelerometer. 34190bad33aSTiberiu Breana 34290bad33aSTiberiu Breana Choosing M will build the driver as a module. If so, the module 34390bad33aSTiberiu Breana will be called stk8312. 34490bad33aSTiberiu Breana 345884ca456STiberiu Breanaconfig STK8BA50 346884ca456STiberiu Breana tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver" 347884ca456STiberiu Breana depends on I2C 348193e2d4fSAlison Schofield select IIO_BUFFER 349193e2d4fSAlison Schofield select IIO_TRIGGERED_BUFFER 350884ca456STiberiu Breana help 351884ca456STiberiu Breana Say yes here to get support for the Sensortek STK8BA50 3-axis 352884ca456STiberiu Breana accelerometer. 353884ca456STiberiu Breana 354884ca456STiberiu Breana Choosing M will build the driver as a module. If so, the module 355884ca456STiberiu Breana will be called stk8ba50. 356884ca456STiberiu Breana 35745fe6f7dSsrinivas pandruvadaendmenu 358