mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +00:00
a8f01ccff2
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> |
||
---|---|---|
.. | ||
board.c | ||
clock.c | ||
clock_sun4i.c | ||
clock_sun6i.c | ||
clock_sun8i_a83t.c | ||
clock_sun9i.c | ||
cpu_info.c | ||
dram_helpers.c | ||
dram_sun4i.c | ||
dram_sun6i.c | ||
dram_sun8i_a23.c | ||
dram_sun8i_a33.c | ||
dram_sun8i_a83t.c | ||
dram_sun8i_h3.c | ||
dram_sun9i.c | ||
gtbus_sun9i.c | ||
Makefile | ||
p2wi.c | ||
pinmux.c | ||
pmic_bus.c | ||
prcm.c | ||
rmr_switch.S | ||
rsb.c | ||
usb_phy.c |