| 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,21 @@ 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 N516_LPC |
| 18 | + tristate "N516 keys & power controller" |
| 19 | + depends on I2C |
| 20 | + depends on INPUT |
| 21 | + depends on POWER_SUPPLY |
| 22 | + help |
| 23 | + N516 keyboard & power controller driver |
| 24 | + |
| 25 | +config N526_LPC |
| 26 | + tristate "N526 LPC934 coprocessor" |
| 27 | + depends on JZ4740_N526 |
| 28 | + help |
| 29 | + If you say yes here you get support for the N526s NXP LPC934 coprocessor. |
| 30 | + It is used as a keyboard controllor and for power management. |
| 31 | + |
| 32 | + If you have a N526 you probably want to say Y here. |
| 33 | + |
| 34 | endmenu |
| 35 | --- a/drivers/i2c/chips/Makefile |
| 36 | +++ b/drivers/i2c/chips/Makefile |
| 37 | @@ -12,6 +12,8 @@ |
| 38 | |
| 39 | obj-$(CONFIG_DS1682) += ds1682.o |
| 40 | obj-$(CONFIG_SENSORS_TSL2550) += tsl2550.o |
| 41 | +obj-$(CONFIG_N516_LPC) += n516-lpc.o |
| 42 | +obj-$(CONFIG_N526_LPC) += n526-lpc.o |
| 43 | |
| 44 | ifeq ($(CONFIG_I2C_DEBUG_CHIP),y) |
| 45 | EXTRA_CFLAGS += -DDEBUG |
| 46 | |