[U-Boot] [PATCH u-boot 0/5] Aspeed I2C driver, using Driver Model.

maxims at google.com maxims at google.com
Wed Nov 23 00:56:11 CET 2016


From: Maxim Sloyko <maxims at google.com>

This series of patches is only meant for openbmc/u-boot tree.
It adds basic support for aspeed i2c. Only single master
mode is supported with synchronous transfer.

The style is inconsistent with U-Boot style guide in few places,
but follows local style in those files.

Maxim Sloyko (5):
  aspeed/g5: Device Tree for ast2500, copied from openbmc/linux (include
    file), plus minimal device tree configuration for ast2500 eval
    board.
  aspeed: Fixed incosistency in some SCU registers naming.
  aspeed: Added function to calculate APB Clock frequency.
  aspeed: Added function to configure pins for I2C devices.
  aspeed: I2C driver.

 arch/arm/dts/Makefile                       |    2 +
 arch/arm/dts/aspeed-g5-evb.dts              |   28 +
 arch/arm/dts/aspeed-g5.dtsi                 | 1278 +++++++++++++++++++++++++++
 arch/arm/include/asm/arch-aspeed/ast_scu.h  |    6 +
 arch/arm/include/asm/arch-aspeed/regs-scu.h |   73 +-
 arch/arm/mach-aspeed/ast-scu.c              |   41 +-
 drivers/i2c/Kconfig                         |    7 +
 drivers/i2c/Makefile                        |    1 +
 drivers/i2c/ast_i2c.c                       |  305 +++++++
 drivers/i2c/ast_i2c.h                       |  143 +++
 10 files changed, 1851 insertions(+), 33 deletions(-)
 create mode 100644 arch/arm/dts/aspeed-g5-evb.dts
 create mode 100644 arch/arm/dts/aspeed-g5.dtsi
 create mode 100644 drivers/i2c/ast_i2c.c
 create mode 100644 drivers/i2c/ast_i2c.h

--
2.8.0.rc3.226.g39d4020



More information about the U-Boot mailing list