df81b64ba311426ff08bac0f58e69e2354988e36
[openwrt/svn-archive/archive.git] / target / linux / xburst / patches-2.6.32 / 800-n526-lpc.patch
1 From 806ead1e454a8a5876b777b22ca67187c4749f32 Mon Sep 17 00:00:00 2001
2 From: Lars-Peter Clausen <lars@metafoo.de>
3 Date: Mon, 11 Jan 2010 04:30:42 +0100
4 Subject: [PATCH] /opt/Projects/openwrt/target/linux/xburst/patches-2.6.31/800-n526-lpc.patch
5
6 ---
7 drivers/i2c/chips/Kconfig | 9 +++++++++
8 drivers/i2c/chips/Makefile | 1 +
9 2 files changed, 10 insertions(+), 0 deletions(-)
10
11 --- a/drivers/i2c/chips/Kconfig
12 +++ b/drivers/i2c/chips/Kconfig
13 @@ -26,4 +26,13 @@ config SENSORS_TSL2550
14 This driver can also be built as a module. If so, the module
15 will be called tsl2550.
16
17 +config N526_LPC
18 + tristate "N526 LPC934 coprocessor"
19 + depends on JZ4740_N526
20 + help
21 + If you say yes here you get support for the N526s NXP LPC934 coprocessor.
22 + It is used as a keyboard controllor and for power management.
23 +
24 + If you have a N526 you probably want to say Y here.
25 +
26 endmenu
27 --- a/drivers/i2c/chips/Makefile
28 +++ b/drivers/i2c/chips/Makefile
29 @@ -12,6 +12,7 @@
30
31 obj-$(CONFIG_DS1682) += ds1682.o
32 obj-$(CONFIG_SENSORS_TSL2550) += tsl2550.o
33 +obj-$(CONFIG_N526_LPC) += n526-lpc.o
34
35 ifeq ($(CONFIG_I2C_DEBUG_CHIP),y)
36 EXTRA_CFLAGS += -DDEBUG