Skip to content

cpus node: Make clock-frequency optional#61

Merged
robherring merged 1 commit intodevicetree-org:mainfrom
Andre-ARM:opt_cpu_clk_freq
Feb 8, 2023
Merged

cpus node: Make clock-frequency optional#61
robherring merged 1 commit intodevicetree-org:mainfrom
Andre-ARM:opt_cpu_clk_freq

Conversation

@Andre-ARM
Copy link
Contributor

@Andre-ARM Andre-ARM commented Feb 7, 2023

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 andre.przywara@arm.com

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 <andre.przywara@arm.com>
@Andre-ARM
Copy link
Contributor Author

This is the first step to push a patch removing the warning message from arch/arm Linux kernels. I don't think this property makes sense anymore. arm64 Linux seems to ignore it completely, and arm Linux just computes some capacity value for big.LITTLE systems from it.

@robherring robherring merged commit c2cdd4a into devicetree-org:main Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants