]> git.sur5r.net Git - u-boot/commit
power: pmic/regulator: Add basic support for TPS65910
authorFelix Brack <fb@ltec.ch>
Thu, 30 Nov 2017 12:52:37 +0000 (13:52 +0100)
committerSimon Glass <sjg@chromium.org>
Wed, 13 Dec 2017 02:53:45 +0000 (19:53 -0700)
commit854dfbf99b89c114ba100905e1500b8ace60e0f9
tree974352b6d1d3c195f95acb3096c73672b59836bf
parent8a5cbc065dfe1f258e3a7be823ea128184b90b5b
power: pmic/regulator: Add basic support for TPS65910

Texas Instrument's TPS65910 PMIC contains 3 buck DC-DC converts, one
boost DC-DC converter and 8 LDOs. This patch implements driver model
support for the TPS65910 PMIC and its regulators making the get/set
API for regulator value/enable available.
This patch depends on the patch "am33xx: Add a function to query MPU
voltage in uV" to build correctly. For boards relying on the DT
include file tps65910.dtsi the v3 patch "power: extend prefix match
to regulator-name property" and an appropriate regulator naming is
also required.

Signed-off-by: Felix Brack <fb@ltec.ch>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/power/pmic/Kconfig
drivers/power/pmic/Makefile
drivers/power/pmic/pmic_tps65910_dm.c [new file with mode: 0644]
drivers/power/regulator/Kconfig
drivers/power/regulator/Makefile
drivers/power/regulator/tps65910_regulator.c [new file with mode: 0644]
include/power/tps65910_pmic.h [new file with mode: 0644]