Home
last modified time | relevance | path

Searched hist:"8 d45719caaf56c859be0172447f8559c0df40f93" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/opp/
H A Dopp.hdiff 8d45719caaf56c859be0172447f8559c0df40f93 Fri Jul 19 10:05:32 CDT 2019 Kamil Konieczny <k.konieczny@samsung.com> opp: core: add regulators enable and disable

Add enable regulators to dev_pm_opp_set_regulators() and disable
regulators to dev_pm_opp_put_regulators(). Even if bootloader
leaves regulators enabled, they should be enabled in kernel in
order to increase the reference count.

Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Clément Péron <peron.clem@gmail.com>
Tested-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Kamil Konieczny <k.konieczny@samsung.com>
[ Viresh: Enable the regulator only after it is programmed and add a
flag to track its status. ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
H A Dcore.cdiff 8d45719caaf56c859be0172447f8559c0df40f93 Fri Jul 19 10:05:32 CDT 2019 Kamil Konieczny <k.konieczny@samsung.com> opp: core: add regulators enable and disable

Add enable regulators to dev_pm_opp_set_regulators() and disable
regulators to dev_pm_opp_put_regulators(). Even if bootloader
leaves regulators enabled, they should be enabled in kernel in
order to increase the reference count.

Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Clément Péron <peron.clem@gmail.com>
Tested-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Kamil Konieczny <k.konieczny@samsung.com>
[ Viresh: Enable the regulator only after it is programmed and add a
flag to track its status. ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>