Skip to content

Commit ffb9bfa

Browse files
committed
Merge branch 'opp/linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm
Pull OPP (operating performance points) updates for 5.17-rc1 from Viresh Kumar: "This updates the documentation to match the latest code." * 'opp/linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm: Documentation: power: Update outdated contents in opp.rst
2 parents fc74e0a + 489a00e commit ffb9bfa

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Documentation/power/opp.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ We can represent these as three OPPs as the following {Hz, uV} tuples:
4848
OPP library provides a set of helper functions to organize and query the OPP
4949
information. The library is located in drivers/opp/ directory and the header
5050
is located in include/linux/pm_opp.h. OPP library can be enabled by enabling
51-
CONFIG_PM_OPP from power management menuconfig menu. OPP library depends on
52-
CONFIG_PM as certain SoCs such as Texas Instrument's OMAP framework allows to
53-
optionally boot at a certain OPP without needing cpufreq.
51+
CONFIG_PM_OPP from power management menuconfig menu. Certain SoCs such as Texas
52+
Instrument's OMAP framework allows to optionally boot at a certain OPP without
53+
needing cpufreq.
5454

5555
Typical usage of the OPP library is as follows::
5656

@@ -75,8 +75,8 @@ operations until that OPP could be re-enabled if possible.
7575

7676
OPP library facilitates this concept in its implementation. The following
7777
operational functions operate only on available opps:
78-
opp_find_freq_{ceil, floor}, dev_pm_opp_get_voltage, dev_pm_opp_get_freq,
79-
dev_pm_opp_get_opp_count
78+
dev_pm_opp_find_freq_{ceil, floor}, dev_pm_opp_get_voltage, dev_pm_opp_get_freq,
79+
dev_pm_opp_get_opp_count.
8080

8181
dev_pm_opp_find_freq_exact is meant to be used to find the opp pointer
8282
which can then be used for dev_pm_opp_enable/disable functions to make an
@@ -103,7 +103,7 @@ dev_pm_opp_add
103103
The OPP is defined using the frequency and voltage. Once added, the OPP
104104
is assumed to be available and control of its availability can be done
105105
with the dev_pm_opp_enable/disable functions. OPP library
106-
internally stores and manages this information in the opp struct.
106+
internally stores and manages this information in the dev_pm_opp struct.
107107
This function may be used by SoC framework to define a optimal list
108108
as per the demands of SoC usage environment.
109109

@@ -247,7 +247,7 @@ dev_pm_opp_disable
247247
5. OPP Data Retrieval Functions
248248
===============================
249249
Since OPP library abstracts away the OPP information, a set of functions to pull
250-
information from the OPP structure is necessary. Once an OPP pointer is
250+
information from the dev_pm_opp structure is necessary. Once an OPP pointer is
251251
retrieved using the search functions, the following functions can be used by SoC
252252
framework to retrieve the information represented inside the OPP layer.
253253

0 commit comments

Comments
 (0)