i2c: designware: Convert driver to multibus/multiadapter framework
In preparation for the SoCFPGA support of the designware I2C driver, convert this driver to the common CONFIG_SYS_I2C framework. This patch converts all users of this driver, this is: - ST spearxxx boards - AXS101 (ARC700 platform) I couldn't test this patch on those boards. Only compile tested for all spear boards. And tested on SoCFPGA. Signed-off-by:Stefan Roese <sr@denx.de> Reviewed-by:
Marek Vasut <marex@denx.de> Acked-by:
Alexey Brodkin <abrodkin@synopsys.com> Tested-by:
Alexey Brodkin <abrodkin@synopsys.com> Cc: Heiko Schocher <hs@denx.de> Cc: Vipin Kumar <vk.vipin@gmail.com> Cc: Jeroen Hofstee <jeroen@myspectrum.nl>
Showing
- arch/arm/cpu/arm926ejs/spear/cpu.c 1 addition, 1 deletionarch/arm/cpu/arm926ejs/spear/cpu.c
- drivers/i2c/Makefile 1 addition, 1 deletiondrivers/i2c/Makefile
- drivers/i2c/designware_i2c.c 127 additions, 166 deletionsdrivers/i2c/designware_i2c.c
- include/configs/axs101.h 6 additions, 3 deletionsinclude/configs/axs101.h
- include/configs/spear-common.h 2 additions, 2 deletionsinclude/configs/spear-common.h
- include/configs/x600.h 2 additions, 2 deletionsinclude/configs/x600.h
Loading
Please register or sign in to comment