mirror of
https://github.com/armbian/build.git
synced 2025-09-19 12:41:39 +02:00
I have changed the way the patches are generated a bit. Instead of using orange-pi branch from megous tree for 6.6 kernel, I have used the following kernel branches a83t-suspend, af8133j, anx, audio, axp, cam, drm, err, fixes, mbus, modem, opi3, pb, pinetab, pp, ppkb, samuel, speed, tbs-a711, ths These branches were carefully chosen to include only allwinner related patches and remove importing of the rockchip related patches into the allwinner kernel. Following patches are modified to fix patch application failure - patches.armbian/arm64-dts-sun50i-h616-orangepi-zero2-reg_usb1_vbus-status-ok.patch - patches.armbian/arm64-dts-sun50i-h616-orangepi-zero2-Enable-GPU-mali.patch - patches.armbian/arm64-dts-allwinner-h616-Add-efuse_xlate-cpu-frequency-scaling-v1_6_2.patch - patches.armbian/arm64-dts-allwinner-h616-LED-green_power_on-red_status_heartbeat.patch - patches.armbian/arm64-dts-allwinner-overlay-Add-Overlays-for-sunxi64.patch - patches.armbian/arm64-dts-sun50i-h616-bigtreetech-cb1.patch Following patches are modified because of kernel api change to fix compilation failure - patches.armbian/drv-gpu-drm-sun4i-Add-HDMI-audio-sun4i-hdmi-encoder.patch - patches.armbian/drv-of-Device-Tree-Overlay-ConfigFS-interface.patch
116 lines
3.3 KiB
Diff
116 lines
3.3 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: The-going <48602507+The-going@users.noreply.github.com>
|
|
Date: Fri, 27 May 2022 14:45:59 +0300
|
|
Subject: fix: cpu opp table sun8i-a83t
|
|
|
|
cpu opp table can only be a multiple of the integer 24 * 8 * n
|
|
---
|
|
arch/arm/boot/dts/allwinner/sun8i-a83t.dtsi | 52 ++++++----
|
|
1 file changed, 32 insertions(+), 20 deletions(-)
|
|
|
|
diff --git a/arch/arm/boot/dts/allwinner/sun8i-a83t.dtsi b/arch/arm/boot/dts/allwinner/sun8i-a83t.dtsi
|
|
index df70bd569f9d..4f849c9e573e 100644
|
|
--- a/arch/arm/boot/dts/allwinner/sun8i-a83t.dtsi
|
|
+++ b/arch/arm/boot/dts/allwinner/sun8i-a83t.dtsi
|
|
@@ -224,32 +224,38 @@ cpu0_opp_table: opp-table-cluster0 {
|
|
compatible = "operating-points-v2";
|
|
opp-shared;
|
|
|
|
- opp-480000000 {
|
|
- opp-hz = /bits/ 64 <480000000>;
|
|
+ opp-576000000 {
|
|
+ opp-hz = /bits/ 64 <576000000>; /* 24x8x3 */
|
|
opp-microvolt = <840000>;
|
|
clock-latency-ns = <244144>; /* 8 32k periods */
|
|
};
|
|
|
|
- opp-1008000000 {
|
|
- opp-hz = /bits/ 64 <1008000000>;
|
|
+ opp-768000000 {
|
|
+ opp-hz = /bits/ 64 <768000000>; /* 24x8x4 */
|
|
opp-microvolt = <840000>;
|
|
clock-latency-ns = <244144>; /* 8 32k periods */
|
|
};
|
|
|
|
- opp-1412000000 {
|
|
- opp-hz = /bits/ 64 <1412000000>;
|
|
+ opp-1152000000 {
|
|
+ opp-hz = /bits/ 64 <1152000000>; /* 24x8x6 */
|
|
+ opp-microvolt = <900000>;
|
|
+ clock-latency-ns = <244144>; /* 8 32k periods */
|
|
+ };
|
|
+
|
|
+ opp-1344000000 {
|
|
+ opp-hz = /bits/ 64 <1344000000>; /* 24x8x7 */
|
|
opp-microvolt = <920000>;
|
|
clock-latency-ns = <244144>; /* 8 32k periods */
|
|
};
|
|
|
|
- opp-1608000000 {
|
|
- opp-hz = /bits/ 64 <1608000000>;
|
|
+ opp-1536000000 {
|
|
+ opp-hz = /bits/ 64 <1536000000>; /* 24x8x8 */
|
|
opp-microvolt = <1000000>;
|
|
clock-latency-ns = <244144>; /* 8 32k periods */
|
|
};
|
|
|
|
- opp-1800000000 {
|
|
- opp-hz = /bits/ 64 <1800000000>;
|
|
+ opp-1728000000 {
|
|
+ opp-hz = /bits/ 64 <1728000000>; /* 24x8x9 */
|
|
opp-microvolt = <1080000>;
|
|
clock-latency-ns = <244144>; /* 8 32k periods */
|
|
};
|
|
@@ -259,32 +265,38 @@ cpu1_opp_table: opp-table-cluster1 {
|
|
compatible = "operating-points-v2";
|
|
opp-shared;
|
|
|
|
- opp-480000000 {
|
|
- opp-hz = /bits/ 64 <480000000>;
|
|
+ opp-576000000 {
|
|
+ opp-hz = /bits/ 64 <576000000>; /* 24x8x3 */
|
|
opp-microvolt = <840000>;
|
|
clock-latency-ns = <244144>; /* 8 32k periods */
|
|
};
|
|
|
|
- opp-1008000000 {
|
|
- opp-hz = /bits/ 64 <1008000000>;
|
|
+ opp-768000000 {
|
|
+ opp-hz = /bits/ 64 <768000000>; /* 24x8x4 */
|
|
opp-microvolt = <840000>;
|
|
clock-latency-ns = <244144>; /* 8 32k periods */
|
|
};
|
|
|
|
- opp-1412000000 {
|
|
- opp-hz = /bits/ 64 <1412000000>;
|
|
+ opp-1152000000 {
|
|
+ opp-hz = /bits/ 64 <1152000000>; /* 24x8x6 */
|
|
+ opp-microvolt = <900000>;
|
|
+ clock-latency-ns = <244144>; /* 8 32k periods */
|
|
+ };
|
|
+
|
|
+ opp-1344000000 {
|
|
+ opp-hz = /bits/ 64 <1344000000>; /* 24x8x7 */
|
|
opp-microvolt = <920000>;
|
|
clock-latency-ns = <244144>; /* 8 32k periods */
|
|
};
|
|
|
|
- opp-1608000000 {
|
|
- opp-hz = /bits/ 64 <1608000000>;
|
|
+ opp-1536000000 {
|
|
+ opp-hz = /bits/ 64 <1536000000>; /* 24x8x8 */
|
|
opp-microvolt = <1000000>;
|
|
clock-latency-ns = <244144>; /* 8 32k periods */
|
|
};
|
|
|
|
- opp-1800000000 {
|
|
- opp-hz = /bits/ 64 <1800000000>;
|
|
+ opp-1728000000 {
|
|
+ opp-hz = /bits/ 64 <1728000000>; /* 24x8x9 */
|
|
opp-microvolt = <1080000>;
|
|
clock-latency-ns = <244144>; /* 8 32k periods */
|
|
};
|
|
--
|
|
Armbian
|
|
|