]> git.sur5r.net Git - u-boot/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)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:26 +0000 (17:39 -0600)
commit083fc83a4e1187a3f42575c8e3df089d3be622ad
tree4c562301946c94dcfcf6e7d332a433e89a36d528
parent3b55d30f6ff2f16c5fd02685bff7639211e6d326
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