summaryrefslogtreecommitdiff
path: root/packages/linux/linux-omap-2.6.26/beagleboard/400khz-i2c.diff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-12-02 10:15:56 +0100
committerKoen Kooi <koen@openembedded.org>2008-12-02 10:15:56 +0100
commita9f44be1cbb357170617fcad211af0cd44063998 (patch)
tree7a2eaec75a8b98b530c7a3e44af6d77f4a216915 /packages/linux/linux-omap-2.6.26/beagleboard/400khz-i2c.diff
parent6570429cc9d013f537b510a113ce084b5098f3b9 (diff)
linux-omap: add recipe to build 2.6.26
Diffstat (limited to 'packages/linux/linux-omap-2.6.26/beagleboard/400khz-i2c.diff')
-rw-r--r--packages/linux/linux-omap-2.6.26/beagleboard/400khz-i2c.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/linux/linux-omap-2.6.26/beagleboard/400khz-i2c.diff b/packages/linux/linux-omap-2.6.26/beagleboard/400khz-i2c.diff
new file mode 100644
index 0000000000..f749dbcf5b
--- /dev/null
+++ b/packages/linux/linux-omap-2.6.26/beagleboard/400khz-i2c.diff
@@ -0,0 +1,22 @@
+From: Steve Sakoman <steve@sakoman.com>
+Date: Wed, 16 Jul 2008 19:38:43 +0000 (-0700)
+Subject: omap3beagle: set data rate on i2c-1 to 400, since 2600 seems to be
+X-Git-Url: http://www.sakoman.net/cgi-bin/gitweb.cgi?p=linux-omap-2.6.git;a=commitdiff_plain;h=12d6504334a830774ff1d42cee4b7296ac9fb7d2
+
+omap3beagle: set data rate on i2c-1 to 400, since 2600 seems to be
+flakey
+---
+
+diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
+index fdce787..938ad73 100644
+--- a/arch/arm/mach-omap2/board-omap3beagle.c
++++ b/arch/arm/mach-omap2/board-omap3beagle.c
+@@ -39,7 +39,7 @@ static struct omap_uart_config omap3_beagle_uart_config __initdata = {
+
+ static int __init omap3_beagle_i2c_init(void)
+ {
+- omap_register_i2c_bus(1, 2600, NULL, 0);
++ omap_register_i2c_bus(1, 400, NULL, 0);
+ omap_register_i2c_bus(2, 400, NULL, 0);
+ omap_register_i2c_bus(3, 400, NULL, 0);
+ return 0;