diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-03-05 04:21:41 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2010-03-05 04:21:41 +0000 |
commit | 01ed21fc16e8068c7d230945983a38a43570e6c3 (patch) | |
tree | e8c36995cd9fe7d8eee72343149adc2cf06558a7 /target/linux/xburst/patches-2.6.32/800-n5x6-lpc.patch | |
parent | f1afccc2d9b644d94efceb99a9f30f4ec4c5a7fb (diff) | |
download | upstream-01ed21fc16e8068c7d230945983a38a43570e6c3.tar.gz upstream-01ed21fc16e8068c7d230945983a38a43570e6c3.tar.bz2 upstream-01ed21fc16e8068c7d230945983a38a43570e6c3.zip |
Add support for the n516
SVN-Revision: 19987
Diffstat (limited to 'target/linux/xburst/patches-2.6.32/800-n5x6-lpc.patch')
-rw-r--r-- | target/linux/xburst/patches-2.6.32/800-n5x6-lpc.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/target/linux/xburst/patches-2.6.32/800-n5x6-lpc.patch b/target/linux/xburst/patches-2.6.32/800-n5x6-lpc.patch new file mode 100644 index 0000000000..169bc84ad5 --- /dev/null +++ b/target/linux/xburst/patches-2.6.32/800-n5x6-lpc.patch @@ -0,0 +1,45 @@ +From 806ead1e454a8a5876b777b22ca67187c4749f32 Mon Sep 17 00:00:00 2001 +From: Lars-Peter Clausen <lars@metafoo.de> +Date: Mon, 11 Jan 2010 04:30:42 +0100 +Subject: [PATCH] /opt/Projects/openwrt/target/linux/xburst/patches-2.6.31/800-n526-lpc.patch + +--- + drivers/i2c/chips/Kconfig | 9 +++++++++ + drivers/i2c/chips/Makefile | 1 + + 2 files changed, 10 insertions(+), 0 deletions(-) + +--- a/drivers/i2c/chips/Kconfig ++++ b/drivers/i2c/chips/Kconfig +@@ -26,4 +26,21 @@ config SENSORS_TSL2550 + This driver can also be built as a module. If so, the module + will be called tsl2550. + ++config N516_LPC ++ tristate "N516 keys & power controller" ++ depends on I2C ++ depends on INPUT ++ depends on POWER_SUPPLY ++ help ++ N516 keyboard & power controller driver ++ ++config N526_LPC ++ tristate "N526 LPC934 coprocessor" ++ depends on JZ4740_N526 ++ help ++ If you say yes here you get support for the N526s NXP LPC934 coprocessor. ++ It is used as a keyboard controllor and for power management. ++ ++ If you have a N526 you probably want to say Y here. ++ + endmenu +--- a/drivers/i2c/chips/Makefile ++++ b/drivers/i2c/chips/Makefile +@@ -12,6 +12,8 @@ + + obj-$(CONFIG_DS1682) += ds1682.o + obj-$(CONFIG_SENSORS_TSL2550) += tsl2550.o ++obj-$(CONFIG_N516_LPC) += n516-lpc.o ++obj-$(CONFIG_N526_LPC) += n526-lpc.o + + ifeq ($(CONFIG_I2C_DEBUG_CHIP),y) + EXTRA_CFLAGS += -DDEBUG |