* [Patch v2 2/2] 5200/mpc: improve i2c bus error recovery
@ 2010-02-17 18:59 Albrecht Dreß
2010-02-17 20:10 ` Grant Likely
0 siblings, 1 reply; 2+ messages in thread
From: Albrecht Dreß @ 2010-02-17 18:59 UTC (permalink / raw)
To: Linux PPC Development, Devicetree Discussions, Grant Likely,
Ben Dooks (embedded platforms)
Cc: Ira W. Snyder
Make the I2C adapter timeout configurable through a Device Tree property
which gives the timeout in microseconds.
Change vs. v.1: use "fsl,timeout" as property name (Thanks, Grant)
Signed-off-by: Albrecht Dre=DF <albrecht.dress@arcor.de>
---
--- linux-2.6.32-orig/Documentation/powerpc/dts-bindings/fsl/i2c.txt 2009-1=
2-03 04:51:21.000000000 +0100
+++ linux-2.6.32/Documentation/powerpc/dts-bindings/fsl/i2c.txt 2010-02-17 =
14:18:01.000000000 +0100
@@ -21,6 +21,7 @@ Recommended properties :
- fsl,preserve-clocking : boolean; if defined, the clock settings
from the bootloader are preserved (not touched).
- clock-frequency : desired I2C bus clock frequency in Hz.
+ - fsl,timeout : I2C bus timeout in microseconds.
Examples :
@@ -44,5 +45,6 @@ Examples :
interrupts =3D <43 2>;
interrupt-parent =3D <&mpic>;
clock-frequency =3D <400000>;
+ fsl,timeout =3D <10000>;
};
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Patch v2 2/2] 5200/mpc: improve i2c bus error recovery
2010-02-17 18:59 [Patch v2 2/2] 5200/mpc: improve i2c bus error recovery Albrecht Dreß
@ 2010-02-17 20:10 ` Grant Likely
0 siblings, 0 replies; 2+ messages in thread
From: Grant Likely @ 2010-02-17 20:10 UTC (permalink / raw)
To: Albrecht Dreß
Cc: Linux PPC Development, Devicetree Discussions,
Ben Dooks (embedded platforms), Ira W. Snyder
On Wed, Feb 17, 2010 at 11:59 AM, Albrecht Dre=DF <albrecht.dress@arcor.de>=
wrote:
> Make the I2C adapter timeout configurable through a Device Tree property
> which gives the timeout in microseconds.
>
> Change vs. v.1: use "fsl,timeout" as property name (Thanks, Grant)
>
> Signed-off-by: Albrecht Dre=DF <albrecht.dress@arcor.de>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
>
> ---
>
> --- linux-2.6.32-orig/Documentation/powerpc/dts-bindings/fsl/i2c.txt
> =A02009-12-03 04:51:21.000000000 +0100
> +++ linux-2.6.32/Documentation/powerpc/dts-bindings/fsl/i2c.txt 2010-02-1=
7
> 14:18:01.000000000 +0100
> @@ -21,6 +21,7 @@ Recommended properties :
> =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.
> + - fsl,timeout : I2C bus timeout in microseconds.
>
> =A0Examples :
>
> @@ -44,5 +45,6 @@ Examples :
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0interrupts =3D <43 2>;
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0interrupt-parent =3D <&mpic>;
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0clock-frequency =3D <400000>;
> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 fsl,timeout =3D <10000>;
> =A0 =A0 =A0 =A0};
>
>
--=20
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-02-17 20:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-17 18:59 [Patch v2 2/2] 5200/mpc: improve i2c bus error recovery Albrecht Dreß
2010-02-17 20:10 ` Grant Likely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).