u-boot/arch
Jernej Skrabec a8f01ccff2 sunxi: i2c: Add support for DM I2C
This commit adds support for DM I2C on sunxi platform. It can coexist
with old style sunxi I2C driver, because it is still used in SPL and
by some SoCs.

Because sunxi platform doesn't yet support DM clk, reset and pinctrl
driver, workaround is needed to enable clocks and set resets and
pinctrls. This is done by calling i2c_init_board() in board_init().
This means that CONFIG_I2Cx_ENABLE options needs to be correctly set
in order to use needed I2C controller.

Commit is based on the previous patch made by Philipp Tomsich

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Reviewed-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2017-04-28 09:19:03 +02:00
..
arc board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
arm sunxi: i2c: Add support for DM I2C 2017-04-28 09:19:03 +02:00
avr32 Remove various unused interrupt related code 2017-04-06 20:42:18 -04:00
m68k spi: Zap cf_qspi driver and related code 2017-01-15 18:29:04 +01:00
microblaze microblaze: Fix endif macro command 2017-02-10 13:59:36 +01:00
mips board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
nds32 Remove various unused interrupt related code 2017-04-06 20:42:18 -04:00
nios2 board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
powerpc board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
sandbox sandbox: Add some test LEDs 2017-04-14 19:38:57 -06:00
sh sh: generate position independent code for all platforms 2016-12-02 21:32:54 -05:00
x86 x86: Introduce minimal PMU driver for Intel MID platforms 2017-04-10 10:02:03 +08:00
xtensa board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig OpenRISC: Remove 2017-04-05 13:52:34 -04:00