Skip to content

Commit c2cdd4a

Browse files
Andre-ARMrobherring
authored andcommitted
cpus node: Make clock-frequency optional
Modern CPU implementations overwhelmingly implement frequency scaling, so there is no real notion of "the current" CPU clock frequency anymore. Make the "clock-frequency" and "timebase-frequency" property of each CPU node optional instead of required, and reword the description of the clock-frequency to only encourage using this property if the CPU speed is fixed. Signed-off-by: Andre Przywara <[email protected]>
1 parent 75b0399 commit c2cdd4a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/chapter3-devicenodes.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -592,16 +592,16 @@ standard properties with specific applicable detail.
592592
controller number space, the CPUs binding may
593593
define a binding-specific representation of
594594
PIR values if desired.
595-
``clock-frequency`` | R | array Specifies the current clock speed of the CPU
596-
in Hertz. The value is a ``<prop-encoded-array>``
597-
in one of two forms:
595+
``clock-frequency`` | O | array Specifies the clock speed of the CPU in Hertz,
596+
if that is constant. The value is a
597+
``<prop-encoded-array>`` in one of two forms:
598598

599599
* A 32-bit integer consisting of one ``<u32>``
600600
specifying the frequency.
601601
* A 64-bit integer represented as a ``<u64>``
602602
specifying the frequency.
603603

604-
``timebase-frequency`` | R | array Specifies the current frequency at which the
604+
``timebase-frequency`` | O | array Specifies the current frequency at which the
605605
timebase and decrementer registers are updated
606606
(in Hertz). The value is a
607607
<prop-encoded-array> in one of two forms:

0 commit comments

Comments
 (0)