u-boot-brain/include/power
Przemyslaw Marczak 5d387d0df9 sandbox: add: sandbox PMIC device drivers: I2C emul, pmic, regulator
This commit adds emulation of sandbox PMIC device, which includes:
- PMIC I2C emulation driver
- PMIC I/O driver (UCLASS_PMIC)
- PMIC regulator driver (UCLASS_REGULATOR)

The sandbox PMIC has 12 significant registers and 4 as padding to 16 bytes,
which allows using 'i2c md' command with the default count (16).

The sandbox PMIC provides regulators:
- 2x BUCK
- 2x LDO

Each, with adjustable output:
- Enable state
- Voltage
- Current limit (LDO1/BUCK1 only)
- Operation mode (different for BUCK and LDO)

Each attribute has it's own register, beside the enable state, which depends
on operation mode.

The header file: sandbox_pmic.h includes PMIC's default register values,
which are set on i2c pmic emul driver's probe() method.

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested on sandbox:
Tested-by: Simon Glass <sjg@chromium.org>
2015-05-14 19:58:34 -06:00
..
as3722.h power: Export register access functions from as3722 2015-05-13 09:24:07 -07:00
battery.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fg_battery_cell_params.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ltc3676_pmic.h power: Add support for LTC3676 PMIC 2014-05-09 14:38:23 +02:00
max8997_muic.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
max8997_pmic.h power: Add PMIC_ prefix to CHARGER_EN/DISABLE 2014-05-28 10:58:18 +09:00
max8998_pmic.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
max17042_fg.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
max77686_pmic.h dm: regulator: add max77686 regulator driver 2015-05-14 18:49:38 -06:00
max77693_fg.h drivers:power:max77693: add support for new multi function pmic max77693 2013-09-25 10:52:27 +09:00
max77693_muic.h drivers:power:max77693: add support for new multi function pmic max77693 2013-09-25 10:52:27 +09:00
max77693_pmic.h power: Add PMIC_ prefix to CHARGER_EN/DISABLE 2014-05-28 10:58:18 +09:00
pfuze100_pmic.h power: pfuze100: fix LDO_EN bit value 2015-04-22 14:41:08 +02:00
pmic.h dm: pmic: code cleanup of PMIC uclass driver 2015-05-14 19:58:34 -06:00
power_chrg.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
regulator.h dm: regulator: uclass driver code cleanup 2015-05-14 19:58:34 -06:00
sandbox_pmic.h sandbox: add: sandbox PMIC device drivers: I2C emul, pmic, regulator 2015-05-14 19:58:34 -06:00
tps62362.h pmic: add tps62362 simple wrapper code 2015-01-13 15:26:10 -05:00
tps65090_pmic.h power: Add support for TPS65090 PMU chip. 2014-05-28 10:58:19 +09:00
tps65217.h board/BuR/common: Take usage of am335x LCD-Display 2015-03-05 20:13:16 -05:00
tps65218.h power: tps65218: define all valid VDD_MPU voltages 2015-01-13 11:53:39 -05:00
tps65910.h drivers/power/pmic: Add tps65910 driver 2013-09-20 11:01:26 -04:00