From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Wahren Subject: [PATCH 2/2] ARM: dts: bcm283x: Add critical thermal zone for GPU Date: Sat, 4 Feb 2017 14:16:27 +0000 Message-ID: <1486217787-15703-2-git-send-email-stefan.wahren@i2se.com> References: <1486217787-15703-1-git-send-email-stefan.wahren@i2se.com> Return-path: In-Reply-To: <1486217787-15703-1-git-send-email-stefan.wahren@i2se.com> Sender: linux-pm-owner@vger.kernel.org To: Eduardo Valentin , Zhang Rui , kernel@martin.sperl.org Cc: Eric Anholt , Rob Herring , Frank Rowand , Florian Fainelli , linux-rpi-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, Stefan Wahren List-Id: devicetree@vger.kernel.org As suggested by Eduardo Valentin this adds the thermal zone for the bcm2835 SoC. Since we currently don't have any cooling devices leave this section empty. Signed-off-by: Stefan Wahren --- arch/arm/boot/dts/bcm283x.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi index 9c7ec7e..359da9d 100644 --- a/arch/arm/boot/dts/bcm283x.dtsi +++ b/arch/arm/boot/dts/bcm283x.dtsi @@ -19,6 +19,25 @@ bootargs = "earlyprintk console=ttyAMA0"; }; + thermal-zones { + gpu_thermal: gpu-thermal { + polling-delay-passive = <0>; + polling-delay = <1000>; + + thermal-sensors = <&thermal>; + + trips { + cpu-crit { + temperature = <80000>; + hysteresis = <0>; + type = "critical"; + }; + }; + cooling-maps { + }; + }; + }; + soc { compatible = "simple-bus"; #address-cells = <1>; -- 1.7.9.5