RSS Bot Posted September 30, 2022 Posted September 30, 2022 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>; +}; Jira reference number [AR-9999] How Has This Been Tested? Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration. [x] Test A Build: compiled and booted [x] Test B Board: test success @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: [x] My code follows the style guidelines of this project [x] I have performed a self-review of my own code [ ] I have commented my code, particularly in hard-to-understand areas [ ] I have made corresponding changes to the documentation [x] My changes generate no new warnings [ ] Any dependent changes have been merged and published in downstream modules View the full article
Recommended Posts