]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
dm: power: Add a function to set up all regulators
authorSimon Glass <sjg@chromium.org>
Tue, 23 Jun 2015 21:38:59 +0000 (15:38 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:48:53 +0000 (13:48 +0200)
commit2ac2fba6e76dbb747c2d8e5dfa71f5f73db9e03a
tree8ec4acc9885059258eec78a1a1b2e8e39fe124e3
parent8b9df5891ef6065c6a74d459f919ba1a2acb5a0a
dm: power: Add a function to set up all regulators

The device tree provides information about which regulators should be
on at boot, or always on. Use this to set them up automatically.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
drivers/power/regulator/regulator-uclass.c
include/power/regulator.h