All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH V2 0/4] Improve I2C for orion5x, kirkwood and ED Mini V2
@ 2010-08-27  0:55 Albert Aribaud
  2010-08-27  0:55 ` [U-Boot] [PATCH V2 1/4] suen3: remove CONFIG_HARD_I2C and related defines Albert Aribaud
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Albert Aribaud @ 2010-08-27  0:55 UTC (permalink / raw)
  To: u-boot

SUMMARY:

This patchset improves the driver for the Marvell TWSI interface found
on orion5x and kirkwood SoCs and adds I2C support to the orion5x-based
ED Mini V2 board. The mvtwsi driver is a complete rewrite, 50% shorter
in source code lines, 25% smaller in object size, much simpler and way
faster than the kirkwood_i2c driver it replaces.

PATCH SET:

Patch 1 removes dependencies on kirwkood_i2c from suen3, the only
board that mentioned it. Patch 2 renames the driver from kirkwood_i2c
to mvtwsi. Patch 3 replaces the old code with the new one. Patch 4
adds support for I2C in orion5x-based ED Mini V2.

TESTS:

This driver has been tested on an ED Mini V2 with basic u-boot i2c
commands, on an 5C372a RTC and an HT24LC08 1 KB eeprom (read+write).

HISTORY:

V1:	Initial submission as an addition rather than a replacement.

V2:	Fixed copyright line.
	Made mvtwsi a replacement for kirkwood_i2c.
	Made patches checkpatch-clean: 0 errors, 0 warnings.
	Various cosmetic changes.
	Removed useless i2c_end() function.

Albert Aribaud (4):
  suen3: remove CONFIG_HARD_I2C and related defines
  i2c: rename kirkwood_i2c to mvtwsi
  i2c: rewrite mvtwsi, support orion5x and kirkwood
  edminiv2: add I2C support using mvtwsi driver

 drivers/i2c/Makefile       |    2 +-
 drivers/i2c/kirkwood_i2c.c |  496 --------------------------------------------
 drivers/i2c/mvtwsi.c       |  430 ++++++++++++++++++++++++++++++++++++++
 include/configs/edminiv2.h |    9 +
 include/configs/km_arm.h   |    8 -
 5 files changed, 440 insertions(+), 505 deletions(-)
 delete mode 100644 drivers/i2c/kirkwood_i2c.c
 create mode 100644 drivers/i2c/mvtwsi.c

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-08-27  5:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-27  0:55 [U-Boot] [PATCH V2 0/4] Improve I2C for orion5x, kirkwood and ED Mini V2 Albert Aribaud
2010-08-27  0:55 ` [U-Boot] [PATCH V2 1/4] suen3: remove CONFIG_HARD_I2C and related defines Albert Aribaud
2010-08-27  0:55 ` [U-Boot] [PATCH V2 2/4] i2c: rename kirkwood_i2c to mvtwsi Albert Aribaud
2010-08-27  0:55 ` [U-Boot] [PATCH V2 3/4] i2c: rewrite mvtwsi, support orion5x and kirkwood Albert Aribaud
2010-08-27  5:32   ` Heiko Schocher
2010-08-27  0:55 ` [U-Boot] [PATCH V2 4/4] edminiv2: add I2C support using mvtwsi driver Albert Aribaud

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.