Home
last modified time | relevance | path

Searched hist:f06ed90e7051a3a50c2172001c86ff9645e5c2ba (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/opp/
H A Dopp.hdiff f06ed90e7051a3a50c2172001c86ff9645e5c2ba Thu Jun 14 01:34:43 CDT 2018 Viresh Kumar <viresh.kumar@linaro.org> OPP: Parse OPP table's DT properties from _of_init_opp_table()

Parse the DT properties present in the OPP table from
_of_init_opp_table(), which is a dedicated routine for DT parsing.

Minor relocation of helpers is required for this.

It is possible now for _managed_opp() to return a partially initialized
OPP table if the OPP table is created via the helpers like
dev_pm_opp_set_supported_hw() and we need another flag to indicate if
the static OPP are already parsed or not to make sure we don't
incorrectly skip initializing the static OPPs.

Tested-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
H A Dof.cdiff f06ed90e7051a3a50c2172001c86ff9645e5c2ba Thu Jun 14 01:34:43 CDT 2018 Viresh Kumar <viresh.kumar@linaro.org> OPP: Parse OPP table's DT properties from _of_init_opp_table()

Parse the DT properties present in the OPP table from
_of_init_opp_table(), which is a dedicated routine for DT parsing.

Minor relocation of helpers is required for this.

It is possible now for _managed_opp() to return a partially initialized
OPP table if the OPP table is created via the helpers like
dev_pm_opp_set_supported_hw() and we need another flag to indicate if
the static OPP are already parsed or not to make sure we don't
incorrectly skip initializing the static OPPs.

Tested-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>