drivers: mentor: extract MI2CV driver from Marvell driver
authorIcenowy Zheng <icenowy@aosc.io>
Sat, 21 Jul 2018 11:06:46 +0000 (19:06 +0800)
committerIcenowy Zheng <icenowy@aosc.io>
Wed, 5 Sep 2018 14:43:38 +0000 (22:43 +0800)
commit7e4d562077463f39360df06975545c5b42910794
treea5c587b0d90c7e1650bd338000073f59f48009a0
parentf348c3519e138f607b18cc63d1d34a61352fb7c6
drivers: mentor: extract MI2CV driver from Marvell driver

The Marvell A8K SoCs use the MI2CV IP core from Mentor Graphics, which
is also used by Allwinner.

As Mentor Graphics allows a lot of customization, the MI2CV in the two
SoC families are not compatible, and driver modifications are needed.

Extract the common code to a MI2CV driver.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
drivers/marvell/i2c/a8k_i2c.c
drivers/mentor/i2c/mi2cv.c [new file with mode: 0644]
include/drivers/marvell/a8k_i2c.h [deleted file]
include/drivers/mentor/mi2cv.h [new file with mode: 0644]
plat/marvell/a8k/a80x0/board/dram_port.c
plat/marvell/a8k/a80x0_mcbin/board/dram_port.c