[s3c24xx] Add 2.6.31 patches
[openwrt/svn-archive/archive.git] / target / linux / s3c24xx / patches-2.6.31 / 058-lis302dl.patch
1 From 3c9a0b287a1ca66e24e041c87047bb559b855ef8 Mon Sep 17 00:00:00 2001
2 From: Lars-Peter Clausen <lars@metafoo.de>
3 Date: Tue, 21 Jul 2009 12:47:58 +0200
4 Subject: [PATCH] 057-lis302dl.patch
5
6 ---
7 drivers/input/misc/Kconfig | 9 +++++++++
8 drivers/input/misc/Makefile | 2 ++
9 2 files changed, 11 insertions(+), 0 deletions(-)
10
11 diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kconfig
12 index 1acfa3a..4af8eb4 100644
13 --- a/drivers/input/misc/Kconfig
14 +++ b/drivers/input/misc/Kconfig
15 @@ -230,6 +230,15 @@ config HP_SDC_RTC
16 Say Y here if you want to support the built-in real time clock
17 of the HP SDC controller.
18
19 +config INPUT_LIS302DL
20 + tristate "STmicro LIS302DL 3-axis accelerometer"
21 + depends on SPI_MASTER
22 + help
23 + SPI driver for the STmicro LIS302DL 3-axis accelerometer.
24 +
25 + The userspece interface is a 3-axis (X/Y/Z) relative movement
26 + Linux input device, reporting REL_[XYZ] events.
27 +
28 config INPUT_PCF50633_PMU
29 tristate "PCF50633 PMU events"
30 depends on MFD_PCF50633
31 diff --git a/drivers/input/misc/Makefile b/drivers/input/misc/Makefile
32 index 0d979fd..c959f35 100644
33 --- a/drivers/input/misc/Makefile
34 +++ b/drivers/input/misc/Makefile
35 @@ -14,6 +14,7 @@ obj-$(CONFIG_INPUT_TWL4030_PWRBUTTON) += twl4030-pwrbutton.o
36 obj-$(CONFIG_HP_SDC_RTC) += hp_sdc_rtc.o
37 obj-$(CONFIG_INPUT_IXP4XX_BEEPER) += ixp4xx-beeper.o
38 obj-$(CONFIG_INPUT_KEYSPAN_REMOTE) += keyspan_remote.o
39 +obj-$(CONFIG_INPUT_LIS302DL) += lis302dl.o
40 obj-$(CONFIG_INPUT_M68K_BEEP) += m68kspkr.o
41 obj-$(CONFIG_INPUT_PCF50633_PMU) += pcf50633-input.o
42 obj-$(CONFIG_INPUT_PCSPKR) += pcspkr.o
43 --
44 1.5.6.5
45