Re: [PATCH/RFC 1/1] recover from davinci i2c time out conditions

2009-11-23 Thread Philby John
Hello David, On Wed, 2009-07-15 at 10:10 -0700, David Brownell wrote: On Wednesday 15 July 2009, Philby John wrote: /* + * Configure the i2c data pin as a GPIO input and the i2c clock pin as a + * high GPIO output. + */ +static void disable_i2c_pins(void) +{ + unsigned long

Re: [PATCH/RFC 1/1] recover from davinci i2c time out conditions

2009-11-23 Thread Philby John
Hello Sergei, On Wed, 2009-07-15 at 16:34 +0400, Sergei Shtylyov wrote: Hello. Philby John wrote: From dbe7e824d576636bb15b82a20fd2557fddc9a8f7 Mon Sep 17 00:00:00 2001 From: Philby John pj...@in.mvista.com Date: Tue, 14 Jul 2009 21:46:47 +0530 Subject: [PATCH] Reset i2c bus to come

Re: [PATCH/RFC 1/1] recover from davinci i2c time out conditions

2009-11-23 Thread Philby John
Hello Troy, On Wed, 2009-07-15 at 10:15 -0700, Troy Kisky wrote: Philby John wrote: From dbe7e824d576636bb15b82a20fd2557fddc9a8f7 Mon Sep 17 00:00:00 2001 From: Philby John pj...@in.mvista.com Date: Tue, 14 Jul 2009 21:46:47 +0530 Subject: [PATCH] Reset i2c bus to come out of time out

Re: [PATCH/RFC 1/1] recover from davinci i2c time out conditions

2009-09-21 Thread Philby John
:04:27 Subject: [PATCH/RFC 1/1] recover from davinci i2c time out conditions From dbe7e824d576636bb15b82a20fd2557fddc9a8f7 Mon Sep 17 00:00:00 2001 From: Philby John Date: Tue, 14 Jul 2009 21:46:47 +0530 Subject: [PATCH] Reset i2c bus to come out of time out conditions

Re: [PATCH/RFC 1/1] recover from davinci i2c time out conditions

2009-09-21 Thread Craig Matsuura
Sent: Wednesday, July 15, 2009 13:04:27 Subject: [PATCH/RFC 1/1] recover from davinci i2c time out conditions From dbe7e824d576636bb15b82a20fd2557fddc9a8f7 Mon Sep 17 00:00:00 2001 From: Philby John Date: Tue, 14 Jul 2009 21:46:47 +0530 Subject: [PATCH] Reset i2c

Re: [PATCH/RFC 1/1] recover from davinci i2c time out conditions

2009-09-21 Thread Craig Matsuura
Message From: Philby John pj...@in.mvista.com To: linux-...@vger.kernel.org Cc: kh...@linux-fr.org; davinci-linux-open-source@linux.davincidsp.com Sent: Wednesday, July 15, 2009 13:04:27 Subject: [PATCH/RFC 1/1] recover from davinci i2c time out conditions

Re: [PATCH/RFC 1/1] recover from davinci i2c time out conditions

2009-09-18 Thread Craig Matsuura
-...@vger.kernel.org Cc: kh...@linux-fr.org; davinci-linux-open-source@linux.davincidsp.com Sent: Wednesday, July 15, 2009 13:04:27 Subject: [PATCH/RFC 1/1] recover from davinci i2c time out conditions From dbe7e824d576636bb15b82a20fd2557fddc9a8f7 Mon Sep 17 00:00:00 2001 From: Philby

RE: [PATCH/RFC 1/1] recover from davinci i2c time out conditions

2009-07-24 Thread Karicheri, Muralidharan
Troy, Snip I personally like the idea behind this patch. But I have heard others argue against it. But it is not related to the ^C issue others have mentioned.That should not happen in the GIT kernel. I do get this ^c timeout issue in DM6446 and DM355. I have the video loopback application

Re: [PATCH/RFC 1/1] recover from davinci i2c time out conditions

2009-07-22 Thread Nitin Mahajan
Hello, - Original Message From: Philby John pj...@in.mvista.com To: linux-...@vger.kernel.org Cc: kh...@linux-fr.org; davinci-linux-open-source@linux.davincidsp.com Sent: Wednesday, July 15, 2009 13:04:27 Subject: [PATCH/RFC 1/1] recover from davinci i2c time out conditions

Re: [PATCH/RFC 1/1] recover from davinci i2c time out conditions

2009-07-22 Thread Philby John
: [PATCH/RFC 1/1] recover from davinci i2c time out conditions From dbe7e824d576636bb15b82a20fd2557fddc9a8f7 Mon Sep 17 00:00:00 2001 From: Philby John Date: Tue, 14 Jul 2009 21:46:47 +0530 Subject: [PATCH] Reset i2c bus to come out of time out conditions Get out of i2c time out condition

[PATCH/RFC 1/1] recover from davinci i2c time out conditions

2009-07-15 Thread Philby John
From dbe7e824d576636bb15b82a20fd2557fddc9a8f7 Mon Sep 17 00:00:00 2001 From: Philby John pj...@in.mvista.com Date: Tue, 14 Jul 2009 21:46:47 +0530 Subject: [PATCH] Reset i2c bus to come out of time out conditions Get out of i2c time out condition by resetting the i2c bus. The kernel must be

Re: [PATCH/RFC 1/1] recover from davinci i2c time out conditions

2009-07-15 Thread Sergei Shtylyov
Hello. Philby John wrote: From dbe7e824d576636bb15b82a20fd2557fddc9a8f7 Mon Sep 17 00:00:00 2001 From: Philby John pj...@in.mvista.com Date: Tue, 14 Jul 2009 21:46:47 +0530 Subject: [PATCH] Reset i2c bus to come out of time out conditions Get out of i2c time out condition by resetting the

Re: [PATCH/RFC 1/1] recover from davinci i2c time out conditions

2009-07-15 Thread David Brownell
On Wednesday 15 July 2009, Philby John wrote:  /* + * Configure the i2c data pin as a GPIO input and the i2c clock pin as a + * high GPIO output. + */ +static void disable_i2c_pins(void) +{ +   unsigned long flags; + +   local_irq_save(flags); +   if (cpu_is_davinci_dm355())