u-boot/arch/arm/mach-sunxi
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
..
board.c sunxi: i2c: Add support for DM I2C 2017-04-28 09:19:03 +02:00
clock.c sunxi: add gtbus-initialisation for sun9i 2016-10-30 11:38:04 +01:00
clock_sun4i.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
clock_sun6i.c sunxi: Add clock support for DE2/HDMI/TCON on newer SoCs 2017-04-20 13:37:31 +02:00
clock_sun8i_a83t.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
clock_sun9i.c sunxi: add initial clock setup for sun9i for SPL 2016-10-30 11:38:04 +01:00
cpu_info.c sunxi: add basic V3s support 2017-04-21 09:23:17 +02:00
dram_helpers.c ARM: Rework and correct barrier definitions 2016-08-05 07:23:57 -04:00
dram_sun4i.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
dram_sun6i.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
dram_sun8i_a23.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
dram_sun8i_a33.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
dram_sun8i_a83t.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
dram_sun8i_h3.c sunxi: Use H3/A64 DRAM initialization code for R40 2017-04-20 13:30:01 +02:00
dram_sun9i.c sunxi: DRAM initialisation for sun9i 2016-10-30 11:38:04 +01:00
gtbus_sun9i.c sunxi: add gtbus-initialisation for sun9i 2016-10-30 11:38:04 +01:00
Makefile sunxi: Use H3/A64 DRAM initialization code for R40 2017-04-20 13:30:01 +02:00
p2wi.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
pinmux.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
pmic_bus.c sunxi: Enable AXP221s in I2C mode with the R40 SoC 2017-04-20 13:30:00 +02:00
prcm.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
rmr_switch.S sunxi: A64: do an RMR switch if started in AArch32 mode 2017-01-04 16:37:42 +01:00
rsb.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
usb_phy.c sunxi: prepare for sharing MACH_SUN8I_H3 config symbol 2017-04-05 15:03:17 +05:30