u-boot-brain/drivers/misc
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
..
ali512x.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
cbmem_console.c stdio: Pass device pointer to stdio methods 2014-07-23 14:07:23 +01:00
cros_ec_i2c.c cros_ec: exynos: Match up device tree with kernel version 2015-04-18 11:11:16 -06:00
cros_ec_lpc.c cros_ec: exynos: Match up device tree with kernel version 2015-04-18 11:11:16 -06:00
cros_ec_sandbox.c sandbox: cros_ec: Support EC_CMD_ENTERING_MODE emulation 2015-05-14 18:49:34 -06:00
cros_ec_spi.c cros_ec: Handle the single duplex requirement in cros_ec 2015-05-05 20:58:19 -06:00
cros_ec.c dm: cros_ec: Convert the I2C tunnel code to use driver model 2015-08-05 21:06:11 -06:00
ds4510.c cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
fsl_debug_server.c driver/fsl_debug_server: Fix the DDR hide logic for LS2085a 2015-07-20 11:44:35 -07:00
fsl_ifc.c armv8/ls2085aqds: NAND boot support 2015-04-23 16:46:50 -07:00
fsl_iim.c arm: mx5: Add fuse supply enable in fsl_iim 2014-01-03 15:44:06 +01:00
fsl_sec_mon.c fsl_sec_mon: Add driver for Security Monitor block of Freescale 2015-03-05 12:04:59 -08:00
gpio_led.c gpio_led: add support for inverted polarity 2013-11-25 10:41:52 -05:00
i2c_eeprom_emul.c sandbox: Add missing errno.h includes in a few files 2015-05-14 18:49:34 -06:00
i2c_eeprom.c i2c_eeprom: include <linux/err.h> to fix build error 2015-01-05 17:45:15 -07:00
Kconfig dm: Add a system reset uclass 2015-07-21 17:39:29 -06:00
Makefile dm: test: Add a test for the system controller uclass 2015-07-21 17:39:33 -06:00
mc9sdz60.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mxc_ocotp.c mxc_ocotp: Do not disable the OCOTP clock after every access 2014-12-01 10:20:19 +01:00
mxs_ocotp.c mxs_ocotp: clear the error flag before initiating write operation 2014-12-01 10:19:42 +01:00
ns87308.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pca9551_led.c misc: led: pca9551_led: Fix problem with multiple blink frequencies 2015-07-27 15:01:57 -04:00
pdsp188x.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
reset_sandbox.c sandbox: Use the reset driver to handle reset 2015-07-21 17:39:31 -06:00
reset-uclass.c dm: reset: Allow reset_walk() to return 2015-07-21 17:39:31 -06:00
smsc_lpc47m.c x86: Set serial port IRQ for SMSC LPC47M 2015-04-29 18:51:48 -06:00
status_led.c cmd_led: Extend led command to support blinking and more leds 2015-04-23 09:43:08 -04:00
swap_case.c sandbox: Add missing errno.h includes in a few files 2015-05-14 18:49:34 -06:00
syscon_sandbox.c dm: test: Add a test for the system controller uclass 2015-07-21 17:39:33 -06:00
twl4030_led.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00