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 9*5170512cSEva Rachel Retuya tristate 10*5170512cSEva Rachel Retuya 11*5170512cSEva Rachel Retuyaconfig ADXL345_I2C 12*5170512cSEva Rachel Retuya tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer I2C Driver" 13*5170512cSEva Rachel Retuya depends on INPUT_ADXL34X=n 14c6236075SEva Rachel Retuya depends on I2C 15*5170512cSEva Rachel Retuya select ADXL345 1631fd2c70SEva Rachel Retuya select REGMAP_I2C 17c6236075SEva Rachel Retuya help 18c6236075SEva Rachel Retuya Say Y here if you want to build support for the Analog Devices 19c6236075SEva Rachel Retuya ADXL345 3-axis digital accelerometer. 20c6236075SEva Rachel Retuya 21*5170512cSEva Rachel Retuya To compile this driver as a module, choose M here: the module 22*5170512cSEva Rachel Retuya will be called adxl345_i2c and you will also get adxl345_core 23*5170512cSEva Rachel Retuya for the core module. 24c6236075SEva Rachel Retuya 25fdadbce0SOleksandr Kravchenkoconfig BMA180 262017cff2SPeter Meerwald tristate "Bosch BMA180/BMA250 3-Axis Accelerometer Driver" 27fdadbce0SOleksandr Kravchenko depends on I2C 28fdadbce0SOleksandr Kravchenko select IIO_BUFFER 29fdadbce0SOleksandr Kravchenko select IIO_TRIGGERED_BUFFER 30fdadbce0SOleksandr Kravchenko help 312017cff2SPeter Meerwald Say Y here if you want to build a driver for the Bosch BMA180 or 322017cff2SPeter Meerwald BMA250 triaxial acceleration sensor. 33fdadbce0SOleksandr Kravchenko 34fdadbce0SOleksandr Kravchenko To compile this driver as a module, choose M here: the 35fdadbce0SOleksandr Kravchenko module will be called bma180. 36fdadbce0SOleksandr Kravchenko 37bf2a5600STiberiu Breanaconfig BMA220 38bf2a5600STiberiu Breana tristate "Bosch BMA220 3-Axis Accelerometer Driver" 39bf2a5600STiberiu Breana depends on SPI 40193e2d4fSAlison Schofield select IIO_BUFFER 41193e2d4fSAlison Schofield select IIO_TRIGGERED_BUFFER 42bf2a5600STiberiu Breana help 43bf2a5600STiberiu Breana Say yes here to add support for the Bosch BMA220 triaxial 44bf2a5600STiberiu Breana acceleration sensor. 45bf2a5600STiberiu Breana 46bf2a5600STiberiu Breana To compile this driver as a module, choose M here: the 47bf2a5600STiberiu Breana module will be called bma220_spi. 48bf2a5600STiberiu Breana 49bd7fe5b7SSrinivas Pandruvadaconfig BMC150_ACCEL 50bd7fe5b7SSrinivas Pandruvada tristate "Bosch BMC150 Accelerometer Driver" 51bd7fe5b7SSrinivas Pandruvada select IIO_BUFFER 52bd7fe5b7SSrinivas Pandruvada select IIO_TRIGGERED_BUFFER 534011eda6SMarkus Pargmann select REGMAP 5455637c38SMarkus Pargmann select BMC150_ACCEL_I2C if I2C 55f9ab96e2SMarkus Pargmann select BMC150_ACCEL_SPI if SPI 56bd7fe5b7SSrinivas Pandruvada help 578ecbb3c3SLaurentiu Palcu Say yes here to build support for the following Bosch accelerometers: 588ecbb3c3SLaurentiu Palcu BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280. 598ecbb3c3SLaurentiu Palcu 60bd7fe5b7SSrinivas Pandruvada This is a combo module with both accelerometer and magnetometer. 61bd7fe5b7SSrinivas Pandruvada This driver is only implementing accelerometer part, which has 62bd7fe5b7SSrinivas Pandruvada its own address and register map. 63bd7fe5b7SSrinivas Pandruvada 6455637c38SMarkus Pargmannconfig BMC150_ACCEL_I2C 6555637c38SMarkus Pargmann tristate 6655637c38SMarkus Pargmann select REGMAP_I2C 6755637c38SMarkus Pargmann 68f9ab96e2SMarkus Pargmannconfig BMC150_ACCEL_SPI 69f9ab96e2SMarkus Pargmann tristate 70f9ab96e2SMarkus Pargmann select REGMAP_SPI 71f9ab96e2SMarkus Pargmann 72f225951dSHans de Goedeconfig DA280 73f225951dSHans de Goede tristate "MiraMEMS DA280 3-axis 14-bit digital accelerometer driver" 74f225951dSHans de Goede depends on I2C 75f225951dSHans de Goede help 76f225951dSHans de Goede Say yes here to build support for the MiraMEMS DA280 3-axis 14-bit 77f225951dSHans de Goede digital accelerometer. 78f225951dSHans de Goede 79f225951dSHans de Goede To compile this driver as a module, choose M here: the 80f225951dSHans de Goede module will be called da280. 81f225951dSHans de Goede 82598893e9SHans de Goedeconfig DA311 83598893e9SHans de Goede tristate "MiraMEMS DA311 3-axis 12-bit digital accelerometer driver" 84598893e9SHans de Goede depends on I2C 85598893e9SHans de Goede help 86598893e9SHans de Goede Say yes here to build support for the MiraMEMS DA311 3-axis 12-bit 87598893e9SHans de Goede digital accelerometer. 88598893e9SHans de Goede 89598893e9SHans de Goede To compile this driver as a module, choose M here: the 90598893e9SHans de Goede module will be called da311. 91598893e9SHans de Goede 92b1b79f53SAleksei Mamlinconfig DMARD06 93b1b79f53SAleksei Mamlin tristate "Domintech DMARD06 Digital Accelerometer Driver" 94b1b79f53SAleksei Mamlin depends on OF || COMPILE_TEST 95b1b79f53SAleksei Mamlin depends on I2C 96b1b79f53SAleksei Mamlin help 97b1b79f53SAleksei Mamlin Say yes here to build support for the Domintech low-g tri-axial 98b1b79f53SAleksei Mamlin digital accelerometers: DMARD05, DMARD06, DMARD07. 99b1b79f53SAleksei Mamlin 100b1b79f53SAleksei Mamlin To compile this driver as a module, choose M here: the 101b1b79f53SAleksei Mamlin module will be called dmard06. 102b1b79f53SAleksei Mamlin 103a4fa6509SJelle van der Waaconfig DMARD09 104a4fa6509SJelle van der Waa tristate "Domintech DMARD09 3-axis Accelerometer Driver" 105a4fa6509SJelle van der Waa depends on I2C 106a4fa6509SJelle van der Waa help 107a4fa6509SJelle van der Waa Say yes here to get support for the Domintech DMARD09 3-axis 108a4fa6509SJelle van der Waa accelerometer. 109a4fa6509SJelle van der Waa 110a4fa6509SJelle van der Waa Choosing M will build the driver as a module. If so, the module 111a4fa6509SJelle van der Waa will be called dmard09. 112a4fa6509SJelle van der Waa 113569906e2SHans de Goedeconfig DMARD10 114569906e2SHans de Goede tristate "Domintech DMARD10 3-axis Accelerometer Driver" 115569906e2SHans de Goede depends on I2C 116569906e2SHans de Goede help 117569906e2SHans de Goede Say yes here to get support for the Domintech DMARD10 3-axis 118569906e2SHans de Goede accelerometer. 119569906e2SHans de Goede 120569906e2SHans de Goede Choosing M will build the driver as a module. If so, the module 121569906e2SHans de Goede will be called dmard10. 122569906e2SHans de Goede 12345fe6f7dSsrinivas pandruvadaconfig HID_SENSOR_ACCEL_3D 12445fe6f7dSsrinivas pandruvada depends on HID_SENSOR_HUB 12545fe6f7dSsrinivas pandruvada select IIO_BUFFER 12645fe6f7dSsrinivas pandruvada select IIO_TRIGGERED_BUFFER 12745fe6f7dSsrinivas pandruvada select HID_SENSOR_IIO_COMMON 1289541cc39SAlexander Holler select HID_SENSOR_IIO_TRIGGER 129ace43fceSPeter Meerwald tristate "HID Accelerometers 3D" 13045fe6f7dSsrinivas pandruvada help 13145fe6f7dSsrinivas pandruvada Say yes here to build support for the HID SENSOR 13245fe6f7dSsrinivas pandruvada accelerometers 3D. 13345fe6f7dSsrinivas pandruvada 13488f4c6c4SRoberta Dobrescu To compile this driver as a module, choose M here: the 13588f4c6c4SRoberta Dobrescu module will be called hid-sensor-accel-3d. 13688f4c6c4SRoberta Dobrescu 137d6251168SDenis Cioccaconfig IIO_ST_ACCEL_3AXIS 138d6251168SDenis Ciocca tristate "STMicroelectronics accelerometers 3-Axis Driver" 139d6251168SDenis Ciocca depends on (I2C || SPI_MASTER) && SYSFS 140ed8959f4SLinus Walleij depends on !SENSORS_LIS3_I2C 141ed8959f4SLinus Walleij depends on !SENSORS_LIS3_SPI 142d6251168SDenis Ciocca select IIO_ST_SENSORS_CORE 143d6251168SDenis Ciocca select IIO_ST_ACCEL_I2C_3AXIS if (I2C) 144d6251168SDenis Ciocca select IIO_ST_ACCEL_SPI_3AXIS if (SPI_MASTER) 145d6251168SDenis Ciocca select IIO_TRIGGERED_BUFFER if (IIO_BUFFER) 146d6251168SDenis Ciocca help 147d6251168SDenis Ciocca Say yes here to build support for STMicroelectronics accelerometers: 148d6251168SDenis Ciocca LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC, 149dcdb0a78SLorenzo Bianconi LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL, 150dcdb0a78SLorenzo Bianconi LNG2DM 151d6251168SDenis Ciocca 152341673f1SPeter Meerwald This driver can also be built as a module. If so, these modules 153341673f1SPeter Meerwald will be created: 154d6251168SDenis Ciocca - st_accel (core functions for the driver [it is mandatory]); 155d6251168SDenis Ciocca - st_accel_i2c (necessary for the I2C devices [optional*]); 156d6251168SDenis Ciocca - st_accel_spi (necessary for the SPI devices [optional*]); 157d6251168SDenis Ciocca 158d6251168SDenis Ciocca (*) one of these is necessary to do something. 159d6251168SDenis Ciocca 160d6251168SDenis Cioccaconfig IIO_ST_ACCEL_I2C_3AXIS 161d6251168SDenis Ciocca tristate 162d6251168SDenis Ciocca depends on IIO_ST_ACCEL_3AXIS 163d6251168SDenis Ciocca depends on IIO_ST_SENSORS_I2C 164d6251168SDenis Ciocca 165d6251168SDenis Cioccaconfig IIO_ST_ACCEL_SPI_3AXIS 166d6251168SDenis Ciocca tristate 167d6251168SDenis Ciocca depends on IIO_ST_ACCEL_3AXIS 168d6251168SDenis Ciocca depends on IIO_ST_SENSORS_SPI 169d6251168SDenis Ciocca 1703edc84e6SLars-Peter Clausenconfig KXSD9 1713edc84e6SLars-Peter Clausen tristate "Kionix KXSD9 Accelerometer Driver" 1720427a106SLinus Walleij select IIO_BUFFER 1730427a106SLinus Walleij select IIO_TRIGGERED_BUFFER 1743edc84e6SLars-Peter Clausen help 1753edc84e6SLars-Peter Clausen Say yes here to build support for the Kionix KXSD9 accelerometer. 176a483ab79SLinus Walleij It can be accessed using an (optional) SPI or I2C interface. 1773edc84e6SLars-Peter Clausen 17888f4c6c4SRoberta Dobrescu To compile this driver as a module, choose M here: the module 17988f4c6c4SRoberta Dobrescu will be called kxsd9. 18088f4c6c4SRoberta Dobrescu 181bf96f6e8SLinus Walleijconfig KXSD9_SPI 182bf96f6e8SLinus Walleij tristate "Kionix KXSD9 SPI transport" 183bf96f6e8SLinus Walleij depends on KXSD9 184bf96f6e8SLinus Walleij depends on SPI 185bf96f6e8SLinus Walleij default KXSD9 1860d1fb2d5SLinus Walleij select REGMAP_SPI 187bf96f6e8SLinus Walleij help 188bf96f6e8SLinus Walleij Say yes here to enable the Kionix KXSD9 accelerometer 189bf96f6e8SLinus Walleij SPI transport channel. 190bf96f6e8SLinus Walleij 191a483ab79SLinus Walleijconfig KXSD9_I2C 192a483ab79SLinus Walleij tristate "Kionix KXSD9 I2C transport" 193a483ab79SLinus Walleij depends on KXSD9 194a483ab79SLinus Walleij depends on I2C 195a483ab79SLinus Walleij default KXSD9 196a483ab79SLinus Walleij select REGMAP_I2C 197a483ab79SLinus Walleij help 198a483ab79SLinus Walleij Say yes here to enable the Kionix KXSD9 accelerometer 199a483ab79SLinus Walleij I2C transport channel. 200a483ab79SLinus Walleij 2011a4fbf6aSSrinivas Pandruvadaconfig KXCJK1013 2021a4fbf6aSSrinivas Pandruvada tristate "Kionix 3-Axis Accelerometer Driver" 2031a4fbf6aSSrinivas Pandruvada depends on I2C 2041a4fbf6aSSrinivas Pandruvada select IIO_BUFFER 2051a4fbf6aSSrinivas Pandruvada select IIO_TRIGGERED_BUFFER 2061a4fbf6aSSrinivas Pandruvada help 2071a4fbf6aSSrinivas Pandruvada Say Y here if you want to build a driver for the Kionix KXCJK-1013 208c6861377SDaniel Baluta triaxial acceleration sensor. This driver also supports KXCJ9-1008 209c6861377SDaniel Baluta and KXTJ2-1009. 2101a4fbf6aSSrinivas Pandruvada 2111a4fbf6aSSrinivas Pandruvada To compile this driver as a module, choose M here: the module will 2121a4fbf6aSSrinivas Pandruvada be called kxcjk-1013. 2131a4fbf6aSSrinivas Pandruvada 214063e3303SHans de Goedeconfig MC3230 215063e3303SHans de Goede tristate "mCube MC3230 Digital Accelerometer Driver" 216063e3303SHans de Goede depends on I2C 217063e3303SHans de Goede help 218063e3303SHans de Goede Say yes here to build support for the mCube MC3230 low-g tri-axial 219063e3303SHans de Goede digital accelerometer. 220063e3303SHans de Goede 221063e3303SHans de Goede To compile this driver as a module, choose M here: the 222063e3303SHans de Goede module will be called mc3230. 223063e3303SHans de Goede 224a84ef0d1SJoachim Eastwoodconfig MMA7455 225a84ef0d1SJoachim Eastwood tristate 226a84ef0d1SJoachim Eastwood select IIO_BUFFER 227a84ef0d1SJoachim Eastwood select IIO_TRIGGERED_BUFFER 228a84ef0d1SJoachim Eastwood 229a84ef0d1SJoachim Eastwoodconfig MMA7455_I2C 230a84ef0d1SJoachim Eastwood tristate "Freescale MMA7455L/MMA7456L Accelerometer I2C Driver" 231a84ef0d1SJoachim Eastwood depends on I2C 232a84ef0d1SJoachim Eastwood select MMA7455 233a84ef0d1SJoachim Eastwood select REGMAP_I2C 234a84ef0d1SJoachim Eastwood help 235a84ef0d1SJoachim Eastwood Say yes here to build support for the Freescale MMA7455L and 236a84ef0d1SJoachim Eastwood MMA7456L 3-axis accelerometer. 237a84ef0d1SJoachim Eastwood 238a84ef0d1SJoachim Eastwood To compile this driver as a module, choose M here: the module 239a84ef0d1SJoachim Eastwood will be called mma7455_i2c. 240a84ef0d1SJoachim Eastwood 241a84ef0d1SJoachim Eastwoodconfig MMA7455_SPI 242a84ef0d1SJoachim Eastwood tristate "Freescale MMA7455L/MMA7456L Accelerometer SPI Driver" 243a84ef0d1SJoachim Eastwood depends on SPI_MASTER 244a84ef0d1SJoachim Eastwood select MMA7455 245a84ef0d1SJoachim Eastwood select REGMAP_SPI 246a84ef0d1SJoachim Eastwood help 247a84ef0d1SJoachim Eastwood Say yes here to build support for the Freescale MMA7455L and 248a84ef0d1SJoachim Eastwood MMA7456L 3-axis accelerometer. 249a84ef0d1SJoachim Eastwood 250a84ef0d1SJoachim Eastwood To compile this driver as a module, choose M here: the module 251a84ef0d1SJoachim Eastwood will be called mma7455_spi. 252a84ef0d1SJoachim Eastwood 25332133be6SConstantin Muscaconfig MMA7660 25432133be6SConstantin Musca tristate "Freescale MMA7660FC 3-Axis Accelerometer Driver" 25532133be6SConstantin Musca depends on I2C 25632133be6SConstantin Musca help 25732133be6SConstantin Musca Say yes here to get support for the Freescale MMA7660FC 3-Axis 25832133be6SConstantin Musca accelerometer. 25932133be6SConstantin Musca 26032133be6SConstantin Musca Choosing M will build the driver as a module. If so, the module 26132133be6SConstantin Musca will be called mma7660. 26232133be6SConstantin Musca 2638838cc7fSHartmut Knaackconfig MMA8452 264f26ab1aaSMartin Kepplinger tristate "Freescale / NXP MMA8452Q and similar Accelerometers Driver" 2658838cc7fSHartmut Knaack depends on I2C 2668838cc7fSHartmut Knaack select IIO_BUFFER 2678838cc7fSHartmut Knaack select IIO_TRIGGERED_BUFFER 2688838cc7fSHartmut Knaack help 269f26ab1aaSMartin Kepplinger Say yes here to build support for the following Freescale / NXP 3-axis 270e8731180SMartin Kepplinger accelerometers: MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC, 271e8731180SMartin Kepplinger FXLS8471Q. 2728838cc7fSHartmut Knaack 2738838cc7fSHartmut Knaack To compile this driver as a module, choose M here: the module 2748838cc7fSHartmut Knaack will be called mma8452. 2758838cc7fSHartmut Knaack 276d5b97f5cSIrina Tirdeaconfig MMA9551_CORE 277d5b97f5cSIrina Tirdea tristate 278d5b97f5cSIrina Tirdea 279c78b9171SVlad Dogaruconfig MMA9551 280c78b9171SVlad Dogaru tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver" 281c78b9171SVlad Dogaru depends on I2C 282d5b97f5cSIrina Tirdea select MMA9551_CORE 283d5b97f5cSIrina Tirdea 284c78b9171SVlad Dogaru help 285c78b9171SVlad Dogaru Say yes here to build support for the Freescale MMA9551L 286c78b9171SVlad Dogaru Intelligent Motion-Sensing Platform Driver. 287c78b9171SVlad Dogaru 288c78b9171SVlad Dogaru To compile this driver as a module, choose M here: the module 289c78b9171SVlad Dogaru will be called mma9551. 290c78b9171SVlad Dogaru 29140cb7613SIrina Tirdeaconfig MMA9553 29240cb7613SIrina Tirdea tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver" 29340cb7613SIrina Tirdea depends on I2C 29440cb7613SIrina Tirdea select MMA9551_CORE 29540cb7613SIrina Tirdea help 29640cb7613SIrina Tirdea Say yes here to build support for the Freescale MMA9553L 29740cb7613SIrina Tirdea Intelligent Pedometer Platform Driver. 29840cb7613SIrina Tirdea 29940cb7613SIrina Tirdea To compile this driver as a module, choose M here: the module 30040cb7613SIrina Tirdea will be called mma9553. 30190bad33aSTiberiu Breana 302077377fcSTeodora Balutaconfig MXC4005 303077377fcSTeodora Baluta tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver" 304077377fcSTeodora Baluta depends on I2C 3051ce0eda0STeodora Baluta select IIO_BUFFER 3061ce0eda0STeodora Baluta select IIO_TRIGGERED_BUFFER 307077377fcSTeodora Baluta select REGMAP_I2C 308077377fcSTeodora Baluta help 309077377fcSTeodora Baluta Say yes here to build support for the Memsic MXC4005XC 3-axis 310077377fcSTeodora Baluta accelerometer. 311077377fcSTeodora Baluta 312077377fcSTeodora Baluta To compile this driver as a module, choose M. The module will be 313077377fcSTeodora Baluta called mxc4005. 314077377fcSTeodora Baluta 31575b6548fSTeodora Balutaconfig MXC6255 31675b6548fSTeodora Baluta tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver" 31775b6548fSTeodora Baluta depends on I2C 31875b6548fSTeodora Baluta select REGMAP_I2C 31975b6548fSTeodora Baluta help 32075b6548fSTeodora Baluta Say yes here to build support for the Memsic MXC6255 Orientation 32175b6548fSTeodora Baluta Sensing Accelerometer Driver. 32275b6548fSTeodora Baluta 32375b6548fSTeodora Baluta To compile this driver as a module, choose M here: the module will be 32475b6548fSTeodora Baluta called mxc6255. 32575b6548fSTeodora Baluta 326d62e5feeSJonathan Cameronconfig SCA3000 327d62e5feeSJonathan Cameron select IIO_BUFFER 328d62e5feeSJonathan Cameron select IIO_KFIFO_BUF 329d62e5feeSJonathan Cameron depends on SPI 330d62e5feeSJonathan Cameron tristate "VTI SCA3000 series accelerometers" 331d62e5feeSJonathan Cameron help 332d62e5feeSJonathan Cameron Say Y here to build support for the VTI SCA3000 series of SPI 333d62e5feeSJonathan Cameron accelerometers. These devices use a hardware ring buffer. 334d62e5feeSJonathan Cameron 335d62e5feeSJonathan Cameron To compile this driver as a module, say M here: the module will be 336d62e5feeSJonathan Cameron called sca3000. 337d62e5feeSJonathan Cameron 33890bad33aSTiberiu Breanaconfig STK8312 33990bad33aSTiberiu Breana tristate "Sensortek STK8312 3-Axis Accelerometer Driver" 34090bad33aSTiberiu Breana depends on I2C 341946448e0SHartmut Knaack select IIO_BUFFER 342946448e0SHartmut Knaack select IIO_TRIGGERED_BUFFER 34390bad33aSTiberiu Breana help 34490bad33aSTiberiu Breana Say yes here to get support for the Sensortek STK8312 3-axis 34590bad33aSTiberiu Breana accelerometer. 34690bad33aSTiberiu Breana 34790bad33aSTiberiu Breana Choosing M will build the driver as a module. If so, the module 34890bad33aSTiberiu Breana will be called stk8312. 34990bad33aSTiberiu Breana 350884ca456STiberiu Breanaconfig STK8BA50 351884ca456STiberiu Breana tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver" 352884ca456STiberiu Breana depends on I2C 353193e2d4fSAlison Schofield select IIO_BUFFER 354193e2d4fSAlison Schofield select IIO_TRIGGERED_BUFFER 355884ca456STiberiu Breana help 356884ca456STiberiu Breana Say yes here to get support for the Sensortek STK8BA50 3-axis 357884ca456STiberiu Breana accelerometer. 358884ca456STiberiu Breana 359884ca456STiberiu Breana Choosing M will build the driver as a module. If so, the module 360884ca456STiberiu Breana will be called stk8ba50. 361884ca456STiberiu Breana 36245fe6f7dSsrinivas pandruvadaendmenu 363