Ben Warren bb99ad6d82 Add support for multiple I2C buses
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 patch replaces ticket DNX#2006083042000018 ***/

Signed-off-by: Ben Warren <bwarren@qstreams.com>

Overview:

1. Include new 'i2c' command (based on USB implementation) using
CONFIG_I2C_CMD_TREE.

2. Allow multiple buses by defining CONFIG_I2C_MULTI_BUS.  Note that
the commands to change bus number and speed are only available under the
new 'i2c' command mentioned in the first bullet.

3. The option CFG_I2C_NOPROBES has been expanded to work in multi-bus
systems.  When CONFIG_I2C_MULTI_BUS is used, this option takes the form
of an array of bus-device pairs.  Otherwise, it is an array of uchar.

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 (conditionally compiled with
CONFIG_I2C_MULTI_BUS).  Updated NOPROBE logic to handle multiple buses.
Updated README.

regards,
Ben
2006-11-03 19:42:19 -06:00
..
2003-06-27 21:31:46 +00:00
2005-10-13 16:45:02 +02:00
2006-05-26 10:01:16 -05:00
2006-10-26 16:24:31 +02:00
2006-10-26 16:24:31 +02:00
2005-09-22 09:04:17 +02:00
2005-10-17 00:19:16 +02:00
2003-10-06 21:55:32 +00:00
2006-04-11 14:39:21 +02:00
2005-10-13 16:45:02 +02:00
2006-11-03 19:42:19 -06:00
2006-06-16 17:32:31 +02:00
2006-07-21 11:37:40 +02:00
2005-03-20 22:33:46 +00:00
2006-08-23 10:39:01 -05:00
2005-10-13 16:45:02 +02:00
2006-03-12 16:51:59 +01:00
2006-07-21 11:56:05 +02:00
2003-06-27 21:31:46 +00:00
2004-07-11 20:04:51 +00:00
2005-10-15 18:23:43 +02:00
2005-10-13 16:45:02 +02:00
2005-10-13 16:45:02 +02:00
2006-10-28 00:38:39 +02:00
2006-05-30 15:56:48 +02:00
2003-06-27 21:31:46 +00:00
2005-09-25 18:49:35 +02:00
2003-06-27 21:31:46 +00:00
2006-10-20 12:02:59 +02:00
2005-10-13 16:45:02 +02:00
2006-08-31 16:46:53 +02:00