u-boot-2016/include
Simon Glass cc456bd7df dm: cros_ec: Convert the I2C tunnel code to use driver model
The Chrome OS EC supports tunnelling through to an I2C bus on the EC. This
currently uses a copy of the I2C command code and a special 'crosec'
sub-command.

With driver model we can define an I2C bus which tunnels through to the EC,
and use the normal 'i2c' command to access it. This simplifies the code and
removes some duplication.

Add an I2C driver which tunnels through to the EC. Adjust the EC code to
support binding child devices so that it can be set up. Adjust the existing
I2C xfer function to fit driver model better.

For now the old code remains to allow things to still work. It will be
removed in a later patch once the new flow is fully enabled.

Signed-off-by: Simon Glass <sjg@chromium.org>
2015-08-05 21:06:11 -06:00
..
andestech
asm-generic Add a way to skip relocation 2015-08-05 08:43:46 -06:00
bedbug
configs configs: Remove CONFIG_SERIAL_MULTI 2015-08-05 14:12:42 -04:00
cramfs
dm dm: i2c: Add support for multiplexed I2C buses 2015-08-05 21:06:10 -06:00
dt-bindings ARM: Tegra210: Add SoC code/include files for T210 2015-07-28 10:30:19 -07:00
faraday
fsl-mc drivers/fsl-mc: flib changes for mc 8.0.0 2015-08-03 12:06:37 -07:00
jffs2
linux Bring in __aligned_u64 and friends to linux/types.h 2015-08-05 08:42:40 -06:00
lzma
mtd
pcmcia
power Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2015-08-02 07:40:37 -04:00
samsung
synopsys
test test: Add a macro to check that a value is not an error pointer 2015-07-21 17:39:33 -06:00
u-boot
usb
zfs
.gitignore
_exports.h board/ls2085rdb: Export functions for standalone AQ FW load apps 2015-07-20 11:44:37 -07:00
aboot.h
ACEX1K.h
addr_map.h
aes.h
ahci.h
ali512x.h
altera.h
ambapp.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
bcd.h
bios_emul.h
bitfield.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.h dm: Add a clock uclass 2015-07-21 17:39:29 -06:00
cmd_spl.h
command.h pxe: add AArch64 image support 2015-07-27 15:53:48 -07:00
common.h efi: Add support for loading U-Boot through an EFI stub 2015-08-05 08:44:06 -06:00
common_timing_params.h
commproc.h
compiler.h
config_cmd_all.h
config_defaults.h
config_distro_bootcmd.h
config_distro_defaults.h
config_fallbacks.h
config_fsl_secboot.h powerpc/mpc85xx: SECURE BOOT-Copy Boot Script on RAM 2015-07-31 08:50:18 -07:00
config_phylib_all_drivers.h
config_uncmd_spl.h
cortina.h
cpsw.h
cpu.h
crc.h
cros_ec.h dm: cros_ec: Convert the I2C tunnel code to use driver model 2015-08-05 21:06:11 -06:00
cros_ec_message.h
dataflash.h
ddr_spd.h
debug_uart.h debug_uart: Remove use of asmlinkage 2015-07-21 17:39:21 -06:00
dfu.h
dialog_pmic.h
display_options.h
displayport.h
div64.h
dm-demo.h
dm.h
dm9000.h
dp83848.h
ds1722.h
ds4510.h
dtt.h
dwc3-omap-uboot.h
dwc3-uboot.h
dwmmc.h mmc: Add structure comments for dwmmc 2015-07-21 17:39:25 -06:00
e500.h
ec_commands.h
edid.h
efi.h efi: Add 64-bit payload support 2015-08-05 08:44:07 -06:00
efi_api.h efi: Add start-up library code 2015-08-05 08:42:41 -06:00
elf.h elf: Add a few definitions for 64-bit relocation 2015-08-05 08:42:40 -06:00
env_attr.h
env_callback.h
env_default.h
env_flags.h
environment.h
errno.h
exports.h board/ls2085rdb: Export functions for standalone AQ FW load apps 2015-07-20 11:44:37 -07:00
ext4fs.h
ext_common.h
exynos_lcd.h
fat.h
fb_mmc.h
fdt.h
fdt_simplefb.h
fdt_support.h fdt: prevent clearing memory node if there are no banks 2015-07-20 07:21:47 -06:00
fdtdec.h ARM: Tegra210: Add support to common Tegra source/config files 2015-07-28 10:30:20 -07:00
fis.h
flash.h
fm_eth.h
fpga.h
fs.h
fsl_dcu_fb.h
fsl_ddr.h drivers/ddr/fsl: Adjust bstopre value 2015-08-03 12:06:38 -07:00
fsl_ddr_dimm_params.h
fsl_ddr_sdram.h
fsl_ddrc_version.h
fsl_debug_server.h
fsl_diu_fb.h
fsl_dspi.h
fsl_esdhc.h
fsl_ifc.h
fsl_immap.h
fsl_mdio.h
fsl_memac.h
fsl_pmic.h
fsl_sec.h drivers/crypto/fsl: enable raw data instead of von Neumann data 2015-08-03 12:06:37 -07:00
fsl_sec_mon.h
fsl_secboot_err.h
fsl_sfp.h
fsl_usb.h
fsl_validate.h
fuse.h
g_dnl.h g_dnl: add missing declaration 2015-07-22 08:57:54 +02:00
gdsys_fpga.h
gt64120.h
hash.h
hw_sha.h
hwconfig.h
i2c.h dm: i2c: Add support for multiplexed I2C buses 2015-08-05 21:06:10 -06:00
i2c_eeprom.h
i2s.h
i8042.h
ide.h
image.h mkimage: Display a better list of available image types 2015-07-21 17:39:20 -06:00
imx_thermal.h
initcall.h
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 led: Return -ENODEV if the LED device cannot be found 2015-07-21 17:39:32 -06:00
libata.h
libfdt.h fdt: Add fdt_first/next_region() functions 2015-07-21 17:39:20 -06:00
libfdt_env.h
libtizen.h
linker_lists.h Fix incorrect comments in linker_lists.h 2015-07-28 10:36:23 -06:00
linux_logo.h
lmb.h
logbuff.h
lxt971a.h
lynxkdi.h
malloc.h
mapmem.h
mb862xx.h
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
menu.h
micrel.h
mii_phy.h
miiphy.h
mipi_display.h
mk48t59.h
mmc.h dm: mmc: Add an MMC uclass 2015-07-21 17:39:25 -06:00
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_node.h
mv88e6352.h
mvebu_mmc.h
mvmfp.h
nand.h
net.h net: Allow drivers to return -ENOSYS with the write_hwaddr() method 2015-07-21 17:39:41 -06:00
netdev.h
nomadik.h
ns16550.h
ns87308.h
onenand_uboot.h
os.h
palmas.h
parade.h
part.h
part_efi.h efi: Add start-up library code 2015-08-05 08:42:41 -06:00
pc_keyb.h
pca953x.h
pca9564.h
pca9698.h
pci.h pci: Add a constant for an invalid interrupt 2015-08-05 08:42:41 -06:00
pci_gt64120.h
pci_ids.h
pci_msc01.h
pci_rom.h
pcmcia.h
phy.h
phys2bus.h
physmem.h
post.h
ppc_asm.tmpl
ppc_defs.h
ps2mult.h
pwm.h
pxa_lcd.h
radeon.h
ram.h dm: Add support for RAM drivers 2015-07-21 17:39:27 -06:00
rc4.h Add rivest cipher 4 (rc4) implementation 2015-07-21 17:39:28 -06:00
regmap.h dm: Add support for register maps (regmap) 2015-07-21 17:39:23 -06:00
reiserfs.h
reset.h dm: reset: Allow reset_walk() to return 2015-07-21 17:39:31 -06:00
rtc.h
rtc_def.h
s6e63d6.h
s_record.h
SA-1100.h
samsung-usb-phy-uboot.h
sandboxblockdev.h
sandboxfs.h
sata.h
scf0403_lcd.h
scsi.h
sdhci.h
search.h
sed156x.h
sed13806.h
serial.h
sh_pfc.h
sh_tmu.h
sja1000.h
slre.h
sm501.h
smsc_lpc47m.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 dm: spl: Allow device tree/driver model in board_init_f() 2015-07-21 17:39:28 -06:00
splash.h
status_led.h
stdio_dev.h
stdlib.h
stratixII.h
sx151x.h
sym53c8xx.h
syscon.h dm: Add support for generic system controllers (syscon) 2015-07-21 17:39:24 -06:00
systemace.h
tca642x.h
tegra-kbc.h
thermal.h thermal: Fix comments 2015-07-26 12:11:33 +02:00
thor.h
ti-usb-phy-uboot.h
timestamp.h
tis.h
tmu.h
tpm.h
tps6586x.h
trace.h
tsec.h armv7/ls1021a/etsec: Enable Tx Data and TxBD snooping 2015-08-03 12:06:37 -07:00
tsi108.h
tsi148.h
twl4030.h
twl6030.h
tws.h
ubi_uboot.h
universe.h
usb.h usb: musb-new: CONFIG_MUSB prefix replacement with CONFIG_USB_MUSB 2015-08-05 17:20:34 +02:00
usb_cdc_acm.h
usb_defs.h
usb_ether.h dm: usb: eth: Support driver model with USB Ethernet 2015-07-21 17:39:40 -06:00
usb_mass_storage.h
usbdescriptors.h
usbdevice.h
usbroothubdes.h
uuid.h
vbe.h
version.h
video.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 lib: Add function to extract a number from the end of a string 2015-07-21 17:39:28 -06:00
vxworks.h
w83c553f.h
watchdog.h
xilinx.h
xyzModem.h
zfs_common.h
zynqpl.h