u-boot/drivers/power/pmic
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
..
i2c_pmic_emul.c sandbox: add: sandbox PMIC device drivers: I2C emul, pmic, regulator 2015-05-14 19:58:34 -06:00
Kconfig sandbox: add: sandbox PMIC device drivers: I2C emul, pmic, regulator 2015-05-14 19:58:34 -06:00
Makefile power: pmic: Add support for MAX77696 PMIC 2015-07-26 12:11:33 +02:00
max77686.c dm: pmic: code cleanup of PMIC uclass driver 2015-05-14 19:58:34 -06:00
muic_max8997.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pmic-uclass.c power: pmic: Use trailing_strtol() instead of a local function 2015-07-21 17:39:30 -06:00
pmic_ltc3676.c power: Add support for LTC3676 PMIC 2014-05-09 14:38:23 +02:00
pmic_max8997.c power: Add PMIC_ prefix to CHARGER_EN/DISABLE 2014-05-28 10:58:18 +09:00
pmic_max8998.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pmic_max77686.c dm: pmic: add max77686 pmic driver 2015-05-14 18:49:38 -06:00
pmic_max77696.c power: pmic: Add support for MAX77696 PMIC 2015-07-26 12:11:33 +02:00
pmic_pfuze100.c pmic: pmic_pfuze100: Use a shorter name for PMIC name 2014-08-08 10:29:41 +02:00
pmic_tps62362.c pmic: add tps62362 simple wrapper code 2015-01-13 15:26:10 -05:00
pmic_tps65090.c pmic: tps65090: correct checking i2c bus 2014-06-19 11:19:05 -04:00
pmic_tps65090_ec.c dm: cros_ec: Convert the I2C tunnel code to use driver model 2015-08-05 21:06:11 -06:00
pmic_tps65217.c drivers/power/pmic: Add tps65217 driver 2013-09-20 11:01:26 -04:00
pmic_tps65218.c tps65218/am43xx_evm: Add power framework support to TPS65218 2014-07-25 15:21:06 -04:00
pmic_tps65910.c drivers/power/pmic: Add tps65910 driver 2013-09-20 11:01:26 -04:00
sandbox.c sandbox: add: sandbox PMIC device drivers: I2C emul, pmic, regulator 2015-05-14 19:58:34 -06:00