u-boot/drivers/power
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
..
battery power: Add PMIC_ prefix to CHARGER_EN/DISABLE 2014-05-28 10:58:18 +09:00
fuel_gauge fuelgauge: max17042: fix i2c read issue which causes infinity loop. 2014-01-14 09:01:05 -05:00
mfd power: Add PMIC_ prefix to CHARGER_EN/DISABLE 2014-05-28 10:58:18 +09:00
pmic dm: cros_ec: Convert the I2C tunnel code to use driver model 2015-08-05 21:06:11 -06:00
regulator dm: power: Use debug() for errors in regulator uclass 2015-07-21 17:39:26 -06:00
as3722.c power: Export register access functions from as3722 2015-05-13 09:24:07 -07:00
axp152.c power: axp152: Registers definitions in header 2015-04-15 16:17:17 +02:00
axp209.c sunxi: axp: Move axp gpio code to a separate axpi-gpio driver 2015-05-04 16:51:53 +02:00
axp221.c sunxi: axp: Move axp gpio code to a separate axpi-gpio driver 2015-05-04 16:51:53 +02:00
exynos-tmu.c power: exynos-tmu: use the mux_addr bit fields in tmu_control register 2013-06-13 17:53:37 +09:00
ftpmu010.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Kconfig dm: regulator: add implementation of driver model regulator uclass 2015-05-14 18:49:37 -06:00
Makefile dm: regulator: add max77686 regulator driver 2015-05-14 18:49:38 -06:00
palmas.c arm: omap: add support for am57xx devices 2014-12-04 11:04:14 -05:00
power_core.c power: fix: Do not execute pmic command when not all necessary parameters are passed 2014-02-24 10:56:33 -05:00
power_dialog.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
power_fsl.c power: Rename CONFIG_PMIC_... to CONFIG_POWER_... 2014-05-28 10:58:18 +09:00
power_i2c.c Replace <compiler.h> with <linux/compiler.h> 2014-12-08 09:35:46 -05:00
power_spi.c power_spi.c: Rewrite pmic_reg function 2014-11-07 16:27:05 -05:00
tps6586x.c dm: i2c: Rename driver model I2C functions to permit compatibility 2015-01-29 17:09:53 -07:00
twl4030.c twl4030: device-index-specific MMC power initializations, common ramp-up delay 2014-12-04 11:04:40 -05:00
twl6030.c ARMV7: OMAP4: Add twl6032 support 2013-12-04 08:11:28 -05:00