Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit b05f15d

Browse files
tokyovigilantewens
authored andcommitted
arm64: dts: allwinner: h616: add additional CPU OPPs for the H700
The H700 now shows stable operation with the 1.008, 1.032 and 1.512 GHz DVFS operating points. The 1.5GHz OPP requires a VDD-CPU of 1.16V, obtained from the vendor BSP. This voltage is slightly above the recommended operating voltage for the H616 (H700 datasheet not publicly available) but well within the absolute maximum of 1.3V. Add the additional 1.032 GHz operating point to the H616 CPU-OPP table, and enable the 1.008 and 1.512 points for the H700. Signed-off-by: Ryan Walklin <ryan@testtoast.com> Tested-by: Philippe Simons <simons.philippe@gmail.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Link: https://lore.kernel.org/r/20240607092140.33112-3-ryan@testtoast.com Signed-off-by: Chen-Yu Tsai <wens@csie.org>
1 parent e41e597 commit b05f15d

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

arch/arm64/boot/dts/allwinner/sun50i-h616-cpu-opp.dtsi

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
opp-hz = /bits/ 64 <480000000>;
1212
opp-microvolt = <900000>;
1313
clock-latency-ns = <244144>; /* 8 32k periods */
14-
opp-supported-hw = <0x1f>;
14+
opp-supported-hw = <0x3f>;
1515
};
1616

1717
opp-600000000 {
@@ -25,7 +25,7 @@
2525
opp-hz = /bits/ 64 <720000000>;
2626
opp-microvolt = <900000>;
2727
clock-latency-ns = <244144>; /* 8 32k periods */
28-
opp-supported-hw = <0x0d>;
28+
opp-supported-hw = <0x2d>;
2929
};
3030

3131
opp-792000000 {
@@ -50,17 +50,26 @@
5050
opp-microvolt-speed2 = <950000>;
5151
opp-microvolt-speed3 = <950000>;
5252
opp-microvolt-speed4 = <1020000>;
53+
opp-microvolt-speed5 = <900000>;
5354
clock-latency-ns = <244144>; /* 8 32k periods */
54-
opp-supported-hw = <0x1f>;
55+
opp-supported-hw = <0x3f>;
56+
};
57+
58+
opp-1032000000 {
59+
opp-hz = /bits/ 64 <1032000000>;
60+
opp-microvolt = <900000>;
61+
clock-latency-ns = <244144>; /* 8 32k periods */
62+
opp-supported-hw = <0x20>;
5563
};
5664

5765
opp-1104000000 {
5866
opp-hz = /bits/ 64 <1104000000>;
5967
opp-microvolt-speed0 = <1000000>;
6068
opp-microvolt-speed2 = <1000000>;
6169
opp-microvolt-speed3 = <1000000>;
70+
opp-microvolt-speed5 = <950000>;
6271
clock-latency-ns = <244144>; /* 8 32k periods */
63-
opp-supported-hw = <0x0d>;
72+
opp-supported-hw = <0x2d>;
6473
};
6574

6675
opp-1200000000 {
@@ -70,8 +79,9 @@
7079
opp-microvolt-speed2 = <1050000>;
7180
opp-microvolt-speed3 = <1050000>;
7281
opp-microvolt-speed4 = <1100000>;
82+
opp-microvolt-speed5 = <1020000>;
7383
clock-latency-ns = <244144>; /* 8 32k periods */
74-
opp-supported-hw = <0x1f>;
84+
opp-supported-hw = <0x3f>;
7585
};
7686

7787
opp-1320000000 {
@@ -85,15 +95,16 @@
8595
opp-hz = /bits/ 64 <1416000000>;
8696
opp-microvolt = <1100000>;
8797
clock-latency-ns = <244144>; /* 8 32k periods */
88-
opp-supported-hw = <0x0d>;
98+
opp-supported-hw = <0x2d>;
8999
};
90100

91101
opp-1512000000 {
92102
opp-hz = /bits/ 64 <1512000000>;
93103
opp-microvolt-speed1 = <1100000>;
94104
opp-microvolt-speed3 = <1100000>;
105+
opp-microvolt-speed5 = <1160000>;
95106
clock-latency-ns = <244144>; /* 8 32k periods */
96-
opp-supported-hw = <0x0a>;
107+
opp-supported-hw = <0x2a>;
97108
};
98109
};
99110
};

0 commit comments

Comments
 (0)