From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yx0-f196.google.com (mail-yx0-f196.google.com [209.85.210.196]) by ozlabs.org (Postfix) with ESMTP id D7BA7B7D60 for ; Wed, 17 Feb 2010 06:33:55 +1100 (EST) Received: by yxe34 with SMTP id 34so3620510yxe.15 for ; Tue, 16 Feb 2010 11:33:54 -0800 (PST) MIME-Version: 1.0 Sender: glikely@secretlab.ca In-Reply-To: <1264191502.2224.2@antares> References: <1264191502.2224.2@antares> From: Grant Likely Date: Tue, 16 Feb 2010 12:33:34 -0700 Message-ID: Subject: Re: [PATCH/RFC 2/2] 5200: improve i2c bus error recovery To: =?ISO-8859-1?Q?Albrecht_Dre=DF?= Content-Type: text/plain; charset=ISO-8859-1 Cc: Linux PPC Development , Devicetree Discussions , "Ben Dooks \(embedded platforms\)" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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.