Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: mstar: Add OPP table for infinity

Add an OPP table for the inifinity chips so
that cpu frequency scaling can happen.

Co-authored-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Daniel Palmer <daniel@0x0f.com>
Reviewed-by: Romain Perier <romain.perier@gmail.com>

authored by

Daniel Palmer
Willy Tarreau
and committed by
Romain Perier
9affaa4a 79f700c2

+34
+34
arch/arm/boot/dts/mstar-infinity.dtsi
··· 8 8 9 9 #include <dt-bindings/gpio/msc313-gpio.h> 10 10 11 + / { 12 + cpu0_opp_table: opp_table0 { 13 + compatible = "operating-points-v2"; 14 + opp-shared; 15 + 16 + opp-240000000 { 17 + opp-hz = /bits/ 64 <240000000>; 18 + opp-microvolt = <1000000>; 19 + clock-latency-ns = <300000>; 20 + }; 21 + 22 + opp-400000000 { 23 + opp-hz = /bits/ 64 <400000000>; 24 + opp-microvolt = <1000000>; 25 + clock-latency-ns = <300000>; 26 + }; 27 + opp-600000000 { 28 + opp-hz = /bits/ 64 <600000000>; 29 + opp-microvolt = <1000000>; 30 + clock-latency-ns = <300000>; 31 + }; 32 + 33 + opp-800000000 { 34 + opp-hz = /bits/ 64 <800000000>; 35 + opp-microvolt = <1000000>; 36 + clock-latency-ns = <300000>; 37 + }; 38 + }; 39 + }; 40 + 41 + &cpu0 { 42 + operating-points-v2 = <&cpu0_opp_table>; 43 + }; 44 + 11 45 &imi { 12 46 reg = <0xa0000000 0x16000>; 13 47 };