xref: /linux/drivers/iio/common/st_sensors/Kconfig (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# STMicroelectronics sensors common library
4#
5
6config IIO_ST_SENSORS_I2C
7	tristate
8	select REGMAP_I2C
9
10config IIO_ST_SENSORS_SPI
11	tristate
12	select REGMAP_SPI
13
14config IIO_ST_SENSORS_CORE
15	tristate
16	select IIO_ST_SENSORS_I2C if I2C
17	select IIO_ST_SENSORS_SPI if SPI_MASTER
18