forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* pm-cpufreq: cpufreq: Avoid calling cpufreq_verify_current_freq() from handle_update() cpufreq: Consolidate cpufreq_update_current_freq() and __cpufreq_get() cpufreq: Don't skip frequency validation for has_target() drivers cpufreq: Use has_target() instead of !setpolicy cpufreq: Remove redundant !setpolicy check cpufreq: Move the IS_ENABLED(CPU_THERMAL) macro into a stub cpufreq: s5pv210: Don't flood kernel log after cpufreq change cpufreq: pcc-cpufreq: Fail initialization if driver cannot be registered cpufreq: add driver for Raspberry Pi cpufreq: Switch imx7d to imx-cpufreq-dt for speed grading cpufreq: imx-cpufreq-dt: Remove global platform match list cpufreq: brcmstb-avs-cpufreq: Fix types for voltage/frequency cpufreq: brcmstb-avs-cpufreq: Fix initial command check cpufreq: armada-37xx: Remove set but not used variable 'freq' cpufreq: imx-cpufreq-dt: Fix no OPPs available on unfused parts dt-bindings: imx-cpufreq-dt: Document opp-supported-hw usage cpufreq: Add imx-cpufreq-dt driver
- Loading branch information
Showing
13 changed files
with
327 additions
and
80 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
Documentation/devicetree/bindings/cpufreq/imx-cpufreq-dt.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
i.MX CPUFreq-DT OPP bindings | ||
================================ | ||
|
||
Certain i.MX SoCs support different OPPs depending on the "market segment" and | ||
"speed grading" value which are written in fuses. These bits are combined with | ||
the opp-supported-hw values for each OPP to check if the OPP is allowed. | ||
|
||
Required properties: | ||
-------------------- | ||
|
||
For each opp entry in 'operating-points-v2' table: | ||
- opp-supported-hw: Two bitmaps indicating: | ||
- Supported speed grade mask | ||
- Supported market segment mask | ||
0: Consumer | ||
1: Extended Consumer | ||
2: Industrial | ||
3: Automotive | ||
|
||
Example: | ||
-------- | ||
|
||
opp_table { | ||
compatible = "operating-points-v2"; | ||
opp-1000000000 { | ||
opp-hz = /bits/ 64 <1000000000>; | ||
/* grade >= 0, consumer only */ | ||
opp-supported-hw = <0xf>, <0x3>; | ||
}; | ||
|
||
opp-1300000000 { | ||
opp-hz = /bits/ 64 <1300000000>; | ||
opp-microvolt = <1000000>; | ||
/* grade >= 1, all segments */ | ||
opp-supported-hw = <0xe>, <0x7>; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.