1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 2290a6ce1SLorenzo Bianconi 3290a6ce1SLorenzo Bianconiconfig IIO_ST_LSM6DSX 4290a6ce1SLorenzo Bianconi tristate "ST_LSM6DSx driver for STM 6-axis IMU MEMS sensors" 52660b008SVitor Soares depends on (I2C || SPI || I3C) 6290a6ce1SLorenzo Bianconi select IIO_BUFFER 7c9c1d6d8SVladimir Oltean select IIO_TRIGGERED_BUFFER 8290a6ce1SLorenzo Bianconi select IIO_KFIFO_BUF 9290a6ce1SLorenzo Bianconi help 10290a6ce1SLorenzo Bianconi Say yes here to build support for STMicroelectronics LSM6DSx imu 110e2bf22aSLorenzo Bianconi sensor. 120e2bf22aSLorenzo Bianconi Supported devices: 130e2bf22aSLorenzo Bianconi - asm330lhb 140e2bf22aSLorenzo Bianconi - asm330lhh 150e2bf22aSLorenzo Bianconi - asm330lhhx 1616ac43a1SLorenzo Bianconi - asm330lhhxg1 170e2bf22aSLorenzo Bianconi - ism330dhcx 180e2bf22aSLorenzo Bianconi - ism330dlc 190e2bf22aSLorenzo Bianconi - ism330is 200e2bf22aSLorenzo Bianconi - lsm6ds0 210e2bf22aSLorenzo Bianconi - lsm6ds3 220e2bf22aSLorenzo Bianconi - lsm6ds3h 230e2bf22aSLorenzo Bianconi - lsm6ds3tr-c 240e2bf22aSLorenzo Bianconi - lsm6dsl 250e2bf22aSLorenzo Bianconi - lsm6dsm 260e2bf22aSLorenzo Bianconi - lsm6dso 270e2bf22aSLorenzo Bianconi - lsm6dso16is 280e2bf22aSLorenzo Bianconi - lsm6dsop 290e2bf22aSLorenzo Bianconi - lsm6dsox 300e2bf22aSLorenzo Bianconi - lsm6dsr 310e2bf22aSLorenzo Bianconi - lsm6dsrx 320e2bf22aSLorenzo Bianconi - lsm6dst 330e2bf22aSLorenzo Bianconi - lsm6dstx 340e2bf22aSLorenzo Bianconi - lsm6dsv 350e2bf22aSLorenzo Bianconi - lsm6dsv16x 360e2bf22aSLorenzo Bianconi - lsm9ds1 37290a6ce1SLorenzo Bianconi 38290a6ce1SLorenzo Bianconi To compile this driver as a module, choose M here: the module 39290a6ce1SLorenzo Bianconi will be called st_lsm6dsx. 40290a6ce1SLorenzo Bianconi 41290a6ce1SLorenzo Bianconiconfig IIO_ST_LSM6DSX_I2C 42*804eb393SSean Nyekjaer tristate "ST_LSM6DSx driver for STM 6-axis IMU MEMS sensors I2C Interface" 43*804eb393SSean Nyekjaer depends on I2C && IIO_ST_LSM6DSX 44*804eb393SSean Nyekjaer default I2C && IIO_ST_LSM6DSX 4551a8b707SLorenzo Bianconi select REGMAP_I2C 46290a6ce1SLorenzo Bianconi 47290a6ce1SLorenzo Bianconiconfig IIO_ST_LSM6DSX_SPI 48*804eb393SSean Nyekjaer tristate "ST_LSM6DSx driver for STM 6-axis IMU MEMS sensors SPI Interface" 49*804eb393SSean Nyekjaer depends on SPI_MASTER && IIO_ST_LSM6DSX 50*804eb393SSean Nyekjaer default SPI_MASTER && IIO_ST_LSM6DSX 5151a8b707SLorenzo Bianconi select REGMAP_SPI 522660b008SVitor Soares 532660b008SVitor Soaresconfig IIO_ST_LSM6DSX_I3C 54*804eb393SSean Nyekjaer tristate "ST_LSM6DSx driver for STM 6-axis IMU MEMS sensors I3C Interface" 55*804eb393SSean Nyekjaer depends on I3C && IIO_ST_LSM6DSX 56*804eb393SSean Nyekjaer default I3C && IIO_ST_LSM6DSX 572660b008SVitor Soares select REGMAP_I3C 58