aspeed: Add I2C Driver
authormaxims@google.com <maxims@google.com>
Mon, 17 Apr 2017 19:00:30 +0000 (12:00 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 8 May 2017 15:57:34 +0000 (11:57 -0400)
commit4dc038f3a1c1b88b9b77afdcb1081fc399e5085a
tree043237ad99cedda15de3f550e9d7d60ea7d02c24
parent4999bb06cc2f21d3a517a068b183fb11827f49a7
aspeed: Add I2C Driver

Add Device Model based I2C driver for ast2500/ast2400 SoCs.
The driver is very limited, it only supports master mode and
synchronous byte-by-byte reads/writes, no DMA or Pool Buffers.

Signed-off-by: Maxim Sloyko <maxims@google.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Heiko Schocher <hs@denx.de>
drivers/i2c/Kconfig
drivers/i2c/Makefile
drivers/i2c/ast_i2c.c [new file with mode: 0644]
drivers/i2c/ast_i2c.h [new file with mode: 0644]