1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 245fe6f7dSsrinivas pandruvada# 345fe6f7dSsrinivas pandruvada# Accelerometer drivers 445fe6f7dSsrinivas pandruvada# 53edc84e6SLars-Peter Clausen# When adding new entries keep the list in alphabetical order 63edc84e6SLars-Peter Clausen 745fe6f7dSsrinivas pandruvadamenu "Accelerometers" 845fe6f7dSsrinivas pandruvada 9591298e5SHimanshu Jhaconfig ADIS16201 10591298e5SHimanshu Jha tristate "Analog Devices ADIS16201 Dual-Axis Digital Inclinometer and Accelerometer" 11591298e5SHimanshu Jha depends on SPI 12591298e5SHimanshu Jha select IIO_ADIS_LIB 13591298e5SHimanshu Jha select IIO_ADIS_LIB_BUFFER if IIO_BUFFER 14591298e5SHimanshu Jha help 15591298e5SHimanshu Jha Say Y here to build support for Analog Devices adis16201 dual-axis 16591298e5SHimanshu Jha digital inclinometer and accelerometer. 17591298e5SHimanshu Jha 18591298e5SHimanshu Jha To compile this driver as a module, say M here: the module will 19591298e5SHimanshu Jha be called adis16201. 20591298e5SHimanshu Jha 21524c7628SShreeya Patelconfig ADIS16209 22524c7628SShreeya Patel tristate "Analog Devices ADIS16209 Dual-Axis Digital Inclinometer and Accelerometer" 23524c7628SShreeya Patel depends on SPI 24524c7628SShreeya Patel select IIO_ADIS_LIB 25524c7628SShreeya Patel select IIO_ADIS_LIB_BUFFER if IIO_BUFFER 26524c7628SShreeya Patel help 27524c7628SShreeya Patel Say Y here to build support for Analog Devices adis16209 dual-axis digital inclinometer 28524c7628SShreeya Patel and accelerometer. 29524c7628SShreeya Patel 30524c7628SShreeya Patel To compile this driver as a module, say M here: the module will be 31524c7628SShreeya Patel called adis16209. 32524c7628SShreeya Patel 33636d4463SLucas Stankusconfig ADXL313 34636d4463SLucas Stankus tristate 35636d4463SLucas Stankus 36636d4463SLucas Stankusconfig ADXL313_I2C 37636d4463SLucas Stankus tristate "Analog Devices ADXL313 3-Axis Digital Accelerometer I2C Driver" 38636d4463SLucas Stankus depends on I2C 39636d4463SLucas Stankus select ADXL313 40636d4463SLucas Stankus select REGMAP_I2C 41636d4463SLucas Stankus help 42636d4463SLucas Stankus Say Y here if you want to build i2c support for the Analog Devices 43636d4463SLucas Stankus ADXL313 3-axis digital accelerometer. 44636d4463SLucas Stankus 45636d4463SLucas Stankus To compile this driver as a module, choose M here: the module 46636d4463SLucas Stankus will be called adxl313_i2c and you will also get adxl313_core 47636d4463SLucas Stankus for the core module. 48636d4463SLucas Stankus 49636d4463SLucas Stankusconfig ADXL313_SPI 50636d4463SLucas Stankus tristate "Analog Devices ADXL313 3-Axis Digital Accelerometer SPI Driver" 51636d4463SLucas Stankus depends on SPI 52636d4463SLucas Stankus select ADXL313 53636d4463SLucas Stankus select REGMAP_SPI 54636d4463SLucas Stankus help 55636d4463SLucas Stankus Say Y here if you want to build spi support for the Analog Devices 56636d4463SLucas Stankus ADXL313 3-axis digital accelerometer. 57636d4463SLucas Stankus 58636d4463SLucas Stankus To compile this driver as a module, choose M here: the module 59636d4463SLucas Stankus will be called adxl313_spi and you will also get adxl313_core 60636d4463SLucas Stankus for the core module. 61636d4463SLucas Stankus 62c6236075SEva Rachel Retuyaconfig ADXL345 635170512cSEva Rachel Retuya tristate 645170512cSEva Rachel Retuya 655170512cSEva Rachel Retuyaconfig ADXL345_I2C 665170512cSEva Rachel Retuya tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer I2C Driver" 675170512cSEva Rachel Retuya depends on INPUT_ADXL34X=n 68c6236075SEva Rachel Retuya depends on I2C 695170512cSEva Rachel Retuya select ADXL345 7031fd2c70SEva Rachel Retuya select REGMAP_I2C 71c6236075SEva Rachel Retuya help 72c6236075SEva Rachel Retuya Say Y here if you want to build support for the Analog Devices 73ef89f4b9SLars-Peter Clausen ADXL345 or ADXL375 3-axis digital accelerometer. 74c6236075SEva Rachel Retuya 755170512cSEva Rachel Retuya To compile this driver as a module, choose M here: the module 765170512cSEva Rachel Retuya will be called adxl345_i2c and you will also get adxl345_core 775170512cSEva Rachel Retuya for the core module. 78c6236075SEva Rachel Retuya 79fb0e5250SEva Rachel Retuyaconfig ADXL345_SPI 80fb0e5250SEva Rachel Retuya tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer SPI Driver" 81fb0e5250SEva Rachel Retuya depends on INPUT_ADXL34X=n 82fb0e5250SEva Rachel Retuya depends on SPI 83fb0e5250SEva Rachel Retuya select ADXL345 84fb0e5250SEva Rachel Retuya select REGMAP_SPI 85fb0e5250SEva Rachel Retuya help 86fb0e5250SEva Rachel Retuya Say Y here if you want to build support for the Analog Devices 87ef89f4b9SLars-Peter Clausen ADXL345 or ADXL375 3-axis digital accelerometer. 88fb0e5250SEva Rachel Retuya 89fb0e5250SEva Rachel Retuya To compile this driver as a module, choose M here: the module 90fb0e5250SEva Rachel Retuya will be called adxl345_spi and you will also get adxl345_core 91fb0e5250SEva Rachel Retuya for the core module. 92fb0e5250SEva Rachel Retuya 9312ed2786SPuranjay Mohanconfig ADXL355 9412ed2786SPuranjay Mohan tristate 9512ed2786SPuranjay Mohan 9612ed2786SPuranjay Mohanconfig ADXL355_I2C 9712ed2786SPuranjay Mohan tristate "Analog Devices ADXL355 3-Axis Digital Accelerometer I2C Driver" 9812ed2786SPuranjay Mohan depends on I2C 9912ed2786SPuranjay Mohan select ADXL355 10012ed2786SPuranjay Mohan select REGMAP_I2C 101327a0eafSPuranjay Mohan select IIO_BUFFER 102327a0eafSPuranjay Mohan select IIO_TRIGGERED_BUFFER 10312ed2786SPuranjay Mohan help 10412ed2786SPuranjay Mohan Say Y here if you want to build i2c support for the Analog Devices 10512ed2786SPuranjay Mohan ADXL355 3-axis digital accelerometer. 10612ed2786SPuranjay Mohan 10712ed2786SPuranjay Mohan To compile this driver as a module, choose M here: the module 10812ed2786SPuranjay Mohan will be called adxl355_i2c and you will also get adxl355_core 10912ed2786SPuranjay Mohan for the core module. 11012ed2786SPuranjay Mohan 11112ed2786SPuranjay Mohanconfig ADXL355_SPI 11212ed2786SPuranjay Mohan tristate "Analog Devices ADXL355 3-Axis Digital Accelerometer SPI Driver" 11312ed2786SPuranjay Mohan depends on SPI 11412ed2786SPuranjay Mohan select ADXL355 11512ed2786SPuranjay Mohan select REGMAP_SPI 116327a0eafSPuranjay Mohan select IIO_BUFFER 117327a0eafSPuranjay Mohan select IIO_TRIGGERED_BUFFER 11812ed2786SPuranjay Mohan help 11912ed2786SPuranjay Mohan Say Y here if you want to build spi support for the Analog Devices 12012ed2786SPuranjay Mohan ADXL355 3-axis digital accelerometer. 12112ed2786SPuranjay Mohan 12212ed2786SPuranjay Mohan To compile this driver as a module, choose M here: the module 12312ed2786SPuranjay Mohan will be called adxl355_spi and you will also get adxl355_core 12412ed2786SPuranjay Mohan for the core module. 12512ed2786SPuranjay Mohan 126cbab791cSCosmin Tanislavconfig ADXL367 127cbab791cSCosmin Tanislav tristate 128cbab791cSCosmin Tanislav select IIO_BUFFER 129cbab791cSCosmin Tanislav select IIO_TRIGGERED_BUFFER 130cbab791cSCosmin Tanislav 131cbab791cSCosmin Tanislavconfig ADXL367_SPI 132cbab791cSCosmin Tanislav tristate "Analog Devices ADXL367 3-Axis Accelerometer SPI Driver" 133cbab791cSCosmin Tanislav depends on SPI 134cbab791cSCosmin Tanislav select ADXL367 135cbab791cSCosmin Tanislav select REGMAP_SPI 136cbab791cSCosmin Tanislav help 137cbab791cSCosmin Tanislav Say yes here to add support for the Analog Devices ADXL367 triaxial 138cbab791cSCosmin Tanislav acceleration sensor. 139cbab791cSCosmin Tanislav To compile this driver as a module, choose M here: the 140cbab791cSCosmin Tanislav module will be called adxl367_spi. 141cbab791cSCosmin Tanislav 142cbab791cSCosmin Tanislavconfig ADXL367_I2C 143cbab791cSCosmin Tanislav tristate "Analog Devices ADXL367 3-Axis Accelerometer I2C Driver" 144cbab791cSCosmin Tanislav depends on I2C 145cbab791cSCosmin Tanislav select ADXL367 146cbab791cSCosmin Tanislav select REGMAP_I2C 147cbab791cSCosmin Tanislav help 148cbab791cSCosmin Tanislav Say yes here to add support for the Analog Devices ADXL367 triaxial 149cbab791cSCosmin Tanislav acceleration sensor. 150cbab791cSCosmin Tanislav To compile this driver as a module, choose M here: the 151cbab791cSCosmin Tanislav module will be called adxl367_i2c. 152cbab791cSCosmin Tanislav 1534097da40SStefan Popaconfig ADXL372 154d9e8fd04SStefan Popa tristate 1554097da40SStefan Popa select IIO_BUFFER 1564097da40SStefan Popa select IIO_TRIGGERED_BUFFER 157d9e8fd04SStefan Popa 158d9e8fd04SStefan Popaconfig ADXL372_SPI 159d9e8fd04SStefan Popa tristate "Analog Devices ADXL372 3-Axis Accelerometer SPI Driver" 160d9e8fd04SStefan Popa depends on SPI 161d9e8fd04SStefan Popa select ADXL372 162d9e8fd04SStefan Popa select REGMAP_SPI 1634097da40SStefan Popa help 1644097da40SStefan Popa Say yes here to add support for the Analog Devices ADXL372 triaxial 1654097da40SStefan Popa acceleration sensor. 1664097da40SStefan Popa To compile this driver as a module, choose M here: the 167d9e8fd04SStefan Popa module will be called adxl372_spi. 1684097da40SStefan Popa 16994dbb46cSStefan Popaconfig ADXL372_I2C 17094dbb46cSStefan Popa tristate "Analog Devices ADXL372 3-Axis Accelerometer I2C Driver" 17194dbb46cSStefan Popa depends on I2C 17294dbb46cSStefan Popa select ADXL372 17394dbb46cSStefan Popa select REGMAP_I2C 17494dbb46cSStefan Popa help 17594dbb46cSStefan Popa Say yes here to add support for the Analog Devices ADXL372 triaxial 17694dbb46cSStefan Popa acceleration sensor. 17794dbb46cSStefan Popa To compile this driver as a module, choose M here: the 17894dbb46cSStefan Popa module will be called adxl372_i2c. 17994dbb46cSStefan Popa 180fdadbce0SOleksandr Kravchenkoconfig BMA180 181a7ba1c24SStephan Gerhold tristate "Bosch BMA023/BMA1x0/BMA250 3-Axis Accelerometer Driver" 182a5e633ebSJonathan Bakker depends on I2C && INPUT_BMA150=n 183fdadbce0SOleksandr Kravchenko select IIO_BUFFER 184fdadbce0SOleksandr Kravchenko select IIO_TRIGGERED_BUFFER 185fdadbce0SOleksandr Kravchenko help 1866198bdb4SJonathan Bakker Say Y here if you want to build a driver for the Bosch BMA023, BMA150 187a7ba1c24SStephan Gerhold BMA180, BMA250 or SMB380 triaxial acceleration sensor. 188fdadbce0SOleksandr Kravchenko 189fdadbce0SOleksandr Kravchenko To compile this driver as a module, choose M here: the 190fdadbce0SOleksandr Kravchenko module will be called bma180. 191fdadbce0SOleksandr Kravchenko 192bf2a5600STiberiu Breanaconfig BMA220 193bf2a5600STiberiu Breana tristate "Bosch BMA220 3-Axis Accelerometer Driver" 194bf2a5600STiberiu Breana depends on SPI 195193e2d4fSAlison Schofield select IIO_BUFFER 196193e2d4fSAlison Schofield select IIO_TRIGGERED_BUFFER 197bf2a5600STiberiu Breana help 198bf2a5600STiberiu Breana Say yes here to add support for the Bosch BMA220 triaxial 199bf2a5600STiberiu Breana acceleration sensor. 200bf2a5600STiberiu Breana 201bf2a5600STiberiu Breana To compile this driver as a module, choose M here: the 202bf2a5600STiberiu Breana module will be called bma220_spi. 203bf2a5600STiberiu Breana 204465c811fSDan Robertsonconfig BMA400 205465c811fSDan Robertson tristate "Bosch BMA400 3-Axis Accelerometer Driver" 206465c811fSDan Robertson select REGMAP 207ffe0ab6aSJagath Jog J select IIO_BUFFER 208ffe0ab6aSJagath Jog J select IIO_TRIGGERED_BUFFER 209465c811fSDan Robertson select BMA400_I2C if I2C 2109bea1064SDan Robertson select BMA400_SPI if SPI 211465c811fSDan Robertson help 212465c811fSDan Robertson Say Y here if you want to build a driver for the Bosch BMA400 213465c811fSDan Robertson triaxial acceleration sensor. 214465c811fSDan Robertson 215465c811fSDan Robertson To compile this driver as a module, choose M here: the 216465c811fSDan Robertson module will be called bma400_core and you will also get 2179bea1064SDan Robertson bma400_i2c if I2C is enabled and bma400_spi if SPI is 2189bea1064SDan Robertson enabled. 219465c811fSDan Robertson 220465c811fSDan Robertsonconfig BMA400_I2C 221465c811fSDan Robertson tristate 222465c811fSDan Robertson depends on BMA400 223465c811fSDan Robertson 2249bea1064SDan Robertsonconfig BMA400_SPI 2259bea1064SDan Robertson tristate 2269bea1064SDan Robertson depends on BMA400 2279bea1064SDan Robertson 228bd7fe5b7SSrinivas Pandruvadaconfig BMC150_ACCEL 229bd7fe5b7SSrinivas Pandruvada tristate "Bosch BMC150 Accelerometer Driver" 230bd7fe5b7SSrinivas Pandruvada select IIO_BUFFER 231bd7fe5b7SSrinivas Pandruvada select IIO_TRIGGERED_BUFFER 2324011eda6SMarkus Pargmann select REGMAP 23355637c38SMarkus Pargmann select BMC150_ACCEL_I2C if I2C 234f9ab96e2SMarkus Pargmann select BMC150_ACCEL_SPI if SPI 235bd7fe5b7SSrinivas Pandruvada help 2368ecbb3c3SLaurentiu Palcu Say yes here to build support for the following Bosch accelerometers: 23752ae7c70SStephan Gerhold BMA222, BMA222E, BMA250E, BMA253, BMA254, BMA255, BMA280, BMC150, BMC156 23852ae7c70SStephan Gerhold BMI055. 2398ecbb3c3SLaurentiu Palcu 2404c177823SStephan Gerhold Note that some of these are combo modules: 24152ae7c70SStephan Gerhold - BMC150/BMC156: accelerometer and magnetometer 2424c177823SStephan Gerhold - BMI055: accelerometer and gyroscope 2434c177823SStephan Gerhold 244bd7fe5b7SSrinivas Pandruvada This driver is only implementing accelerometer part, which has 245bd7fe5b7SSrinivas Pandruvada its own address and register map. 246bd7fe5b7SSrinivas Pandruvada 24755637c38SMarkus Pargmannconfig BMC150_ACCEL_I2C 24855637c38SMarkus Pargmann tristate 24955637c38SMarkus Pargmann select REGMAP_I2C 25055637c38SMarkus Pargmann 251f9ab96e2SMarkus Pargmannconfig BMC150_ACCEL_SPI 252f9ab96e2SMarkus Pargmann tristate 253f9ab96e2SMarkus Pargmann select REGMAP_SPI 254f9ab96e2SMarkus Pargmann 255c19ae6beSMike Looijmansconfig BMI088_ACCEL 256c19ae6beSMike Looijmans tristate "Bosch BMI088 Accelerometer Driver" 257c19ae6beSMike Looijmans depends on SPI 258c19ae6beSMike Looijmans select IIO_BUFFER 259c19ae6beSMike Looijmans select IIO_TRIGGERED_BUFFER 260c19ae6beSMike Looijmans select REGMAP 261c19ae6beSMike Looijmans select BMI088_ACCEL_SPI 262c19ae6beSMike Looijmans help 263c19ae6beSMike Looijmans Say yes here to build support for the Bosch BMI088 accelerometer. 264c19ae6beSMike Looijmans 265c19ae6beSMike Looijmans This is a combo module with both accelerometer and gyroscope. This 266c19ae6beSMike Looijmans driver only implements the accelerometer part, which has its own 267c19ae6beSMike Looijmans address and register map. BMG160 provides the gyroscope driver. 268c19ae6beSMike Looijmans 269c19ae6beSMike Looijmansconfig BMI088_ACCEL_SPI 270c19ae6beSMike Looijmans tristate 271c19ae6beSMike Looijmans select REGMAP_SPI 272c19ae6beSMike Looijmans 273f225951dSHans de Goedeconfig DA280 274f225951dSHans de Goede tristate "MiraMEMS DA280 3-axis 14-bit digital accelerometer driver" 275f225951dSHans de Goede depends on I2C 276f225951dSHans de Goede help 277f225951dSHans de Goede Say yes here to build support for the MiraMEMS DA280 3-axis 14-bit 278f225951dSHans de Goede digital accelerometer. 279f225951dSHans de Goede 280f225951dSHans de Goede To compile this driver as a module, choose M here: the 281f225951dSHans de Goede module will be called da280. 282f225951dSHans de Goede 283598893e9SHans de Goedeconfig DA311 284598893e9SHans de Goede tristate "MiraMEMS DA311 3-axis 12-bit digital accelerometer driver" 285598893e9SHans de Goede depends on I2C 286598893e9SHans de Goede help 287598893e9SHans de Goede Say yes here to build support for the MiraMEMS DA311 3-axis 12-bit 288598893e9SHans de Goede digital accelerometer. 289598893e9SHans de Goede 290598893e9SHans de Goede To compile this driver as a module, choose M here: the 291598893e9SHans de Goede module will be called da311. 292598893e9SHans de Goede 293b1b79f53SAleksei Mamlinconfig DMARD06 294b1b79f53SAleksei Mamlin tristate "Domintech DMARD06 Digital Accelerometer Driver" 295b1b79f53SAleksei Mamlin depends on I2C 296b1b79f53SAleksei Mamlin help 297b1b79f53SAleksei Mamlin Say yes here to build support for the Domintech low-g tri-axial 298b1b79f53SAleksei Mamlin digital accelerometers: DMARD05, DMARD06, DMARD07. 299b1b79f53SAleksei Mamlin 300b1b79f53SAleksei Mamlin To compile this driver as a module, choose M here: the 301b1b79f53SAleksei Mamlin module will be called dmard06. 302b1b79f53SAleksei Mamlin 303a4fa6509SJelle van der Waaconfig DMARD09 304a4fa6509SJelle van der Waa tristate "Domintech DMARD09 3-axis Accelerometer Driver" 305a4fa6509SJelle van der Waa depends on I2C 306a4fa6509SJelle van der Waa help 307a4fa6509SJelle van der Waa Say yes here to get support for the Domintech DMARD09 3-axis 308a4fa6509SJelle van der Waa accelerometer. 309a4fa6509SJelle van der Waa 310a4fa6509SJelle van der Waa Choosing M will build the driver as a module. If so, the module 311a4fa6509SJelle van der Waa will be called dmard09. 312a4fa6509SJelle van der Waa 313569906e2SHans de Goedeconfig DMARD10 314569906e2SHans de Goede tristate "Domintech DMARD10 3-axis Accelerometer Driver" 315569906e2SHans de Goede depends on I2C 316569906e2SHans de Goede help 317569906e2SHans de Goede Say yes here to get support for the Domintech DMARD10 3-axis 318569906e2SHans de Goede accelerometer. 319569906e2SHans de Goede 320569906e2SHans de Goede Choosing M will build the driver as a module. If so, the module 321569906e2SHans de Goede will be called dmard10. 322569906e2SHans de Goede 323a3e0b518SSean Nyekjaerconfig FXLS8962AF 324a3e0b518SSean Nyekjaer tristate 3259f9decdbSArnd Bergmann depends on I2C || !I2C # cannot be built-in for modular I2C 326a3e0b518SSean Nyekjaer 327a3e0b518SSean Nyekjaerconfig FXLS8962AF_I2C 328a3e0b518SSean Nyekjaer tristate "NXP FXLS8962AF/FXLS8964AF Accelerometer I2C Driver" 329a3e0b518SSean Nyekjaer depends on I2C 330a3e0b518SSean Nyekjaer select FXLS8962AF 331a3e0b518SSean Nyekjaer select REGMAP_I2C 332a3e0b518SSean Nyekjaer help 333a3e0b518SSean Nyekjaer Say yes here to build support for the NXP 3-axis automotive 334a3e0b518SSean Nyekjaer accelerometer FXLS8962AF/FXLS8964AF with I2C support. 335a3e0b518SSean Nyekjaer 336a3e0b518SSean Nyekjaer To compile this driver as a module, choose M here: the module 337a3e0b518SSean Nyekjaer will be called fxls8962af_i2c. 338a3e0b518SSean Nyekjaer 339a3e0b518SSean Nyekjaerconfig FXLS8962AF_SPI 340a3e0b518SSean Nyekjaer tristate "NXP FXLS8962AF/FXLS8964AF Accelerometer SPI Driver" 341a3e0b518SSean Nyekjaer depends on SPI 3429f9decdbSArnd Bergmann depends on I2C || !I2C 343a3e0b518SSean Nyekjaer select FXLS8962AF 344a3e0b518SSean Nyekjaer select REGMAP_SPI 345a3e0b518SSean Nyekjaer help 346a3e0b518SSean Nyekjaer Say yes here to build support for the NXP 3-axis automotive 347a3e0b518SSean Nyekjaer accelerometer FXLS8962AF/FXLS8964AF with SPI support. 348a3e0b518SSean Nyekjaer 349a3e0b518SSean Nyekjaer To compile this driver as a module, choose M here: the module 350a3e0b518SSean Nyekjaer will be called fxls8962af_spi. 351a3e0b518SSean Nyekjaer 35245fe6f7dSsrinivas pandruvadaconfig HID_SENSOR_ACCEL_3D 35345fe6f7dSsrinivas pandruvada depends on HID_SENSOR_HUB 35445fe6f7dSsrinivas pandruvada select IIO_BUFFER 35545fe6f7dSsrinivas pandruvada select HID_SENSOR_IIO_COMMON 3569541cc39SAlexander Holler select HID_SENSOR_IIO_TRIGGER 357ace43fceSPeter Meerwald tristate "HID Accelerometers 3D" 35845fe6f7dSsrinivas pandruvada help 35945fe6f7dSsrinivas pandruvada Say yes here to build support for the HID SENSOR 36045fe6f7dSsrinivas pandruvada accelerometers 3D. 36145fe6f7dSsrinivas pandruvada 36288f4c6c4SRoberta Dobrescu To compile this driver as a module, choose M here: the 36388f4c6c4SRoberta Dobrescu module will be called hid-sensor-accel-3d. 36488f4c6c4SRoberta Dobrescu 36511b86c70SGwendal Grignouconfig IIO_CROS_EC_ACCEL_LEGACY 36611b86c70SGwendal Grignou tristate "ChromeOS EC Legacy Accelerometer Sensor" 367d96e2677SGwendal Grignou depends on IIO_CROS_EC_SENSORS_CORE 36811b86c70SGwendal Grignou help 36911b86c70SGwendal Grignou Say yes here to get support for accelerometers on Chromebook using 37011b86c70SGwendal Grignou legacy EC firmware. 37111b86c70SGwendal Grignou Sensor data is retrieved through IO memory. 37211b86c70SGwendal Grignou Newer devices should use IIO_CROS_EC_SENSORS. 37311b86c70SGwendal Grignou 374d6251168SDenis Cioccaconfig IIO_ST_ACCEL_3AXIS 375d6251168SDenis Ciocca tristate "STMicroelectronics accelerometers 3-Axis Driver" 376d6251168SDenis Ciocca depends on (I2C || SPI_MASTER) && SYSFS 377ed8959f4SLinus Walleij depends on !SENSORS_LIS3_I2C 378ed8959f4SLinus Walleij depends on !SENSORS_LIS3_SPI 379d6251168SDenis Ciocca select IIO_ST_SENSORS_CORE 380d6251168SDenis Ciocca select IIO_TRIGGERED_BUFFER if (IIO_BUFFER) 381d6251168SDenis Ciocca help 382d6251168SDenis Ciocca Say yes here to build support for STMicroelectronics accelerometers: 383d6251168SDenis Ciocca LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC, 384dcdb0a78SLorenzo Bianconi LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL, 3853f4a559bSGaëtan André LNG2DM, LIS3DE, LIS2DE12, LIS2HH12 386d6251168SDenis Ciocca 38726b2ec2eSNikita Yushchenko Also need to enable at least one of I2C and SPI interface drivers 38826b2ec2eSNikita Yushchenko below. 389d6251168SDenis Ciocca 390d6251168SDenis Cioccaconfig IIO_ST_ACCEL_I2C_3AXIS 39126b2ec2eSNikita Yushchenko tristate "STMicroelectronics accelerometers 3-Axis I2C Interface" 39226b2ec2eSNikita Yushchenko depends on I2C && IIO_ST_ACCEL_3AXIS 39326b2ec2eSNikita Yushchenko default I2C && IIO_ST_ACCEL_3AXIS 39426b2ec2eSNikita Yushchenko select IIO_ST_SENSORS_I2C 39526b2ec2eSNikita Yushchenko help 39626b2ec2eSNikita Yushchenko Build support for STMicroelectronics accelerometers I2C interface. 39726b2ec2eSNikita Yushchenko 39826b2ec2eSNikita Yushchenko To compile this driver as a module, choose M here. The module 39926b2ec2eSNikita Yushchenko will be called st_accel_i2c. 400d6251168SDenis Ciocca 401d6251168SDenis Cioccaconfig IIO_ST_ACCEL_SPI_3AXIS 40226b2ec2eSNikita Yushchenko tristate "STMicroelectronics accelerometers 3-Axis SPI Interface" 40326b2ec2eSNikita Yushchenko depends on SPI_MASTER && IIO_ST_ACCEL_3AXIS 40426b2ec2eSNikita Yushchenko default SPI_MASTER && IIO_ST_ACCEL_3AXIS 40526b2ec2eSNikita Yushchenko select IIO_ST_SENSORS_SPI 40626b2ec2eSNikita Yushchenko help 40726b2ec2eSNikita Yushchenko Build support for STMicroelectronics accelerometers SPI interface. 40826b2ec2eSNikita Yushchenko 40926b2ec2eSNikita Yushchenko To compile this driver as a module, choose M here. The module 41026b2ec2eSNikita Yushchenko will be called st_accel_spi. 411d6251168SDenis Ciocca 4123edc84e6SLars-Peter Clausenconfig KXSD9 4133edc84e6SLars-Peter Clausen tristate "Kionix KXSD9 Accelerometer Driver" 4140427a106SLinus Walleij select IIO_BUFFER 4150427a106SLinus Walleij select IIO_TRIGGERED_BUFFER 4163edc84e6SLars-Peter Clausen help 4173edc84e6SLars-Peter Clausen Say yes here to build support for the Kionix KXSD9 accelerometer. 418a483ab79SLinus Walleij It can be accessed using an (optional) SPI or I2C interface. 4193edc84e6SLars-Peter Clausen 42088f4c6c4SRoberta Dobrescu To compile this driver as a module, choose M here: the module 42188f4c6c4SRoberta Dobrescu will be called kxsd9. 42288f4c6c4SRoberta Dobrescu 423bf96f6e8SLinus Walleijconfig KXSD9_SPI 424bf96f6e8SLinus Walleij tristate "Kionix KXSD9 SPI transport" 425bf96f6e8SLinus Walleij depends on KXSD9 426bf96f6e8SLinus Walleij depends on SPI 427bf96f6e8SLinus Walleij default KXSD9 4280d1fb2d5SLinus Walleij select REGMAP_SPI 429bf96f6e8SLinus Walleij help 430bf96f6e8SLinus Walleij Say yes here to enable the Kionix KXSD9 accelerometer 431bf96f6e8SLinus Walleij SPI transport channel. 432bf96f6e8SLinus Walleij 433a483ab79SLinus Walleijconfig KXSD9_I2C 434a483ab79SLinus Walleij tristate "Kionix KXSD9 I2C transport" 435a483ab79SLinus Walleij depends on KXSD9 436a483ab79SLinus Walleij depends on I2C 437a483ab79SLinus Walleij default KXSD9 438a483ab79SLinus Walleij select REGMAP_I2C 439a483ab79SLinus Walleij help 440a483ab79SLinus Walleij Say yes here to enable the Kionix KXSD9 accelerometer 441a483ab79SLinus Walleij I2C transport channel. 442a483ab79SLinus Walleij 4431a4fbf6aSSrinivas Pandruvadaconfig KXCJK1013 4441a4fbf6aSSrinivas Pandruvada tristate "Kionix 3-Axis Accelerometer Driver" 4451a4fbf6aSSrinivas Pandruvada depends on I2C 4461a4fbf6aSSrinivas Pandruvada select IIO_BUFFER 4471a4fbf6aSSrinivas Pandruvada select IIO_TRIGGERED_BUFFER 4481a4fbf6aSSrinivas Pandruvada help 4491a4fbf6aSSrinivas Pandruvada Say Y here if you want to build a driver for the Kionix KXCJK-1013 4501540d010SMichał Mirosław triaxial acceleration sensor. This driver also supports KXCJ9-1008, 4511540d010SMichał Mirosław KXTJ2-1009 and KXTF9. 4521a4fbf6aSSrinivas Pandruvada 4531a4fbf6aSSrinivas Pandruvada To compile this driver as a module, choose M here: the module will 4541a4fbf6aSSrinivas Pandruvada be called kxcjk-1013. 4551a4fbf6aSSrinivas Pandruvada 456063e3303SHans de Goedeconfig MC3230 457063e3303SHans de Goede tristate "mCube MC3230 Digital Accelerometer Driver" 458063e3303SHans de Goede depends on I2C 459063e3303SHans de Goede help 460063e3303SHans de Goede Say yes here to build support for the mCube MC3230 low-g tri-axial 461063e3303SHans de Goede digital accelerometer. 462063e3303SHans de Goede 463063e3303SHans de Goede To compile this driver as a module, choose M here: the 464063e3303SHans de Goede module will be called mc3230. 465063e3303SHans de Goede 466a84ef0d1SJoachim Eastwoodconfig MMA7455 467a84ef0d1SJoachim Eastwood tristate 468a84ef0d1SJoachim Eastwood select IIO_BUFFER 469a84ef0d1SJoachim Eastwood select IIO_TRIGGERED_BUFFER 470a84ef0d1SJoachim Eastwood 471a84ef0d1SJoachim Eastwoodconfig MMA7455_I2C 472a84ef0d1SJoachim Eastwood tristate "Freescale MMA7455L/MMA7456L Accelerometer I2C Driver" 473a84ef0d1SJoachim Eastwood depends on I2C 474a84ef0d1SJoachim Eastwood select MMA7455 475a84ef0d1SJoachim Eastwood select REGMAP_I2C 476a84ef0d1SJoachim Eastwood help 477a84ef0d1SJoachim Eastwood Say yes here to build support for the Freescale MMA7455L and 478a84ef0d1SJoachim Eastwood MMA7456L 3-axis accelerometer. 479a84ef0d1SJoachim Eastwood 480a84ef0d1SJoachim Eastwood To compile this driver as a module, choose M here: the module 481a84ef0d1SJoachim Eastwood will be called mma7455_i2c. 482a84ef0d1SJoachim Eastwood 483a84ef0d1SJoachim Eastwoodconfig MMA7455_SPI 484a84ef0d1SJoachim Eastwood tristate "Freescale MMA7455L/MMA7456L Accelerometer SPI Driver" 485a84ef0d1SJoachim Eastwood depends on SPI_MASTER 486a84ef0d1SJoachim Eastwood select MMA7455 487a84ef0d1SJoachim Eastwood select REGMAP_SPI 488a84ef0d1SJoachim Eastwood help 489a84ef0d1SJoachim Eastwood Say yes here to build support for the Freescale MMA7455L and 490a84ef0d1SJoachim Eastwood MMA7456L 3-axis accelerometer. 491a84ef0d1SJoachim Eastwood 492a84ef0d1SJoachim Eastwood To compile this driver as a module, choose M here: the module 493a84ef0d1SJoachim Eastwood will be called mma7455_spi. 494a84ef0d1SJoachim Eastwood 49532133be6SConstantin Muscaconfig MMA7660 49632133be6SConstantin Musca tristate "Freescale MMA7660FC 3-Axis Accelerometer Driver" 49732133be6SConstantin Musca depends on I2C 49832133be6SConstantin Musca help 49932133be6SConstantin Musca Say yes here to get support for the Freescale MMA7660FC 3-Axis 50032133be6SConstantin Musca accelerometer. 50132133be6SConstantin Musca 50232133be6SConstantin Musca Choosing M will build the driver as a module. If so, the module 50332133be6SConstantin Musca will be called mma7660. 50432133be6SConstantin Musca 5058838cc7fSHartmut Knaackconfig MMA8452 506f26ab1aaSMartin Kepplinger tristate "Freescale / NXP MMA8452Q and similar Accelerometers Driver" 5078838cc7fSHartmut Knaack depends on I2C 5088838cc7fSHartmut Knaack select IIO_BUFFER 5098838cc7fSHartmut Knaack select IIO_TRIGGERED_BUFFER 5108838cc7fSHartmut Knaack help 511f26ab1aaSMartin Kepplinger Say yes here to build support for the following Freescale / NXP 3-axis 512e8731180SMartin Kepplinger accelerometers: MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC, 513e8731180SMartin Kepplinger FXLS8471Q. 5148838cc7fSHartmut Knaack 5158838cc7fSHartmut Knaack To compile this driver as a module, choose M here: the module 5168838cc7fSHartmut Knaack will be called mma8452. 5178838cc7fSHartmut Knaack 518d5b97f5cSIrina Tirdeaconfig MMA9551_CORE 519d5b97f5cSIrina Tirdea tristate 520d5b97f5cSIrina Tirdea 521c78b9171SVlad Dogaruconfig MMA9551 522c78b9171SVlad Dogaru tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver" 523c78b9171SVlad Dogaru depends on I2C 524d5b97f5cSIrina Tirdea select MMA9551_CORE 525d5b97f5cSIrina Tirdea 526c78b9171SVlad Dogaru help 527c78b9171SVlad Dogaru Say yes here to build support for the Freescale MMA9551L 528c78b9171SVlad Dogaru Intelligent Motion-Sensing Platform Driver. 529c78b9171SVlad Dogaru 530c78b9171SVlad Dogaru To compile this driver as a module, choose M here: the module 531c78b9171SVlad Dogaru will be called mma9551. 532c78b9171SVlad Dogaru 53340cb7613SIrina Tirdeaconfig MMA9553 53440cb7613SIrina Tirdea tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver" 53540cb7613SIrina Tirdea depends on I2C 53640cb7613SIrina Tirdea select MMA9551_CORE 53740cb7613SIrina Tirdea help 53840cb7613SIrina Tirdea Say yes here to build support for the Freescale MMA9553L 53940cb7613SIrina Tirdea Intelligent Pedometer Platform Driver. 54040cb7613SIrina Tirdea 54140cb7613SIrina Tirdea To compile this driver as a module, choose M here: the module 54240cb7613SIrina Tirdea will be called mma9553. 54390bad33aSTiberiu Breana 544*1ca2cfbcSDmitry Rokosovconfig MSA311 545*1ca2cfbcSDmitry Rokosov tristate "MEMSensing Digital 3-Axis Accelerometer Driver" 546*1ca2cfbcSDmitry Rokosov depends on I2C 547*1ca2cfbcSDmitry Rokosov select IIO_BUFFER 548*1ca2cfbcSDmitry Rokosov select IIO_TRIGGERED_BUFFER 549*1ca2cfbcSDmitry Rokosov select REGMAP_I2C 550*1ca2cfbcSDmitry Rokosov help 551*1ca2cfbcSDmitry Rokosov Say yes here to build support for the MEMSensing MSA311 552*1ca2cfbcSDmitry Rokosov accelerometer driver. 553*1ca2cfbcSDmitry Rokosov 554*1ca2cfbcSDmitry Rokosov To compile this driver as a module, choose M here: the module will be 555*1ca2cfbcSDmitry Rokosov called msa311. 556*1ca2cfbcSDmitry Rokosov 557077377fcSTeodora Balutaconfig MXC4005 558077377fcSTeodora Baluta tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver" 559077377fcSTeodora Baluta depends on I2C 5601ce0eda0STeodora Baluta select IIO_BUFFER 5611ce0eda0STeodora Baluta select IIO_TRIGGERED_BUFFER 562077377fcSTeodora Baluta select REGMAP_I2C 563077377fcSTeodora Baluta help 564077377fcSTeodora Baluta Say yes here to build support for the Memsic MXC4005XC 3-axis 565077377fcSTeodora Baluta accelerometer. 566077377fcSTeodora Baluta 567077377fcSTeodora Baluta To compile this driver as a module, choose M. The module will be 568077377fcSTeodora Baluta called mxc4005. 569077377fcSTeodora Baluta 57075b6548fSTeodora Balutaconfig MXC6255 57175b6548fSTeodora Baluta tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver" 57275b6548fSTeodora Baluta depends on I2C 57375b6548fSTeodora Baluta select REGMAP_I2C 57475b6548fSTeodora Baluta help 57575b6548fSTeodora Baluta Say yes here to build support for the Memsic MXC6255 Orientation 57675b6548fSTeodora Baluta Sensing Accelerometer Driver. 57775b6548fSTeodora Baluta 57875b6548fSTeodora Baluta To compile this driver as a module, choose M here: the module will be 57975b6548fSTeodora Baluta called mxc6255. 58075b6548fSTeodora Baluta 581d62e5feeSJonathan Cameronconfig SCA3000 582d62e5feeSJonathan Cameron select IIO_BUFFER 583d62e5feeSJonathan Cameron select IIO_KFIFO_BUF 584d62e5feeSJonathan Cameron depends on SPI 585d62e5feeSJonathan Cameron tristate "VTI SCA3000 series accelerometers" 586d62e5feeSJonathan Cameron help 587d62e5feeSJonathan Cameron Say Y here to build support for the VTI SCA3000 series of SPI 588d62e5feeSJonathan Cameron accelerometers. These devices use a hardware ring buffer. 589d62e5feeSJonathan Cameron 590d62e5feeSJonathan Cameron To compile this driver as a module, say M here: the module will be 591d62e5feeSJonathan Cameron called sca3000. 592d62e5feeSJonathan Cameron 5939cc9806eSTomas Melinconfig SCA3300 5949cc9806eSTomas Melin tristate "Murata SCA3300 3-Axis Accelerometer Driver" 5959cc9806eSTomas Melin depends on SPI 5969cc9806eSTomas Melin select CRC8 5979cc9806eSTomas Melin select IIO_BUFFER 5989cc9806eSTomas Melin select IIO_TRIGGERED_BUFFER 5999cc9806eSTomas Melin help 6009cc9806eSTomas Melin Say yes here to build support for Murata SCA3300 3-Axis 6019cc9806eSTomas Melin accelerometer. 6029cc9806eSTomas Melin 6039cc9806eSTomas Melin To compile this driver as a module, choose M here: the module will be 6049cc9806eSTomas Melin called sca3300. 6059cc9806eSTomas Melin 60690bad33aSTiberiu Breanaconfig STK8312 60790bad33aSTiberiu Breana tristate "Sensortek STK8312 3-Axis Accelerometer Driver" 60890bad33aSTiberiu Breana depends on I2C 609946448e0SHartmut Knaack select IIO_BUFFER 610946448e0SHartmut Knaack select IIO_TRIGGERED_BUFFER 61190bad33aSTiberiu Breana help 61290bad33aSTiberiu Breana Say yes here to get support for the Sensortek STK8312 3-axis 61390bad33aSTiberiu Breana accelerometer. 61490bad33aSTiberiu Breana 61590bad33aSTiberiu Breana Choosing M will build the driver as a module. If so, the module 61690bad33aSTiberiu Breana will be called stk8312. 61790bad33aSTiberiu Breana 618884ca456STiberiu Breanaconfig STK8BA50 619884ca456STiberiu Breana tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver" 620884ca456STiberiu Breana depends on I2C 621193e2d4fSAlison Schofield select IIO_BUFFER 622193e2d4fSAlison Schofield select IIO_TRIGGERED_BUFFER 623884ca456STiberiu Breana help 624884ca456STiberiu Breana Say yes here to get support for the Sensortek STK8BA50 3-axis 625884ca456STiberiu Breana accelerometer. 626884ca456STiberiu Breana 627884ca456STiberiu Breana Choosing M will build the driver as a module. If so, the module 628884ca456STiberiu Breana will be called stk8ba50. 629884ca456STiberiu Breana 63045fe6f7dSsrinivas pandruvadaendmenu 631