brintos

brintos / linux-shallow public Read only

0
0
Text · 1.4 KiB · 7aef714 Raw
46 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2 3config IIO_ST_LSM9DS04	tristate "STMicroelectronics LSM9DS0 IMU driver"5	depends on (I2C || SPI_MASTER) && SYSFS6	depends on !SENSORS_LIS3_I2C7	depends on !SENSORS_LIS3_SPI8	select IIO_ST_ACCEL_3AXIS9	select IIO_ST_MAGN_3AXIS10 11	help12	  Say yes here to build support for STMicroelectronics LSM9DS0 IMU13	  sensor. Supported devices: accelerometer/magnetometer of lsm9ds014	  and lsm303d.15 16	  To compile this driver as a module, choose M here: the module17	  will be called st_lsm9ds0.18 19	  Also need to enable at least one of I2C and SPI interface drivers20 21config IIO_ST_LSM9DS0_I2C22	tristate "STMicroelectronics LSM9DS0 IMU I2C interface"23	depends on I2C && IIO_ST_LSM9DS024	default I2C && IIO_ST_LSM9DS025	select IIO_ST_ACCEL_I2C_3AXIS26	select IIO_ST_MAGN_I2C_3AXIS27	select REGMAP_I2C28	help29	  Build support for STMicroelectronics LSM9DS0 IMU I2C interface.30 31	  To compile this driver as a module, choose M here. The module32	  will be called st_lsm9ds0_i2c.33 34config IIO_ST_LSM9DS0_SPI35	tristate "STMicroelectronics LSM9DS0 IMU SPI interface"36	depends on SPI_MASTER && IIO_ST_LSM9DS037	default SPI_MASTER && IIO_ST_LSM9DS038	select IIO_ST_ACCEL_SPI_3AXIS39	select IIO_ST_MAGN_SPI_3AXIS40	select REGMAP_SPI41	help42	  Build support for STMicroelectronics LSM9DS0 IMU I2C interface.43 44	  To compile this driver as a module, choose M here. The module45	  will be called st_lsm9ds0_spi.46