summaryrefslogtreecommitdiff
path: root/target/linux/au1000-2.6/patches
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2006-12-28 16:32:15 +0000
committerFlorian Fainelli <florian@openwrt.org>2006-12-28 16:32:15 +0000
commita55cba30a83b0139065aa3f7ec2496ba471b1e1f (patch)
treecfc2997e2308edd9cd9526d0f9d06dab3d96e9bf /target/linux/au1000-2.6/patches
parent636cb2b0258aae5526aaf8064e062517dc20e48f (diff)
downloadmtk-20170518-a55cba30a83b0139065aa3f7ec2496ba471b1e1f.zip
mtk-20170518-a55cba30a83b0139065aa3f7ec2496ba471b1e1f.tar.gz
mtk-20170518-a55cba30a83b0139065aa3f7ec2496ba471b1e1f.tar.bz2
Forgot to add the i2c id, grr
SVN-Revision: 5918
Diffstat (limited to 'target/linux/au1000-2.6/patches')
-rw-r--r--target/linux/au1000-2.6/patches/010-au100_gpio_i2c.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/au1000-2.6/patches/010-au100_gpio_i2c.patch b/target/linux/au1000-2.6/patches/010-au100_gpio_i2c.patch
index 52d7102..0be9ac3 100644
--- a/target/linux/au1000-2.6/patches/010-au100_gpio_i2c.patch
+++ b/target/linux/au1000-2.6/patches/010-au100_gpio_i2c.patch
@@ -454,3 +454,16 @@ diff -urN linux-2.6.19/drivers/i2c/busses/i2c-au1x00gpio.c linux-2.6.19.new/driv
+ i2c_bit_au1x00gpio_exit();
+}
+#endif
+diff -urN linux-2.6.19/include/linux/i2c-id.h linux-2.6.19.new/include/linux/i2c-id.h
+--- linux-2.6.19/include/linux/i2c-id.h 2006-11-29 22:57:37.000000000 +0100
++++ linux-2.6.19.new/include/linux/i2c-id.h 2006-12-28 03:12:15.000000000 +0100
+@@ -231,6 +231,9 @@
+ /* --- Au1550 PSC adapters adapters */
+ #define I2C_HW_AU1550_PSC 0x1b0000
+
++/* --- Au1x00 i2c GPIO adapter */
++#define I2C_HW_B_AU1x00GPIO 0x1b
++
+ /* --- SMBus only adapters */
+ #define I2C_HW_SMBUS_PIIX4 0x040000
+ #define I2C_HW_SMBUS_ALI15X3 0x040001