From 6b9fa5fb3eaa4a0b3ff0babcdeb5f92b8cccb949 Mon Sep 17 00:00:00 2001 From: tonymac32 Date: Wed, 4 Aug 2021 00:14:33 -0400 Subject: [PATCH] hjghj Signed-off-by: tonymac32 --- .../arm64/boot/dts/rockchip/rk3328-roc-cc.dts | 27 ++++++++++--------- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 14 +++++++--- 2 files changed, 24 insertions(+), 17 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts index c50bf3ba4..ba82fe0df 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts @@ -58,31 +58,31 @@ dmc_opp_table: dmc-opp-table { opp-786000000 { opp-hz = /bits/ 64 <786000000>; - opp-microvolt = <1075000>; - opp-microvolt-L0 = <1075000>; - opp-microvolt-L1 = <1050000>; + opp-microvolt = <1150000>; + opp-microvolt-L0 = <1150000>; + opp-microvolt-L1 = <1150000>; }; opp-798000000 { opp-hz = /bits/ 64 <798000000>; - opp-microvolt = <1075000>; - opp-microvolt-L0 = <1075000>; - opp-microvolt-L1 = <1050000>; + opp-microvolt = <1150000>; + opp-microvolt-L0 = <1150000>; + opp-microvolt-L1 = <1150000>; }; opp-840000000 { opp-hz = /bits/ 64 <840000000>; - opp-microvolt = <1075000>; - opp-microvolt-L0 = <1075000>; - opp-microvolt-L1 = <1050000>; + opp-microvolt = <1150000>; + opp-microvolt-L0 = <1150000>; + opp-microvolt-L1 = <1150000>; }; opp-924000000 { opp-hz = /bits/ 64 <924000000>; - opp-microvolt = <1100000>; - opp-microvolt-L0 = <1100000>; - opp-microvolt-L1 = <1075000>; + opp-microvolt = <1150000>; + opp-microvolt-L0 = <1150000>; + opp-microvolt-L1 = <1150000>; }; opp-1068000000 { opp-hz = /bits/ 64 <1068000000>; - opp-microvolt = <1175000>; + opp-microvolt = <1175000>; opp-microvolt-L0 = <1175000>; opp-microvolt-L1 = <1150000>; }; @@ -232,6 +232,7 @@ &gmac2io { }; &gpu { + status = "okay"; mali-supply = <&vdd_logic>; }; diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index a576953ec..e6459baa8 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -147,22 +147,22 @@ gpu_opp_table: gpu-opp-table { opp-200000000 { opp-hz = /bits/ 64 <200000000>; - opp-microvolt = <950000>; + opp-microvolt = <1150000 1150000 1175000>; }; opp-300000000 { opp-hz = /bits/ 64 <300000000>; - opp-microvolt = <975000>; + opp-microvolt = <1150000 1150000 1175000>; }; opp-400000000 { opp-hz = /bits/ 64 <400000000>; - opp-microvolt = <1050000>; + opp-microvolt = <1150000 1150000 1175000>; }; opp-500000000 { opp-hz = /bits/ 64 <500000000>; - opp-microvolt = <1150000>; + opp-microvolt = <1150000 1150000 1175000>; }; }; @@ -591,6 +591,11 @@ map0 { <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; contribution = <4096>; }; + map1 { + trip = <&target>; + cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + contribution = <4096>; + }; }; }; @@ -675,6 +680,7 @@ gpu: gpu@ff300000 { power-domains = <&power RK3328_PD_GPU>; resets = <&cru SRST_GPU_A>; operating-points-v2 = <&gpu_opp_table>; + #cooling-cells = <2>; }; h265e_mmu: iommu@ff330200 { -- Created with Armbian build tools https://github.com/armbian/build