| 1 |
# SPDX-License-Identifier: GPL-2.0 |
| 2 |
# |
| 3 |
# SMI330 IMU driver |
| 4 |
# |
| 5 |
|
| 6 |
config SMI330 |
| 7 |
tristate |
| 8 |
select IIO_BUFFER |
| 9 |
select IIO_TRIGGERED_BUFFER |
| 10 |
|
| 11 |
config SMI330_I2C |
| 12 |
tristate "Bosch SMI330 I2C driver" |
| 13 |
depends on I2C |
| 14 |
select SMI330 |
| 15 |
select REGMAP_I2C |
| 16 |
help |
| 17 |
Enable support for the Bosch SMI330 6-Axis IMU connected to I2C |
| 18 |
interface. |
| 19 |
|
| 20 |
This driver can also be built as a module. If so, the module will be |
| 21 |
called smi330_i2c. |
| 22 |
|
| 23 |
config SMI330_SPI |
| 24 |
tristate "Bosch SMI330 SPI driver" |
| 25 |
depends on SPI |
| 26 |
select SMI330 |
| 27 |
select REGMAP_SPI |
| 28 |
help |
| 29 |
Enable support for the Bosch SMI330 6-Axis IMU connected to SPI |
| 30 |
interface. |
| 31 |
|
| 32 |
This driver can also be built as a module. If so, the module will be |
| 33 |
called smi330_spi. |