Root/target/linux/s3c24xx/patches-2.6.30/057-lis302dl.patch

1--- a/drivers/input/misc/Kconfig
2+++ b/drivers/input/misc/Kconfig
3@@ -220,6 +220,15 @@ config HP_SDC_RTC
4       Say Y here if you want to support the built-in real time clock
5       of the HP SDC controller.
6 
7+config INPUT_LIS302DL
8+ tristate "STmicro LIS302DL 3-axis accelerometer"
9+ depends on SPI_MASTER
10+ help
11+ SPI driver for the STmicro LIS302DL 3-axis accelerometer.
12+
13+ The userspece interface is a 3-axis (X/Y/Z) relative movement
14+ Linux input device, reporting REL_[XYZ] events.
15+
16 config INPUT_PCF50633_PMU
17     tristate "PCF50633 PMU events"
18     depends on MFD_PCF50633
19--- a/drivers/input/misc/Makefile
20+++ b/drivers/input/misc/Makefile
21@@ -25,3 +25,4 @@ obj-$(CONFIG_INPUT_UINPUT) += uinput.o
22 obj-$(CONFIG_INPUT_WISTRON_BTNS) += wistron_btns.o
23 obj-$(CONFIG_INPUT_YEALINK) += yealink.o
24 obj-$(CONFIG_INPUT_GPIO_BUTTONS) += gpio_buttons.o
25+obj-$(CONFIG_INPUT_LIS302DL) += lis302dl.o
26

Archive Download this file



interactive