2014-09-09 07:28:03 -07:00
|
|
|
Generic cpufreq driver
|
2012-09-06 00:09:11 -07:00
|
|
|
|
2014-09-09 07:28:03 -07: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 00:09:11 -07:00
|
|
|
|
|
|
|
Both required and optional properties listed below must be defined
|
|
|
|
under node /cpus/cpu@0.
|
|
|
|
|
|
|
|
Required properties:
|
2014-07-11 07:54:19 -07:00
|
|
|
- None
|
2012-09-06 00:09:11 -07:00
|
|
|
|
|
|
|
Optional properties:
|
2021-07-20 07:41:21 -07:00
|
|
|
- operating-points: Refer to Documentation/devicetree/bindings/opp/opp-v1.yaml for
|
2014-07-11 07:54:19 -07:00
|
|
|
details. OPPs *must* be supplied either via DT, i.e. this property, or
|
|
|
|
populated at runtime.
|
2012-09-06 00:09:11 -07: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 06:09:14 -07:00
|
|
|
- #cooling-cells:
|
2020-07-20 04:43:08 -07:00
|
|
|
Please refer to
|
|
|
|
Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml.
|
2012-09-06 00:09:11 -07: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 05:57:41 -07:00
|
|
|
clock-latency = <61036>; /* two CLK32 periods */
|
2013-07-15 06:09:14 -07:00
|
|
|
#cooling-cells = <2>;
|
2012-09-06 00:09:11 -07: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>;
|
|
|
|
};
|
|
|
|
};
|