From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/3] Reset interrupted i2c slaves (galaxy5200)
Date: Fri, 28 Aug 2009 11:47:01 +0200 [thread overview]
Message-ID: <m27hwoxobu.fsf@ohwell.denx.de> (raw)
In-Reply-To: <20090825135314.M38430@coldhaus.com> (Eric Millbrandt's message of "Tue, 25 Aug 2009 08:57:14 -0500")
Hi Eric,
> Reset any i2c devices that may have been interrupted by a system reset.
> Normally this would be accomplished by clocking the line until SCL and SDA
> are released and then sending a start condtiion (From an Atmel datasheet).
> But since there is only write access to these lines on the MPC5200 we can
> only attempt to reset any slave devices by sending more start commands than
> bits the slave is attempting to transmit.
You may want to talk to Heiko (on CC) about this deblocking stuff.
Heiko implemented an algorithm which seems to work very good for a lot
of different cpu types.
I think it may be worth to reuse what's available there. And much more,
the algorithm Heiko has implemented has been thoroughly tested on actual
hardware whereas from your commit-msg it seems that your implementation
is more a theoretical one at the moment.
Cheers
Detlev
--
You cannot teach what you do not know
You cannot lead where you will not go.
-- Anonymous
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
next prev parent reply other threads:[~2009-08-28 9:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-25 13:57 [U-Boot] [PATCH 2/3] Reset interrupted i2c slaves (galaxy5200) Eric Millbrandt
2009-08-25 14:41 ` Peter Tyser
2009-08-28 9:47 ` Detlev Zundel [this message]
2009-08-28 9:59 ` Detlev Zundel
2009-08-31 8:13 ` Heiko Schocher
2009-08-31 13:17 ` Detlev Zundel
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=m27hwoxobu.fsf@ohwell.denx.de \
--to=dzu@denx.de \
--cc=u-boot@lists.denx.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox