]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sunxi: Add i2c support
authorHans de Goede <hdegoede@redhat.com>
Fri, 13 Jun 2014 20:55:49 +0000 (22:55 +0200)
committerIan Campbell <ijc@hellion.org.uk>
Fri, 18 Jul 2014 18:41:30 +0000 (19:41 +0100)
commit6620377e4b8be3c232c59d673efcd673c30bc69f
treec04ee4d95f5eca88f6be5e2266701b57c190d2b4
parent0db2bbdc04c7ba41861e686acb815fce5a227a01
sunxi: Add i2c support

Add support for the i2c controller found on all Allwinner sunxi SoCs,
this is the same controller as found on the Marvell orion5x and kirkwood
SoC families, with a slightly different register layout, so this patch uses
the existing mvtwsi code.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Acked-By: Prafulla Wadaskar <prafulla@marvell.com>
Acked-by: Heiko Schocher <hs@denx.de>
[ ijc -- updated u-boot-spl-fel.lds ]
arch/arm/cpu/armv7/sunxi/board.c
arch/arm/cpu/armv7/sunxi/u-boot-spl-fel.lds
arch/arm/cpu/armv7/sunxi/u-boot-spl.lds
arch/arm/include/asm/arch-sunxi/i2c.h [new file with mode: 0644]
board/sunxi/board.c
drivers/i2c/mvtwsi.c
include/configs/sunxi-common.h