[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 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 robust enough to gracefu

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 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

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_

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

2009-07-15 Thread Troy Kisky
Philby John wrote: >>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 by resetting > the i2c bus. The kernel

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

2009-07-22 Thread Nitin Mahajan
Hello, - Original Message > From: Philby John > 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 condit

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

2009-07-22 Thread Philby John
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-07-24 Thread Karicheri, Muralidharan
Troy, > >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 ru

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

2009-07-24 Thread Troy Kisky
Karicheri, Muralidharan wrote: > Troy, > > >> 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 DM

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

2009-09-18 Thread Craig Matsuura
; > From: Philby John > > > 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-20 Thread Philby John
> > > 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 &g

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

2009-09-21 Thread Craig Matsuura
; > > > > > - Original Message > > > > > > > > > From: Philby John > > > > > To: linux-...@vger.kernel.org > > > > > Cc: kh...@linux-fr.org; > > > > davinci-linux-open-source@linux.davincidsp.com &g

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

2009-09-21 Thread Craig Matsuura
> > > 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

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) > > +{ > > +

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 > > Date: Tue, 14 Jul 2009 21:46:47 +0530 > > Subject: [PATCH] Reset i2c bus to come out of

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 > > Date: Tue, 14 Jul 2009 21:46:47 +0530 > > Subject: [PATCH] Reset i2c bus to come out of time out conditions >