ARM: dts: rockchip: Add #cooling-cells entry for rk3288 GPU
authorMatthias Kaehlcke <mka@chromium.org>
Thu, 16 May 2019 17:25:09 +0000 (10:25 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 22 May 2019 09:00:56 +0000 (11:00 +0200)
The Mali GPU of the rk3288 can be used as cooling device, add
a #cooling-cells entry for it.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288.dtsi

index 1e5260b..7e9b8c7 100644 (file)
                interrupt-names = "job", "mmu", "gpu";
                clocks = <&cru ACLK_GPU>;
                operating-points-v2 = <&gpu_opp_table>;
+               #cooling-cells = <2>; /* min followed by max */
                power-domains = <&power RK3288_PD_GPU>;
                status = "disabled";
        };