From: Ben Warren <bwarren@qstreams.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH 1/2] Add support for multiple I2C buses
Date: Wed, 30 Aug 2006 17:35:47 -0400 [thread overview]
Message-ID: <1156973748.13685.26.camel@saruman.qstreams.net> (raw)
Hello,
Attached is a patch providing support for multiple I2C buses at the
command level. The second part of the patch includes an implementation
for the MPC834x CPU and MPC8349EMDS board. Note - this does not include
support for 10-bit addresses. That's too profound a change to include
here... Hopefully this addresses concerns with my previous attempts.
Overview:
1. Include new 'i2c' command (based on USB implementation) using
CONFIG_I2C_CMD_TREE. Note - I opted to not use the last remaining CMD
bit in 'include/cmd_confdefs.h'.
2. Allow multiple buses by defining CONFIG_I2C_MULTI_BUS. Note that
this is only available under the new 'i2c' command mentioned in bullet
1.
3. Allow by-passing of devices when probing a bus by defining
CFG_I2C_MULTI_NOPROBES. This is an array of bus-device pairs that will
be skipped by the 'i2c probe' command.
CHANGELOG:
Added new 'i2c' master command for all I2C interaction. This is
conditionally compiled with CONFIG_I2C_CMD_TREE. New commands added for
setting I2C bus speed as well as changing the active bus if the board
has more than one bus (conditionally compiled with
CONFIG_I2C_MULTI_BUS). Added a list of devices to ignore when probing
the buses when more than one bus is present. Updated README.
regards,
Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i2c_multibus.PATCH
Type: text/x-patch
Size: 9093 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20060830/df28dfeb/attachment.bin
next reply other threads:[~2006-08-30 21:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-30 21:35 Ben Warren [this message]
2006-09-01 3:45 ` [U-Boot-Users] [PATCH 1/2] Add support for multiple I2C buses Nishanth Menon
2006-09-01 19:42 ` Ben Warren
2006-09-01 21:03 ` Wolfgang Denk
2006-09-05 17:59 ` Tolunay Orkun
2006-09-01 23:42 ` nishanth menon
2006-09-02 3:18 ` Ben Warren
2006-09-02 5:21 ` Nishanth Menon
2006-09-07 20:50 ` Ben Warren
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=1156973748.13685.26.camel@saruman.qstreams.net \
--to=bwarren@qstreams.com \
--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