From: "Albrecht Dreß" <albrecht.dress@arcor.de>
To: Linux PPC Development <linuxppc-dev@ozlabs.org>,
Devicetree Discussions <devicetree-discuss@lists.ozlabs.org>,
"Ben Dooks (embedded platforms)" <ben-linux@fluff.org>
Subject: [PATCH/RFC 2/2] 5200: improve i2c bus error recovery
Date: Fri, 22 Jan 2010 21:18:22 +0100 [thread overview]
Message-ID: <1264191502.2224.2@antares> (raw)
Make the I2C adapter timeout configurable through a Device Tree property
which gives the timeout in microseconds.
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-01-22 =
16:04:56.000000000 +0100
@@ -21,6 +21,7 @@
- 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.
+ - timeout : I2C timeout in microseconds.
=20
Examples :
=20
WARNING: multiple messages have this Message-ID (diff)
From: "Albrecht Dreß" <albrecht.dress-KvP5wT2u2U0@public.gmane.org>
To: Linux PPC Development
<linuxppc-dev-mnsaURCQ41sdnm+yROfE0A@public.gmane.org>,
Devicetree Discussions
<devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org>,
"Ben Dooks (embedded platforms)"
<ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>
Subject: [PATCH/RFC 2/2] 5200: improve i2c bus error recovery
Date: Fri, 22 Jan 2010 21:18:22 +0100 [thread overview]
Message-ID: <1264191502.2224.2@antares> (raw)
Make the I2C adapter timeout configurable through a Device Tree property
which gives the timeout in microseconds.
Signed-off-by: Albrecht Dreß <albrecht.dress-KvP5wT2u2U0@public.gmane.org>
---
--- linux-2.6.32-orig/Documentation/powerpc/dts-bindings/fsl/i2c.txt 2009-12-03 04:51:21.000000000 +0100
+++ linux-2.6.32/Documentation/powerpc/dts-bindings/fsl/i2c.txt 2010-01-22 16:04:56.000000000 +0100
@@ -21,6 +21,7 @@
- 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.
+ - timeout : I2C timeout in microseconds.
Examples :
next reply other threads:[~2010-01-22 20:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-22 20:18 Albrecht Dreß [this message]
2010-01-22 20:18 ` [PATCH/RFC 2/2] 5200: improve i2c bus error recovery Albrecht Dreß
2010-01-25 7:55 ` Wolfgang Grandegger
2010-01-25 7:55 ` Wolfgang Grandegger
2010-01-25 20:26 ` Albrecht Dreß
2010-01-25 20:26 ` Albrecht Dreß
2010-01-26 7:33 ` Wolfgang Grandegger
2010-01-26 7:33 ` Wolfgang Grandegger
2010-02-16 19:33 ` Grant Likely
2010-02-16 19:33 ` Grant Likely
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1264191502.2224.2@antares \
--to=albrecht.dress@arcor.de \
--cc=ben-linux@fluff.org \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.