drivers: iio: imu: enabled the smi and iam sensor

Enabled the compilation of smi130 and iam20680
sensors.

Change-Id: I845fe019f6b0922a0d2344dd335457436d8af88c
Signed-off-by: Puneet Yatnal <puneet@codeaurora.org>
tirimbino
Puneet Yatnal 5 years ago committed by Gerrit - the friendly Code Review server
parent 71de716823
commit 89e72f3371
  1. 1
      drivers/iio/imu/Kconfig
  2. 1
      drivers/iio/imu/Makefile
  3. 2
      drivers/iio/imu/inv_mpu/inv_mpu_iio.h
  4. 1
      drivers/iio/imu/st_asm330lhh/st_asm330lhh_buffer.c
  5. 2
      drivers/input/Kconfig
  6. 1
      drivers/input/Makefile
  7. 13
      drivers/input/sensors/smi130/Kconfig

@ -39,6 +39,7 @@ config KMX61
be called kmx61.
source "drivers/iio/imu/inv_mpu6050/Kconfig"
source "drivers/iio/imu/inv_mpu/Kconfig"
source "drivers/iio/imu/st_lsm6dsx/Kconfig"
source "drivers/iio/imu/st_asm330lhh/Kconfig"

@ -16,6 +16,7 @@ obj-$(CONFIG_IIO_ADIS_LIB) += adis_lib.o
obj-y += bmi160/
obj-y += inv_mpu6050/
obj-y += inv_mpu/
obj-$(CONFIG_KMX61) += kmx61.o

@ -35,6 +35,8 @@
#include <linux/wait.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/buffer.h>
#include <linux/iio/buffer_impl.h>
#include <linux/iio/iio.h>
#include <linux/iio/kfifo_buf.h>

@ -16,6 +16,7 @@
#include <linux/iio/buffer.h>
#include <asm/unaligned.h>
#include <linux/of.h>
#include <asm/arch_timer.h>
#include "st_asm330lhh.h"

@ -211,6 +211,8 @@ source "drivers/input/touchscreen/Kconfig"
source "drivers/input/misc/Kconfig"
source "drivers/input/sensors/smi130/Kconfig"
source "drivers/input/rmi4/Kconfig"
endif

@ -31,3 +31,4 @@ obj-$(CONFIG_INPUT_KEYRESET) += keyreset.o
obj-$(CONFIG_INPUT_KEYCOMBO) += keycombo.o
obj-$(CONFIG_RMI4_CORE) += rmi4/
obj-$(CONFIG_SMI130) += sensors/smi130/

@ -1,6 +1,16 @@
#
# Makefile for Bosch sensors driver.
#
menuconfig SMI130
bool "Enable smi130 drivers"
help
Say Y here, and a list of smi130 drivers will be displayed.
This option does not affect the kernel.
If unsure, say N.
if SMI130
config BOSCH_DRIVER_LOG_FUNC
tristate "Bosch Sensortec driver smart log function support"
depends on (I2C || SPI_MASTER) && SYSFS
@ -117,5 +127,4 @@ depends on SENSORS_SMI_ACC4XY
If you say yes here, you get support for Bosch Sensortec's
sensor driver of SMI_ACC4XY with mag sensor support.
endif

Loading…
Cancel
Save