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

ARM: dts: sun8i-h3: add opp table for mali gpu

OPP table value is get from orangepi lichee linux-3.4
kernel driver.

Signed-off-by: Qiang Yu <yuq825@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>

authored by

Qiang Yu and committed by
Maxime Ripard
c21c2c86 89866b26

+21 -3
+21 -3
arch/arm/boot/dts/sun8i-h3.dtsi
··· 112 112 }; 113 113 }; 114 114 115 + gpu_opp_table: gpu-opp-table { 116 + compatible = "operating-points-v2"; 117 + 118 + opp-120000000 { 119 + opp-hz = /bits/ 64 <120000000>; 120 + }; 121 + 122 + opp-312000000 { 123 + opp-hz = /bits/ 64 <312000000>; 124 + }; 125 + 126 + opp-432000000 { 127 + opp-hz = /bits/ 64 <432000000>; 128 + }; 129 + 130 + opp-576000000 { 131 + opp-hz = /bits/ 64 <576000000>; 132 + }; 133 + }; 134 + 115 135 pmu { 116 136 compatible = "arm,cortex-a7-pmu"; 117 137 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>, ··· 225 205 clocks = <&ccu CLK_BUS_GPU>, <&ccu CLK_GPU>; 226 206 clock-names = "bus", "core"; 227 207 resets = <&ccu RST_BUS_GPU>; 228 - 229 - assigned-clocks = <&ccu CLK_GPU>; 230 - assigned-clock-rates = <384000000>; 208 + operating-points-v2 = <&gpu_opp_table>; 231 209 }; 232 210 233 211 ths: thermal-sensor@1c25000 {