2014-09-09 14:28:03 +00:00
|
|
|
Generic cpufreq driver
|
2012-09-06 07:09:11 +00:00
|
|
|
|
2014-09-09 14:28:03 +00:00
|
|
|
It is a generic DT based cpufreq driver for frequency management. It supports
|
|
|
|
both uniprocessor (UP) and symmetric multiprocessor (SMP) systems which share
|
|
|
|
clock and voltage across all CPUs.
|
2012-09-06 07:09:11 +00:00
|
|
|
|
|
|
|
Both required and optional properties listed below must be defined
|
|
|
|
under node /cpus/cpu@0.
|
|
|
|
|
|
|
|
Required properties:
|
2014-07-11 14:54:19 +00:00
|
|
|
- None
|
2012-09-06 07:09:11 +00:00
|
|
|
|
|
|
|
Optional properties:
|
2015-11-03 12:09:23 +00:00
|
|
|
- operating-points: Refer to Documentation/devicetree/bindings/opp/opp.txt for
|
2014-07-11 14:54:19 +00:00
|
|
|
details. OPPs *must* be supplied either via DT, i.e. this property, or
|
|
|
|
populated at runtime.
|
2012-09-06 07:09:11 +00:00
|
|
|
- clock-latency: Specify the possible maximum transition latency for clock,
|
|
|
|
in unit of nanoseconds.
|
|
|
|
- voltage-tolerance: Specify the CPU voltage tolerance in percentage.
|
2013-07-15 13:09:14 +00:00
|
|
|
- #cooling-cells:
|
|
|
|
- cooling-min-level:
|
|
|
|
- cooling-max-level:
|
|
|
|
Please refer to Documentation/devicetree/bindings/thermal/thermal.txt.
|
2012-09-06 07:09:11 +00:00
|
|
|
|
|
|
|
Examples:
|
|
|
|
|
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
cpu@0 {
|
|
|
|
compatible = "arm,cortex-a9";
|
|
|
|
reg = <0>;
|
|
|
|
next-level-cache = <&L2>;
|
|
|
|
operating-points = <
|
|
|
|
/* kHz uV */
|
|
|
|
792000 1100000
|
|
|
|
396000 950000
|
|
|
|
198000 850000
|
|
|
|
>;
|
2013-04-01 12:57:41 +00:00
|
|
|
clock-latency = <61036>; /* two CLK32 periods */
|
2013-07-15 13:09:14 +00:00
|
|
|
#cooling-cells = <2>;
|
|
|
|
cooling-min-level = <0>;
|
|
|
|
cooling-max-level = <2>;
|
2012-09-06 07:09:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
cpu@1 {
|
|
|
|
compatible = "arm,cortex-a9";
|
|
|
|
reg = <1>;
|
|
|
|
next-level-cache = <&L2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu@2 {
|
|
|
|
compatible = "arm,cortex-a9";
|
|
|
|
reg = <2>;
|
|
|
|
next-level-cache = <&L2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu@3 {
|
|
|
|
compatible = "arm,cortex-a9";
|
|
|
|
reg = <3>;
|
|
|
|
next-level-cache = <&L2>;
|
|
|
|
};
|
|
|
|
};
|