Jump to content

[Armbian build PR] - Add cpu-frequency Orangepi-zero2, Allwinner h616


Recommended Posts

Posted

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 = <&reg_dcdca>; +};

Please advise with going ahead making the additions to the build system

How Has This Been Tested?

  • [x] Test A: BUILD compiled and booted

  • [x] 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:

  • [ ] My code follows the style guidelines of this project
  • [ ] 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
  • [ ] My changes generate no new warnings
  • [ ] Any dependent changes have been merged and published in downstream modules

View the full article

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines