aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/Kconfig
diff options
context:
space:
mode:
authorSamu Onkalo <samu.p.onkalo@nokia.com>2009-12-17 18:27:07 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-17 18:45:30 -0500
commit312ea07bf067d41b339473e696f9199245d762f3 (patch)
tree8b1ba417d0b240d933d12d5f1fd73733e4cbdfd8 /drivers/hwmon/Kconfig
parentec8e2f7466ca370f5e09000ca40a71759afc9ac8 (diff)
hwmon: I2C bus support for lis3lv02d and variant accelerometer chips
Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com> Cc: Éric Piel <eric.piel@tremplin-utc.net> Cc: Kalhan Trisal <kalhan.trisal@intel.com> Cc: Jean Delvare <khali@linux-fr.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r--drivers/hwmon/Kconfig17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index 95ccbe377f9c..bf28945c610d 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -998,6 +998,23 @@ config SENSORS_LIS3_SPI
998 will be called lis3lv02d and a specific module for the SPI transport 998 will be called lis3lv02d and a specific module for the SPI transport
999 is called lis3lv02d_spi. 999 is called lis3lv02d_spi.
1000 1000
1001config SENSORS_LIS3_I2C
1002 tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (I2C)"
1003 depends on I2C && INPUT
1004 select INPUT_POLLDEV
1005 default n
1006 help
1007 This driver provides support for the LIS3LV02Dx accelerometer connected
1008 via I2C. The accelerometer data is readable via
1009 /sys/devices/platform/lis3lv02d.
1010
1011 This driver also provides an absolute input class device, allowing
1012 the device to act as a pinball machine-esque joystick.
1013
1014 This driver can also be built as modules. If so, the core module
1015 will be called lis3lv02d and a specific module for the I2C transport
1016 is called lis3lv02d_i2c.
1017
1001config SENSORS_APPLESMC 1018config SENSORS_APPLESMC
1002 tristate "Apple SMC (Motion sensor, light sensor, keyboard backlight)" 1019 tristate "Apple SMC (Motion sensor, light sensor, keyboard backlight)"
1003 depends on INPUT && X86 1020 depends on INPUT && X86