Re: [PATCH] I2C: Fix twl4030 timeouts on omap3430

2008-04-01 Thread Peter 'p2' De Schrijver
On Tue, Apr 01, 2008 at 03:43:56PM +0300, ext Tony Lindgren wrote: * Tony Lindgren [EMAIL PROTECTED] [080331 17:30]: * Tony Lindgren [EMAIL PROTECTED] [080331 13:43]: * Tony Lindgren [EMAIL PROTECTED] [080328 10:41]: Hi all, This helps with the annoying I2C timeouts. Does

Re: [PATCH] I2C: Fix twl4030 timeouts on omap3430

2008-04-01 Thread Tony Lindgren
* Tony Lindgren [EMAIL PROTECTED] [080401 16:39]: * Peter 'p2' De Schrijver [EMAIL PROTECTED] [080401 16:01]: On Tue, Apr 01, 2008 at 03:43:56PM +0300, ext Tony Lindgren wrote: * Tony Lindgren [EMAIL PROTECTED] [080331 17:30]: * Tony Lindgren [EMAIL PROTECTED] [080331 13:43]: * Tony

Re: [PATCH] I2C: Fix twl4030 timeouts on omap3430

2008-04-01 Thread Tony Lindgren
* Peter 'p2' De Schrijver [EMAIL PROTECTED] [080401 16:01]: On Tue, Apr 01, 2008 at 03:43:56PM +0300, ext Tony Lindgren wrote: * Tony Lindgren [EMAIL PROTECTED] [080331 17:30]: * Tony Lindgren [EMAIL PROTECTED] [080331 13:43]: * Tony Lindgren [EMAIL PROTECTED] [080328 10:41]: Hi

[PATCH] I2C: Fix twl4030 timeouts on omap3430

2008-03-28 Thread Tony Lindgren
25c4c8f449819cb6f40b59ed1a9b25ebcc7cd72e Mon Sep 17 00:00:00 2001 From: Tony Lindgren [EMAIL PROTECTED] Date: Thu, 27 Mar 2008 19:05:30 +0200 Subject: [PATCH] I2C: Fix twl4030 timeouts on omap3430 For some reason doing a twl4030 write-read cycle can hang the I2C bus on omap3430. And doing

[PATCH] I2C: Fix twl4030 timeouts on omap3430

2008-03-28 Thread Tony Lindgren
For some reason doing a twl4030 write-read cycle can hang the I2C bus on omap3430. And doing the write and read separately in twl4030_i2c_read() seems to fix the problem... Not intended for applying, just a temporary workaround. diff --git a/drivers/i2c/chips/twl4030-core.c

[PATCH] I2C: Fix twl4030 timeouts on omap3430

2008-03-28 Thread Tony Lindgren
ARM: OMAP: Use posted mode for dmtimer This patch adds the use of write posting for the timer. Previously, every write could lock the requestor for almost 3x32KHz cycles. This patch only synchronizes before writes and reads instead of after them and it does it on per register basis. Doing it

Re: [PATCH] I2C: Fix twl4030 timeouts on omap3430

2008-03-28 Thread Tony Lindgren
* Tony Lindgren [EMAIL PROTECTED] [080328 13:47]: For some reason doing a twl4030 write-read cycle can hang the I2C bus on omap3430. And doing the write and read separately in twl4030_i2c_read() seems to fix the problem... Not intended for applying, just a temporary workaround. Uh, please

Re: [PATCH] I2C: Fix twl4030 timeouts on omap3430

2008-03-28 Thread Tony Lindgren
* Tony Lindgren [EMAIL PROTECTED] [080328 13:47]: ARM: OMAP: Use posted mode for dmtimer This patch adds the use of write posting for the timer. Previously, every write could lock the requestor for almost 3x32KHz cycles. This patch only synchronizes before writes and reads instead of after