Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e667fb3a authored by Cloud Chen's avatar Cloud Chen
Browse files

update driver to support v3.18 IIO driver

parent db9e5382
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
#
# IIO imu drivers configuration
#
menu "Inertial measurement units"
source "drivers/staging/iio/imu/bmi160/Kconfig"


#
# Bosch BMI160 IMU drivers configuration
#

config SENSORS_BMI160_IIO
        tristate "BMI160 IMU IIO Driver"
        depends on I2C 
        help
	  If you say yes here you get support for Bosch Sensortec's
	  IMU drivers of BMI16x.

config SENSORS_BMI160_IIO_RING
        tristate "BMI160 IIO Ring Buffer Support"
        depends on SENSORS_BMI160_IIO
        select IIO_TRIGGERED_BUFFER if IIO_BUFFER
        help
         BMI160 IMU Driver support ring buffer operations.

endmenu
+9 −0
Original line number Diff line number Diff line
#
#Makefile for BMI160 IIO Driver
#
obj-y   += bmi160_i2c.o bmi160_core.o bmi160.o 
obj-y   += bmi160_ring.o

EXTRA_CFLAGS += -DBMI160_ENABLE_INT1

EXTRA_CFLAGS += -DBMI_USE_BASIC_I2C_FUNC
+18812 −0

File added.

File size exceeds preview limit.

+11834 −0

File added.

File size exceeds preview limit.

Loading