sensor_lis2dw: add lis3dh sensor and i2c communication
Signed-off-by: Luke Vuksta <wulfstawulfsta@gmail.com>
This commit is contained in:
@@ -102,7 +102,7 @@ config WANT_SENSORS
|
||||
default y
|
||||
config WANT_LIS2DW
|
||||
bool
|
||||
depends on HAVE_GPIO_SPI
|
||||
depends on HAVE_GPIO_SPI || HAVE_GPIO_I2C
|
||||
default y
|
||||
config WANT_LDC1612
|
||||
bool
|
||||
@@ -141,8 +141,8 @@ config WANT_SENSORS
|
||||
bool "Support external sensor devices"
|
||||
depends on HAVE_GPIO_I2C || HAVE_GPIO_SPI
|
||||
config WANT_LIS2DW
|
||||
bool "Support lis2dw 3-axis accelerometer"
|
||||
depends on HAVE_GPIO_SPI
|
||||
bool "Support lis2dw and lis3dh 3-axis accelerometers"
|
||||
depends on HAVE_GPIO_SPI || HAVE_GPIO_I2C
|
||||
config WANT_LDC1612
|
||||
bool "Support ldc1612 eddy current sensor"
|
||||
depends on HAVE_GPIO_I2C
|
||||
|
||||
Reference in New Issue
Block a user