From: Andreas Schweigstill <andreas@schweigstill.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Using a second I2C interface
Date: Mon, 15 May 2006 16:43:09 +0200 [thread overview]
Message-ID: <4468937D.5000109@schweigstill.de> (raw)
In-Reply-To: <20060512190133.538D8352B0C@atlas.denx.de>
Hello!
Wolfgang Denk schrieb:
> A clean design should allow to switch I2C busses usign a command;
> additionally, I think we should try to stay backward-compatible with
> the existing code. Eventually this is not too difficult: similar to
> the "ide" or "usb" commands we could create a new command "i2c
> device" which takes as argument the number of the I2C bus which shal
> become the current (= active) bus. Then all existing I2C related
> commands can be left unchanged (and "i2c device" without arguments
> should of course print the ID of the current bus).
It has to be taken into account that the I2C busses may have different
adress length. So either the address length has to be read back from
the low-level driver or a table has to be maintained in the I2C command
implementations.
With best regards
Andreas Schweigstill
PS.: Has anybody written some "high-level" I2C commands for chipcard
interfaces?
--
Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstra?e 116, D-24118 Kiel, Germany
Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/
next prev parent reply other threads:[~2006-05-15 14:43 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-12 14:36 [U-Boot-Users] Using a second I2C interface Ben Warren
2006-05-12 15:02 ` Ben Warren
2006-05-12 18:00 ` Kumar Gala
2006-05-12 18:27 ` Ben Warren
2006-05-16 16:21 ` Wolfgang Denk
2006-05-12 19:01 ` Wolfgang Denk
2006-05-15 14:43 ` Andreas Schweigstill [this message]
2006-05-16 13:50 ` Ben Warren
-- strict thread matches above, loose matches on Subject: below --
2006-05-12 18:37 Howard, Marc
2006-05-12 18:47 ` Ben Warren
2006-05-12 19:37 Howard, Marc
2006-05-13 14:46 ` Wolfgang Denk
2006-05-15 14:09 ` Ben Warren
2006-05-16 13:27 Woodruff, Richard
2006-05-16 14:50 Menon, Nishanth
2006-05-16 19:57 Woodruff, Richard
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=4468937D.5000109@schweigstill.de \
--to=andreas@schweigstill.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 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.