Merge xburst target.
[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 diff --git a/drivers/i2c/chips/Kconfig b/drivers/i2c/chips/Kconfig
12 index f9618f4..d84da61 100644
13 --- a/drivers/i2c/chips/Kconfig
14 +++ b/drivers/i2c/chips/Kconfig
15 @@ -26,4 +26,13 @@ config SENSORS_TSL2550
16 This driver can also be built as a module. If so, the module
17 will be called tsl2550.
18
19 +config N526_LPC
20 + tristate "N526 LPC934 coprocessor"
21 + depends on JZ4740_N526
22 + help
23 + If you say yes here you get support for the N526s NXP LPC934 coprocessor.
24 + It is used as a keyboard controllor and for power management.
25 +
26 + If you have a N526 you probably want to say Y here.
27 +
28 endmenu
29 diff --git a/drivers/i2c/chips/Makefile b/drivers/i2c/chips/Makefile
30 index 749cf36..856c8b5 100644
31 --- a/drivers/i2c/chips/Makefile
32 +++ b/drivers/i2c/chips/Makefile
33 @@ -12,6 +12,7 @@
34
35 obj-$(CONFIG_DS1682) += ds1682.o
36 obj-$(CONFIG_SENSORS_TSL2550) += tsl2550.o
37 +obj-$(CONFIG_N526_LPC) += n526-lpc.o
38
39 ifeq ($(CONFIG_I2C_DEBUG_CHIP),y)
40 EXTRA_CFLAGS += -DDEBUG
41 --
42 1.5.6.5
43