You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
137 lines
4.4 KiB
137 lines
4.4 KiB
#
|
|
# 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
|
|
help
|
|
If you say yes here, you get support for smart log function in Bosch Sensortec driver.
|
|
|
|
config SENSORS_SMI_ACC2X2
|
|
tristate "SMI130_ACC acceleration sensor support"
|
|
depends on I2C
|
|
help
|
|
If you say yes here, you get support for Bosch Sensortec's
|
|
acceleration sensors SMI_ACC255/SMI_ACC254/SMI_ACC355/SMI_ACC250E/SMI_ACC222E/SMI_ACC280.
|
|
|
|
config SENSORS_SMI_ACC2X2_ENABLE_INT1
|
|
tristate "SMI_ACC2X2 acceleration sensor interrupt INT1 support"
|
|
depends on SENSORS_SMI_ACC2X2
|
|
help
|
|
If you say yes here, you get INT1 support for Bosch Sensortec
|
|
acceleration sensors SMI_ACC255/SMI_ACC250E/SMI_ACC222E/SMI_ACC280.
|
|
Select it will disable interrupt INT2 support
|
|
|
|
config SENSORS_SMI_ACC2X2_ENABLE_INT2
|
|
tristate "SMI_ACC2X2 acceleration sensor interrupt INT2 support"
|
|
depends on SENSORS_SMI_ACC2X2 && !SENSORS_SMI_ACC2X2_ENABLE_INT1
|
|
help
|
|
If you say yes here, you get INT2 support for Bosch Sensortec
|
|
acceleration sensors SMI_ACC255/SMI_ACC250E/SMI_ACC222E/SMI_ACC280.
|
|
Can only open if you do NOT open interrupt INT1 support
|
|
|
|
config SIG_MOTION
|
|
tristate "support significant motion sensor function"
|
|
depends on SENSORS_SMI_ACC2X2 && ( SENSORS_SMI_ACC2X2_ENABLE_INT1 || SENSORS_SMI_ACC2X2_ENABLE_INT2)
|
|
help
|
|
If you say yes here, if you want to support Bosch significant motion sensor function
|
|
|
|
config DOUBLE_TAP
|
|
tristate "support double tap sensor function"
|
|
depends on SENSORS_SMI_ACC2X2 && ( SENSORS_SMI_ACC2X2_ENABLE_INT1 || SENSORS_SMI_ACC2X2_ENABLE_INT2)
|
|
help
|
|
If you say yes here, you get support Bosch double tap sensor function
|
|
|
|
config SENSORS_SMI_GYRO
|
|
tristate "Bosch Gyroscope Sensor Driver"
|
|
depends on I2C
|
|
help
|
|
If you say yes here, you get support for Bosch Sensortec's
|
|
gyroscope sensor drivers of SMI130_GYRO/SMI055/BMI058 e.t.c.
|
|
|
|
config SENSORS_SMI_GYRO_FIFO
|
|
tristate "Bosch Gyroscope FIFO Support"
|
|
depends on SENSORS_SMI_GYRO
|
|
help
|
|
If you say yes here, you get support for Gyroscope sensor FIFO operations.
|
|
Please check whether the chip supports fifo feature to open it.
|
|
|
|
config SENSORS_BMI058
|
|
tristate "BMI058 Sensor Support"
|
|
depends on (SENSORS_SMI_GYRO || SENSORS_SMI_ACC2X2)
|
|
help
|
|
If you say yes here, you get support for Bosch Sensortec's
|
|
sensor driver of BMI058.
|
|
|
|
config SENSORS_YAS537
|
|
tristate "YAS537 Magnetic Sensor Driver"
|
|
depends on I2C
|
|
help
|
|
If you say yes here, you get support for YAMAHA
|
|
sensor YAS537 Magnetic Sensor
|
|
|
|
config SENSORS_BMM050
|
|
tristate "BMM050 Magnetic Sensor Driver"
|
|
depends on I2C
|
|
help
|
|
If you say yes here, you get support for Bosch Sensortec's
|
|
sensor BMM050 Magnetic Sensor
|
|
|
|
config SENSORS_AKM09911
|
|
tristate "AKM09911 Mag Sensor Driver"
|
|
depends on I2C
|
|
help
|
|
If you say yes here, you get support AKM09911 Sensor support.
|
|
|
|
config SENSORS_AKM09912
|
|
tristate "AKM09912 Mag Sensor Driver"
|
|
depends on I2C
|
|
help
|
|
If you say yes here, you get support AKM09912 Sensor support.
|
|
|
|
config SENSORS_SMI_ACC420
|
|
tristate "SMI_ACC4XY Sensor Support"
|
|
depends on I2C || SPI_MASTER
|
|
help
|
|
If you say yes here, you get support for Bosch Sensortec's sensor driver of SMI_ACC420.
|
|
config SENSORS_SMI_ACC421
|
|
tristate "SMI_ACC4XY Sensor Support"
|
|
depends on I2C || SPI_MASTER
|
|
help
|
|
If you say yes here, you get support for Bosch Sensortec's sensor driver of SMI_ACC421.
|
|
config SENSORS_SMI_ACC422
|
|
tristate "SMI_ACC4XY Sensor Support"
|
|
depends on I2C || SPI_MASTER
|
|
help
|
|
If you say yes here, you get support for Bosch Sensortec's sensor driver of SMI_ACC422.
|
|
config SENSORS_SMI_ACC455
|
|
tristate "SMI_ACC4XY Sensor Support"
|
|
depends on I2C || SPI_MASTER
|
|
help
|
|
If you say yes here, you get support for Bosch Sensortec's sensor driver of SMI_ACC455.
|
|
|
|
config SMI_ACC4XY_MAG_INTERFACE_SUPPORT
|
|
tristate "SMI_ACC4XY Sensor mag interface support"
|
|
depends on SENSORS_SMI_ACC4XY
|
|
help
|
|
If you say yes here, you get support for Bosch Sensortec's
|
|
sensor driver of SMI_ACC4XY with mag sensor support.
|
|
|
|
config ENABLE_SMI_ACC_GYRO_BUFFERING
|
|
bool "Enable accel & gyro boot time sensor sample buffering"
|
|
depends on SMI130
|
|
help
|
|
Say Y here if you want to buffer boot time sensor
|
|
samples for ASM330 accelerometer and gyroscope
|
|
|
|
endif
|
|
|