u-boot/arch/arm
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
..
cpu sunxi: Add PSCI support for R40 2017-04-20 13:30:01 +02:00
dts sunxi: add support for Lichee Pi Zero 2017-04-21 09:29:35 +02:00
imx-common imx6: Add src_base structure define macro 2017-03-17 09:27:08 +01:00
include sunxi: add basic V3s support 2017-04-21 09:23:17 +02:00
lib armv7m: add instruction & data cache support 2017-04-08 09:26:50 -04:00
mach-aspeed dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
mach-at91 ARM: at91: lds: use "_image_binary_end" for DT location 2017-04-13 14:44:52 -06:00
mach-bcm283x ARM: bcm283x: Implement EFI RTS reset_system 2016-11-28 20:15:19 -05:00
mach-davinci Remove various unused interrupt related code 2017-04-06 20:42:18 -04:00
mach-exynos ARM: Migrate errata to Kconfig 2017-03-09 19:52:50 -05:00
mach-highbank ARM: highbank: move SoC sources to mach-highbank 2015-02-21 08:23:51 -05:00
mach-integrator integrator: switch to DM serial port 2015-08-12 20:47:49 -04:00
mach-keystone ARM: Keystone2: Build secure images for K2 2017-04-08 21:35:05 -04:00
mach-kirkwood kirkwood: remove get_random_hex() and MD5 dependency 2017-03-17 09:09:20 -04:00
mach-meson board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
mach-mvebu board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
mach-omap2 arm: omap: sata: compile out board-level sata code when CONFIG_DM_SCSI is defined 2017-04-14 19:38:57 -06:00
mach-orion5x board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
mach-rmobile armv8: aarch64: Fix the warning about x1-x3 nonzero issue 2017-01-18 09:29:33 -08:00
mach-rockchip rockchip: rk3399: spl: add UART0 support for SPL 2017-04-15 10:18:29 -06:00
mach-s5pc1xx arm: s5pc1xx: move SoC to mach-s5pc1xx 2015-11-30 17:17:01 +09:00
mach-snapdragon drivers/sysreset: group sysreset drivers 2016-08-12 09:22:17 -04:00
mach-socfpga arm: socfpga: Convert Altera DDR SDRAM driver to use Kconfig 2017-04-14 14:06:57 +02:00
mach-sti board: Add STMicroelectronics STiH410-B2260 support 2017-03-14 20:40:21 -04:00
mach-stm32 stm32f7: enable instruction & data cache 2017-04-08 09:26:51 -04:00
mach-sunxi sunxi: i2c: Add support for DM I2C 2017-04-28 09:19:03 +02:00
mach-tegra Rename aes.h to uboot_aes.h 2017-04-12 13:28:27 -04:00
mach-uniphier board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
mach-versatile arm: Remove versatileab board 2015-09-11 15:01:25 -04:00
mach-zynq zynq: Move zynq to clock framework 2017-02-17 10:22:46 +01:00
thumb1/include/asm/proc-armv arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD 2015-11-10 15:03:48 +01:00
config.mk ARMv8: add GOT sections to the list of sections copied 2017-04-08 09:26:46 -04:00
Kconfig Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2017-04-13 11:19:00 -04:00
Kconfig.debug
Makefile imx: mx7ulp: Add soc level initialization codes and functions 2017-03-17 09:27:08 +01:00