New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
arm64-sun50i-h616 Add-cpu-frequency #4165
Conversation
@AGM1968 Patches in the folders With respect to your work and understanding. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rename the patch properly. It must not have white-spaces and add .patch
file extension.
Also please take not of The going's thoughts.
Thanks
Thank you for assisting. Testing has been successful. 1: I've created the patch with the initial build from my fork AGM1968/build. This was TestA refered to above, which compiled and booted without issue and once completed the login formalities showed cpu-frequency in htop etc.
2: Committed the changes to AGM1968/build Updated with git pull origin master to reflect the changes and did another test build. |
Thanks @The-going and @EvilOlaf . All noted |
@The-going and @EvilOlaf please suggest appropriate naming convention? arm64-dts-Add-sun50i-h616-orangepi-zero2-cpu-frequency.patch |
To get this name, the first line in the commit message should be like this:
|
In order for the patch to be applied, it must be registered in the |
Oh! -mistakenly assumed that the series.conf was automatically generated |
Is this still interesting? |
On Tue, 20 Sep 2022, 15:43 Igor Pečovnik, ***@***.***> wrote:
Is this still interesting?
Very sorry have been caught by time demands. Yes very much so and would
like to do more for h616. I will try to fit this in over the coming weekend.
Kind regards,
Alistair
|
Description
Add cpu-frequency to orangepizero2, allwinner h616.
From sunxi 5.16 the drivers and dtsi, dts files have the necessary support.
Add: sun50i-h616-cpu-opp.dtsi
Additions: sun50i-h616-orangepi-zero2.dts
+#include
"sun50i-h616-cpu-opp.dtsi"
+&cpu0 {
+ cpu-supply = <®_dcdca>;
+};
How Has This Been Tested?
Test A: BUILD
compiled and booted
Test B: BOARD
@orangepizero2:~$ uname -a Linux orangepizero2 5.19.6-sunxi64 #trunk SMP Mon Sep 5 23:16:49 UTC 2022 aarch64 GNU/Linux
@orangepizero2:~$ find /sys -name cpufreq /sys/devices/system/cpu/cpu3/cpufreq /sys/devices/system/cpu/cpu1/cpufreq /sys/devices/system/cpu/cpufreq /sys/devices/system/cpu/cpu2/cpufreq /sys/devices/system/cpu/cpu0/cpufreq /sys/module/cpufreq
Checklist: