summaryrefslogtreecommitdiff
path: root/drivers/hwmon/Kconfig
diff options
context:
space:
mode:
authorChethan Krishna N <chethan.krishna@stericsson.com>2011-08-25 12:15:25 +0530
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:06:06 +0200
commitcda2b57dc46fbab546d594a2bae0d58c280bc36d (patch)
tree02aa0f325bac5877c14dea327205fb9193f25bda /drivers/hwmon/Kconfig
parent185839d15a77d70bbbf539e6afa42bc1ce629eee (diff)
drivers:hwmon: add support for lsm303dlhc sensor
Adding support for lsm303dlhc acclerometer and magnetometer sensor chip. ST-Ericsson ID: 317051 ST-Ericsson FOSS-OUT ID: NA ST-Ericsson Linux next: NA Change-Id: If55ac20c2665b44d3af45d7af0f2e3e16570d8a7 Signed-off-by: Chethan Krishna N <chethan.krishna@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/26993 Reviewed-by: QATEST Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r--drivers/hwmon/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index 72524d16630..cd1468b1b3a 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -710,6 +710,20 @@ config SENSORS_LSM303DLH_INPUT_DEVICE
interrupts, need to be enabled only when input device support
is required.
+config SENSORS_LSM303DLHC
+ tristate "ST LSM303DLHC 3-axis accelerometer and 3-axis magnetometer"
+ depends on I2C
+ default n
+ help
+ This driver provides support for the LSM303DLHC chip which includes a
+ 3-axis accelerometer and a 3-axis magnetometer.
+
+ This driver can also be built as modules. If so, the module for
+ accelerometer will be called lsm303dlhc_a and for magnetometer it will
+ be called lsm303dlh_m.
+
+ Say Y here if you have a device containing lsm303dlhc chip.
+
config SENSORS_L3G4200D
tristate "ST L3G4200D 3-axis gyroscope"
depends on I2C