[U-Boot] [PATCH V6 0/5] add i2c support to pantheon and aramada100

Lei Wen leiwen at marvell.com
Thu Mar 31 10:37:24 CEST 2011


V2:
rename the previous pxa_i2c to mvi2c, since this driver would be shared
by many other Marvell platforms.

V3:
Clean the code sytle issue

V4:
add and* and or* to make set bit operation generic
Also make i2c definition included in the ifdef

V5:
Fix code style issue of the first patch
 
V6:
Seperate the and* and or* patch out of the patch set
Move CONFIG_CMD_I2C define place

Lei Wen (5):
  pxa: move i2c driver to the common place
  mv_i2c: use structure to replace the direclty define
  I2C: add i2c support for Pantheon platform
  I2C: mv_i2c: add multi bus support
  I2C: add i2c support for Armada100 platform

 arch/arm/cpu/arm926ejs/armada100/cpu.c    |   16 +
 arch/arm/cpu/arm926ejs/pantheon/cpu.c     |   12 +
 arch/arm/cpu/pxa/Makefile                 |    1 -
 arch/arm/cpu/pxa/cpu.c                    |   11 +
 arch/arm/cpu/pxa/i2c.c                    |  469 ----------------------------
 arch/arm/include/asm/arch-armada100/mfp.h |   40 ++-
 arch/arm/include/asm/arch-pantheon/cpu.h  |    4 +-
 arch/arm/include/asm/arch-pantheon/mfp.h  |    6 +-
 arch/arm/include/asm/arch-pxa/pxa-regs.h  |   56 ----
 board/Marvell/aspenite/aspenite.c         |    5 +
 board/Marvell/dkb/dkb.c                   |    4 +
 board/innokom/innokom.c                   |    9 +-
 drivers/i2c/Makefile                      |    1 +
 drivers/i2c/mv_i2c.c                      |  479 +++++++++++++++++++++++++++++
 drivers/i2c/mv_i2c.h                      |   83 +++++
 include/configs/aspenite.h                |   14 +
 include/configs/dkb.h                     |   13 +
 include/configs/innokom.h                 |    2 +
 include/configs/xm250.h                   |    2 +
 19 files changed, 672 insertions(+), 555 deletions(-)
 delete mode 100644 arch/arm/cpu/pxa/i2c.c
 create mode 100644 drivers/i2c/mv_i2c.c
 create mode 100644 drivers/i2c/mv_i2c.h



More information about the U-Boot mailing list