From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Likely Subject: Re: [PATCH/RFC 2/2] 5200: improve i2c bus error recovery Date: Tue, 16 Feb 2010 12:33:34 -0700 Message-ID: References: <1264191502.2224.2@antares> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1264191502.2224.2@antares> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+glppe-linuxppc-embedded-2=m.gmane.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+glppe-linuxppc-embedded-2=m.gmane.org@lists.ozlabs.org To: =?ISO-8859-1?Q?Albrecht_Dre=DF?= Cc: Linux PPC Development , Devicetree Discussions , "Ben Dooks (embedded platforms)" List-Id: devicetree@vger.kernel.org On Fri, Jan 22, 2010 at 1:18 PM, Albrecht Dre=DF = wrote: > Make the I2C adapter timeout configurable through a Device Tree property > which gives the timeout in microseconds. > > Signed-off-by: Albrecht Dre=DF > > --- > > --- linux-2.6.32-orig/Documentation/powerpc/dts-bindings/fsl/i2c.txt =A0 = =A02009-12-03 04:51:21.000000000 +0100 > +++ linux-2.6.32/Documentation/powerpc/dts-bindings/fsl/i2c.txt 2010-01-2= 2 16:04:56.000000000 +0100 > @@ -21,6 +21,7 @@ > =A0- fsl,preserve-clocking : boolean; if defined, the clock settings > =A0 =A0from the bootloader are preserved (not touched). > =A0- clock-frequency : desired I2C bus clock frequency in Hz. > + - timeout : I2C timeout in microseconds. fsl,timeout to avoid namespace collisions please (ie. if a common i2c 'timeout' property is ever defined for all i2c busses) g.