u-boot-2016/include
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
..
andestech
asm-generic board_f: Drop board_type parameter from initdram() 2017-04-05 13:58:44 -04:00
bedbug
cavium
configs sunxi: i2c: Add support for DM I2C 2017-04-28 09:19:03 +02:00
cramfs
dm dm: core: Add dm_remove_devices_flags() and hook it into device_remove() 2017-04-04 20:15:10 -06:00
dt-bindings sunxi: add DTSI file for V3s 2017-04-21 09:23:27 +02:00
environment/ti ARM: ti: consolidate mmc environment variables 2017-04-08 21:33:12 -04:00
faraday
fsl-mc arm: fsl-layerscape: Move QSGMII wriop_init to SoC file 2017-03-28 09:08:25 -07:00
jffs2
linux lib: div64: sync with Linux 2017-04-13 09:41:10 -04:00
lzma
mtd
net
pcmcia
power
samsung
spmi
synopsys
tee
test
u-boot tools: Allow crc8 to be used 2017-02-07 10:54:32 -06:00
usb
zfs
.gitignore cmd: rework "license" command 2017-02-08 15:56:28 -05:00
_exports.h
ACEX1K.h
adc.h
addr_map.h
ahci.h
ali512x.h
altera.h
android_image.h
ansi.h
api_public.h
armcoremodule.h
asm-offsets.h
ata.h
atmel_hlcdc.h
atmel_lcd.h
atmel_lcdc.h
atmel_mci.h
autoboot.h
axp152.h
axp209.h
axp221.h
axp809.h
axp818.h
axp_pmic.h
backlight.h
bcd.h
bios_emul.h
bitfield.h
blk.h
bmp_layout.h
bootcount.h
bootm.h
bootretry.h
bootstage.h
bouncebuf.h
bus_vcxk.h
bzlib.h
cbfs.h
circbuf.h
cli.h
cli_hush.h
clk-uclass.h
clk.h
cmd_spl.h
command.h
common.h board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
common_timing_params.h
commproc.h
compiler.h
config_cmd_all.h cmd: move CONFIG_CMD_UNZIP and CONFIG_CMD_ZIP to Kconfig 2017-02-08 16:24:28 -05:00
config_defaults.h
config_distro_bootcmd.h
config_distro_defaults.h
config_fallbacks.h
config_fsl_chain_trust.h
config_phylib_all_drivers.h
config_uncmd_spl.h
console.h
cortina.h
cpsw.h
cpu.h
crc.h
cros_ec.h
cros_ec_message.h
dataflash.h flash: complete CONFIG_SYS_NO_FLASH move with renaming 2017-02-12 14:30:25 -05:00
ddr_spd.h
debug_uart.h debug_uart: Try not to use stack in printch 2017-04-12 13:28:30 -04:00
dfu.h
dialog_pmic.h
display.h
display_options.h
div64.h lib: div64: sync with Linux 2017-04-13 09:41:10 -04:00
dm-demo.h
dm.h
dm9000.h
dma.h
dp83848.h
ds1722.h
ds4510.h
dt-structs.h
dtt.h
dw_hdmi.h rockchip: video: Split out HDMI controller code 2017-04-04 20:01:57 -06:00
dwc3-omap-uboot.h
dwc3-uboot.h
dwmmc.h
e500.h
ec_commands.h
edid.h
eeprom_field.h
eeprom_layout.h
efi.h
efi_api.h
efi_loader.h
elf.h
env_attr.h
env_callback.h
env_default.h
env_flags.h
environment.h common: Move environment choice to Kconfig 2017-04-07 11:23:45 +05:30
errno.h
ethsw.h
exports.h
ext4fs.h
ext_common.h
exynos_lcd.h
fastboot.h
fat.h
fb_mmc.h
fb_nand.h
fdt.h
fdt_simplefb.h
fdt_support.h
fdtdec.h fdt: Add compatible strings for Arria 10 2017-04-14 14:06:55 +02:00
fis.h
flash.h
fm_eth.h
fpga.h
fs.h
fsl_csu.h
fsl_dcu_fb.h video: fsl_dcu_fb: fix framebuffer to the end of memory 2017-04-14 13:50:41 +02:00
fsl_ddr.h
fsl_ddr_dimm_params.h
fsl_ddr_sdram.h arm: freescale: Rename initdram() to fsl_initdram() 2017-04-12 13:28:32 -04:00
fsl_ddrc_version.h
fsl_devdis.h
fsl_diu_fb.h
fsl_dspi.h
fsl_dtsec.h
fsl_errata.h
fsl_esdhc.h
fsl_fman.h
fsl_ifc.h
fsl_immap.h
fsl_lpuart.h serial: lpuart: add i.MX7ULP support 2017-03-17 09:27:08 +01:00
fsl_mdio.h
fsl_memac.h
fsl_mmdc.h
fsl_pmic.h
fsl_qe.h
fsl_sec.h
fsl_sec_mon.h
fsl_secboot_err.h
fsl_sfp.h
fsl_tgec.h
fsl_usb.h
fsl_validate.h fsl: Secure Boot: Enable IE (Key extention) Feature 2017-03-28 09:03:04 -07:00
fsl_wdog.h
fuse.h
g_dnl.h
gdsys_fpga.h
gt64120.h
hash.h
hw_sha.h
hwconfig.h
i2c.h i2c: Drop CONFIG_SOFT_I2C_MULTI_BUS 2017-04-05 13:55:11 -04:00
i2c_eeprom.h
i2s.h
i8042.h
ide.h
image-sparse.h
image.h image: Fixes build warning with CONFIG_FIT_IMAGE_POST_PROCESS 2017-04-08 21:35:04 -04:00
imx_thermal.h
init_helpers.h board_f: Make init_helpers generic 2017-04-05 16:36:56 -04:00
initcall.h board_f: initcall: Add a header guard 2017-04-05 13:52:35 -04:00
input.h
inttypes.h
iomux.h
ioports.h
iotrace.h
ipu_pixfmt.h
key_matrix.h
keyboard.h
kgdb.h
lattice.h
lcd.h
lcd_console.h
lcdvideo.h
ld9040.h
led-display.h
led.h dm: led: Add support for blinking LEDs 2017-04-14 19:38:57 -06:00
libata.h
libfdt.h
libfdt_env.h
libtizen.h
linker_lists.h
linux_logo.h
lmb.h
logbuff.h
lxt971a.h
lynxkdi.h
mailbox-uclass.h
mailbox.h
malloc.h
mapmem.h
mb862xx.h
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
memalign.h
membuff.h
menu.h
micrel.h
mii_phy.h
miiphy.h
mipi_display.h
misc.h
mk48t59.h
mmc.h
mpc5xx.h
mpc5xxx.h
mpc5xxx_sdma.h
mpc8xx.h
mpc8xx_irq.h
mpc83xx.h
mpc85xx.h
mpc86xx.h
mpc106.h
mpc823_lcd.h
mpc8260.h
mpc8260_irq.h
msc01.h
mtd.h
mtd_node.h
mv88e6352.h
mvebu_mmc.h
mvmfp.h
nand.h mtd: nand: remove nand size print from nand_init function 2017-03-28 10:39:33 -07:00
net.h net: cosmetic: Define ethernet name length 2017-02-07 10:54:32 -06:00
netdev.h SPARC: Remove 2017-04-05 13:52:20 -04:00
ns16550.h
ns87308.h
nuvoton_nct6102d.h
onenand_uboot.h
os.h
palmas.h
panel.h
part.h SPL: add support to boot from a partition type 2017-02-17 14:15:14 -05:00
part_efi.h
pc_keyb.h
pca953x.h
pca9564.h
pca9698.h
pch.h
pci.h
pci_gt64120.h
pci_ids.h
pci_msc01.h
pci_rom.h
pcmcia.h
pe.h
phy.h Merge git://www.denx.de/git/u-boot-marvell 2017-04-04 09:17:56 -04:00
phys2bus.h
physmem.h
post.h
power-domain-uclass.h
power-domain.h
ppc_asm.tmpl
ppc_defs.h
ps2mult.h
pwm.h
pwrseq.h
pxa_lcd.h
qfw.h
radeon.h
ram.h
rc4.h
regmap.h
reiserfs.h
relocate.h board_f: Make relocation functions generic 2017-04-05 16:36:57 -04:00
remoteproc.h
reset-uclass.h
reset.h
rtc.h dm: rtc: Add 16-bit read/write support 2017-04-10 10:02:03 +08:00
rtc_def.h
s6e63d6.h
s_record.h
SA-1100.h
samsung-usb-phy-uboot.h
sandbox-adc.h
sandboxblockdev.h
sandboxfs.h
sata.h
scf0403_lcd.h
scsi.h
sdhci.h
search.h
sed156x.h
serial.h
sh_pfc.h
sh_tmu.h
sja1000.h
slre.h
sm501.h
smbios.h x86: Use unsigned long for address in table generation 2017-02-06 11:38:46 +08:00
smsc_lpc47m.h
smsc_sio1007.h
sound.h
sparse_defs.h
sparse_format.h
spartan2.h
spartan3.h
spd.h
spd_sdram.h
spi.h
spi_flash.h
spl.h spl: Convert CONFIG_SPL_ABORT_ON_RAW_IMAGE into a positive option 2017-03-18 14:28:50 -04:00
splash.h
status_led.h
stdio_dev.h
stdlib.h
stratixII.h
sx151x.h
sy8106a.h
sym53c8xx.h
syscon.h
sysreset.h
tables_csum.h
tca642x.h
tegra-kbc.h
thermal.h
thor.h
ti-usb-phy-uboot.h
time.h
timer.h
timestamp.h
tmu.h
tpm.h tpm: Add function to load keys via their parent's SHA1 hash 2017-03-26 13:22:58 -06:00
tps6586x.h
trace.h
tsec.h
tsi108.h
tsi148.h
twl4030.h
twl6030.h
tws.h
ubi_uboot.h
ubifs_uboot.h
ubispl.h
uboot_aes.h Rename aes.h to uboot_aes.h 2017-04-12 13:28:27 -04:00
universe.h
usb.h
usb_cdc_acm.h
usb_defs.h
usb_ether.h
usb_mass_storage.h
usbdescriptors.h
usbdevice.h
usbroothubdes.h
uuid.h
vbe.h
version.h
video.h
video_bridge.h
video_console.h
video_easylogo.h
video_fb.h
video_font.h
video_font_4x6.h
video_font_data.h
video_logo.h
virtex2.h
vsc7385.h
vsc9953.h
vsprintf.h
vxworks.h
w83c553f.h
wait_bit.h
watchdog.h
winbond_w83627.h
xilinx.h
xyzModem.h common/xyzModem.c: unifdef (Remove useless #ifdefs) 2017-04-08 09:26:54 -04:00
zfs_common.h
zynqmppl.h
zynqpl.h