2012-04-06 23:49:35 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2012-04-07 00:45:52 +08:00
|
|
|
# see misc/tools/kconfig-language.txt.
|
2012-04-06 23:49:35 +08:00
|
|
|
#
|
2013-08-10 23:06:53 +08:00
|
|
|
|
2012-04-13 22:27:44 +08:00
|
|
|
config LIS331DL
|
|
|
|
bool "ST LIS331DL device support"
|
|
|
|
default n
|
|
|
|
select I2C
|
2013-12-10 00:51:22 +08:00
|
|
|
|
2015-02-13 02:21:05 +08:00
|
|
|
config MPL115A
|
|
|
|
bool "Freescale MPL115A Barometer Sensor support"
|
|
|
|
default n
|
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
Enable driver support for the Freescale MPL115A barometer sensor.
|
|
|
|
|
2014-12-16 22:16:53 +08:00
|
|
|
config SENSORS_ADXL345
|
|
|
|
bool "AnalogDevices ADXL345 Driver"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables support for the ADXL345 driver
|
|
|
|
|
|
|
|
if SENSORS_ADXL345
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "ADXL345 Interface"
|
|
|
|
default ADXL345_SPI
|
|
|
|
|
|
|
|
config ADXL345_SPI
|
|
|
|
bool "ADXL345 SPI Interface"
|
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
Enables support for the SPI interface.
|
|
|
|
|
|
|
|
config ADXL345_I2C
|
|
|
|
bool "ADXL345 I2C Interface"
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
Enables support for the I2C interface
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config ADXL345_ACTIVELOW
|
|
|
|
bool "Active Low Interrupt"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
The ADXL345 interrupt will be inverted. Instead starting low and going
|
|
|
|
high, it will start high and will go low when an interrupt is fired.
|
|
|
|
Default: Active high/rising edge.
|
|
|
|
|
|
|
|
config ADXL345_REGDEBUG
|
|
|
|
bool "Enable Register-Level ADXL345 Debug"
|
|
|
|
default n
|
|
|
|
depends on DEBUG
|
|
|
|
---help---
|
|
|
|
Enable very low register-level debug output.
|
|
|
|
|
|
|
|
endif # SENSORS_ADXL345
|
|
|
|
|
2012-04-13 22:27:44 +08:00
|
|
|
config I2C_LM75
|
|
|
|
bool
|
|
|
|
default y if LM75
|
|
|
|
|
|
|
|
config LM75
|
|
|
|
bool "STMicro LM-75 Temperature Sensor support"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
select I2C_LM75
|
2015-01-07 01:50:56 +08:00
|
|
|
---help---
|
|
|
|
Enable driver support for the STMicro LM-75 temperature sensor.
|
|
|
|
This should also work with compatible temperature sensors such as
|
|
|
|
the TI TMP100/101.
|
2012-04-13 22:27:44 +08:00
|
|
|
|
|
|
|
config QENCODER
|
|
|
|
bool "Qencoder"
|
|
|
|
default n
|