Searched hist:"38 bb34393804b79eff647bdf96762db5efce392c" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/opp/ |
H A D | opp.h | diff 38bb34393804b79eff647bdf96762db5efce392c Tue Jan 19 00:28:58 CST 2021 Viresh Kumar <viresh.kumar@linaro.org> opp: Prepare for ->set_opp() helper to work without regulators
Until now the ->set_opp() helper (i.e. special implementation for setting the OPPs for platforms) was implemented only to take care of multiple regulators case, but going forward we would need that for other use cases as well.
This patch prepares for that by allocating the regulator specific part from dev_pm_opp_set_regulators() and the opp helper part from dev_pm_opp_register_set_opp_helper().
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Tested-by: Dmitry Osipenko <digetx@gmail.com>
|
H A D | core.c | diff 38bb34393804b79eff647bdf96762db5efce392c Tue Jan 19 00:28:58 CST 2021 Viresh Kumar <viresh.kumar@linaro.org> opp: Prepare for ->set_opp() helper to work without regulators
Until now the ->set_opp() helper (i.e. special implementation for setting the OPPs for platforms) was implemented only to take care of multiple regulators case, but going forward we would need that for other use cases as well.
This patch prepares for that by allocating the regulator specific part from dev_pm_opp_set_regulators() and the opp helper part from dev_pm_opp_register_set_opp_helper().
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Tested-by: Dmitry Osipenko <digetx@gmail.com>
|