Lines Matching refs:OPP

2 Operating Performance Points (OPP) Library
10 2. Initial OPP List Registration
11 3. OPP Search Functions
12 4. OPP Availability Control Functions
13 5. OPP Data Retrieval Functions
19 1.1 What is an Operating Performance Point (OPP)?
48 OPP library provides a set of helper functions to organize and query the OPP
50 is located in include/linux/pm_opp.h. OPP library can be enabled by enabling
52 Instrument's OMAP framework allows to optionally boot at a certain OPP without
55 Typical usage of the OPP library is as follows::
58 SoC framework -> modifies on required cases certain OPPs -> OPP layer
61 OPP layer expects each domain to be represented by a unique device pointer. SoC
62 framework registers a set of initial OPPs per device with the OPP layer. This
67 Note on OPP Availability
73 SoC framework might choose to disable a higher frequency OPP to safely continue
74 operations until that OPP could be re-enabled if possible.
76 OPP library facilitates this concept in its implementation. The following
85 WARNING: Users of OPP library should refresh their availability count using
89 the SoC specific framework which uses the OPP library. Similar care needs
92 2. Initial OPP List Registration
95 device. It is expected that the SoC framework will register the OPP entries
97 registering the OPPs is maintained by OPP library throughout the device
102 Add a new OPP for a specific domain represented by the device pointer.
103 The OPP is defined using the frequency and voltage. Once added, the OPP
105 with the dev_pm_opp_enable/disable functions. OPP library
128 3. OPP Search Functions
131 frequency back to the corresponding OPP, OPP library provides handy functions
132 to search the OPP list that OPP library internally manages. These search
138 OPP. Otherwise the memory for the OPP will never get freed and result in
142 Search for an OPP based on an *exact* frequency and
143 availability. This function is especially useful to enable an OPP which
147 find the OPP prior to call the dev_pm_opp_enable to actually make
165 Search for an available OPP which is *at most* the
167 match OR operating on OPP information in the order of decreasing
176 Search for an available OPP which is *at least* the
178 higher match OR operating on OPP information in the order of increasing
201 4. OPP Availability Control Functions
203 A default OPP list registered with the OPP library may not cater to all possible
204 situation. The OPP library provides a set of functions to modify the
205 availability of a OPP within the OPP list. This allows SoC frameworks to have
207 These functions are intended to *temporarily* remove an OPP in conditions such
214 Make a OPP available for operation.
215 Example: Lets say that 1GHz OPP is to be made available only if the
231 Make an OPP to be not available for operation
232 Example: Lets say that 1GHz OPP is to be disabled if the temperature
247 5. OPP Data Retrieval Functions
249 Since OPP library abstracts away the OPP information, a set of functions to pull
250 information from the dev_pm_opp structure is necessary. Once an OPP pointer is
252 framework to retrieve the information represented inside the OPP layer.
257 framework requires to set the voltage represented by the OPP using
325 domain is represented by a device pointer. The relationship to OPP can be
338 OPP library maintains a internal list that the SoC framework populates and
340 representing the actual OPPs and domains are internal to the OPP library itself
344 The internal data structure of OPP library which is used to
345 represent an OPP. In addition to the freq, voltage, availability
347 for the OPP library to operate on. Pointer to this structure is
349 identifier for OPP in the interactions with OPP layer.
354 dev_pm_opp_add, but the availability of the OPP can be modified
358 This is used to identify a domain to the OPP layer. The
360 OPP library such as the SoC framework.