commit | c90010385d6c4c90265475890e52e2f1fb9f3686 | [log] [tgz] |
---|---|---|
author | Przemyslaw Marczak <p.marczak@samsung.com> | Tue Oct 27 13:07:59 2015 +0100 |
committer | Minkyu Kang <mk7.kang@samsung.com> | Mon Nov 02 10:38:00 2015 +0900 |
tree | 74c43945c673449ce4a91adb1d4a596202aa8036 | |
parent | 9181512f2126a9377fe0cac5793023ad7363b93b [diff] |
dm: regulator: add function device_get_supply_regulator() Some devices are supplied by configurable regulator's output. But there was no function for getting it. This commit adds function, that allows for getting the supply device by it's phandle. The returned regulator device can be used with regulator uclass's API. Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>