The series adds support for Palmas family of PMICs. Implements functions to configure regulators. Enable/Disable Get/Set voltages of regulators.
Supports TPS659038, TPS65917, Palmas. Tested on TPS659038, TPS65917 using DRA7XX-EVM and AM57XX-EVM. Changes in v4: Added Reviewed-by and a minor change from printf to debug. Changes in v3: Introduced u8 i2c read/write functions. Keerthy (6): dm: i2c: Add u8 read/write i2c functions power: regulator: Add ctrl_reg and volt_reg fields for pmic power: pmic: Palmas: Add the base pmic support power: regulator: palmas: Add regulator support configs: dra7xx_evm_defconfig: Enable PALMAS options configs: am57xx_evm_defconfig: Enable PALMAS options configs/am57xx_evm_defconfig | 3 + configs/dra7xx_evm_defconfig | 3 + drivers/i2c/i2c-uclass.c | 10 + drivers/power/pmic/Kconfig | 7 + drivers/power/pmic/Makefile | 1 + drivers/power/pmic/palmas.c | 77 +++++ drivers/power/regulator/Kconfig | 8 + drivers/power/regulator/Makefile | 1 + drivers/power/regulator/palmas_regulator.c | 457 +++++++++++++++++++++++++++++ include/i2c.h | 24 ++ include/power/palmas.h | 25 ++ include/power/regulator.h | 4 + 12 files changed, 620 insertions(+) create mode 100644 drivers/power/pmic/palmas.c create mode 100644 drivers/power/regulator/palmas_regulator.c create mode 100644 include/power/palmas.h -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot