Lines Matching +full:freq +full:- +full:domain

5 (C) 2009-2010 Nishanth Menon <nm@ti.com>, Texas Instruments Incorporated
20 -------------------------------------------------
22 Complex SoCs of today consists of a multiple sub-modules working in conjunction.
25 facilitate this, sub-modules in a SoC are grouped into domains, allowing some
30 the device will support per domain are called Operating Performance Points or
41 - {300000000, 1000000}
42 - {800000000, 1200000}
43 - {1000000000, 1300000}
46 ----------------------------------------
57 (users) -> registers a set of default OPPs -> (library)
58 SoC framework -> modifies on required cases certain OPPs -> OPP layer
59 -> queries to search/retrieve information ->
61 OPP layer expects each domain to be represented by a unique device pointer. SoC
74 operations until that OPP could be re-enabled if possible.
96 optimally- typical numbers range to be less than 5. The list generated by
102 Add a new OPP for a specific domain represented by the device pointer.
171 freq = ULONG_MAX;
172 opp = dev_pm_opp_find_freq_floor(dev, &freq);
182 freq = 0;
183 opp = dev_pm_opp_find_freq_ceil(dev, &freq);
186 Example 2: A simplified implementation of a SoC cpufreq_driver->target::
192 opp = dev_pm_opp_find_freq_ceil(dev, &freq);
195 soc_switch_to_freq_voltage(freq);
261 soc_switch_to_freq_voltage(freq)
264 opp = dev_pm_opp_find_freq_ceil(dev, &freq);
273 Retrieve the freq represented by the opp pointer.
283 requested_opp = dev_pm_opp_find_freq_ceil(dev,&freq);
293 return -EINVAL;
295 return -EINVAL;
301 Example: Lets say a co-processor in the SoC needs to know the available
310 freq = 0;
311 while (!IS_ERR(opp = dev_pm_opp_find_freq_ceil(dev, &freq))) {
312 speeds[i] = freq;
313 freq++;
325 domain is represented by a device pointer. The relationship to OPP can be
329 |- device 1
330 | |- opp 1 (availability, freq, voltage)
331 | |- opp 2 ..
333 | `- opp n ..
334 |- device 2
336 `- device m
345 represent an OPP. In addition to the freq, voltage, availability
358 This is used to identify a domain to the OPP layer. The
366 +-----+ /- dev_pm_opp_enable
367 dev_pm_opp_add --> | opp | <-------
368 | +-----+ \- dev_pm_opp_disable
369 \-------> domain_info(device)
372 /-- dev_pm_opp_find_freq_ceil ---\ +-----+
373 domain_info<---- dev_pm_opp_find_freq_exact -----> | opp |
374 \-- dev_pm_opp_find_freq_floor ---/ +-----+
377 +-----+ /- dev_pm_opp_get_voltage
378 | opp | <---
379 +-----+ \- dev_pm_opp_get_freq
381 domain_info <- dev_pm_opp_get_opp_count