# SPDX-License-Identifier: GPL-2.0-only
#
# QMI8658 IMU driver
#

config QMI8658
	tristate
	select IIO_BUFFER
	select IIO_TRIGGERED_BUFFER

config QMI8658_I2C
	tristate "QST QMI8658 I2C driver"
	depends on I2C
	select QMI8658
	select REGMAP_I2C
	help
	  If you say yes here you get support for QMI8658 IMU on I2C with
	  accelerometer, gyroscoper.

	  This driver can also be built as a module. If so, the module will be
	  called qmi8658_i2c.

config QMI8658_SPI
	tristate "QST QMI8658 SPI driver"
	depends on SPI
	select QMI8658
	select REGMAP_SPI
	help
	  If you say yes here you get support for QMI8658 IMU on SPI with
	  accelerometer, gyroscope.

	  This driver can also be built as a module. If so, the module will be
	  called qmi8658_spi.
