@@ -48,9 +48,9 @@ We can represent these as three OPPs as the following {Hz, uV} tuples:
48
48
OPP library provides a set of helper functions to organize and query the OPP
49
49
information. The library is located in drivers/opp/ directory and the header
50
50
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.
54
54
55
55
Typical usage of the OPP library is as follows::
56
56
@@ -75,8 +75,8 @@ operations until that OPP could be re-enabled if possible.
75
75
76
76
OPP library facilitates this concept in its implementation. The following
77
77
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.
80
80
81
81
dev_pm_opp_find_freq_exact is meant to be used to find the opp pointer
82
82
which can then be used for dev_pm_opp_enable/disable functions to make an
@@ -103,7 +103,7 @@ dev_pm_opp_add
103
103
The OPP is defined using the frequency and voltage. Once added, the OPP
104
104
is assumed to be available and control of its availability can be done
105
105
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.
107
107
This function may be used by SoC framework to define a optimal list
108
108
as per the demands of SoC usage environment.
109
109
@@ -247,7 +247,7 @@ dev_pm_opp_disable
247
247
5. OPP Data Retrieval Functions
248
248
===============================
249
249
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
251
251
retrieved using the search functions, the following functions can be used by SoC
252
252
framework to retrieve the information represented inside the OPP layer.
253
253
0 commit comments