arm64: dts: meson: S922X: extend cpu opp-points
authorTim Lewis <elatllat@gmail.com>
Sun, 26 Apr 2020 16:21:19 +0000 (12:21 -0400)
committerKevin Hilman <khilman@baylibre.com>
Wed, 29 Apr 2020 19:00:18 +0000 (12:00 -0700)
Add extra cpu pop points to allow mild overclock on S922X. The opp
points are found in Hardkernel N2 sources [1] and testing shows no
obvious issues on other S922X devices. Thermal throttling should
keep things in-check if needed.

[1] https://github.com/hardkernel/linux/commit/f86cd9487c7483b2a05f448b9ebacf6bd5a2ad2f

Signed-off-by: Tim Lewis <elatllat@gmail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Tested-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20200426162119.GA23268@imac
arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi

index 046cc33..1e5d0ee 100644 (file)
                        opp-hz = /bits/ 64 <1896000000>;
                        opp-microvolt = <981000>;
                };
+
+               opp-1992000000 {
+                       opp-hz = /bits/ 64 <1992000000>;
+                       opp-microvolt = <1001000>;
+               };
        };
 
        cpub_opp_table_1: opp-table-1 {
                        opp-hz = /bits/ 64 <1704000000>;
                        opp-microvolt = <891000>;
                };
+
+               opp-1800000000 {
+                       opp-hz = /bits/ 64 <1800000000>;
+                       opp-microvolt = <981000>;
+               };
+
+               opp-1908000000 {
+                       opp-hz = /bits/ 64 <1908000000>;
+                       opp-microvolt = <1022000>;
+               };
        };
 };