From patchwork Sat Feb 10 01:38:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 10210161 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 174366032D for ; Sat, 10 Feb 2018 01:39:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0AA1E295B0 for ; Sat, 10 Feb 2018 01:39:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F1FB5295F9; Sat, 10 Feb 2018 01:39:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 928C3295B0 for ; Sat, 10 Feb 2018 01:39:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=/TularYBZQ9ka3EEmdmvqO0uKMBpFn2evuOyP1NrsMU=; b=jTLvbOYuGZcIbBdgUT81SzCq7e ahzFKOXlMni5WkOtJhzx7GHLobpYgAN5Nj1XCwiO2h0FqtZy/YFPESfMBU5OrPRnQumswHY4iE8Bd +5eyt2MEmfsWoSJSpfcRasam2TMYD4zxXD/SHGeQl0Vydh6nKBZ5PGhBS4gEGq4PiRAvFucyhBCkL U0TlmcYSgwppWOuAgCDQcxsOVexClb3XA52mgkfZHcjKLxGR3g5XjgZpm1Gbk6wEoKOaNaIAQXseT qRxF4oIKdofgUJR19msNVrdHRXC8x8C4AmWoogca22CP2aSnufThDnsi15ln3o0FekFXIGCzpNbrX g2k+S+Cg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ekK8O-0007Ir-UZ; Sat, 10 Feb 2018 01:39:20 +0000 Received: from mout.perfora.net ([74.208.4.194]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ekK7c-0006Vi-7f for linux-arm-kernel@lists.infradead.org; Sat, 10 Feb 2018 01:38:34 +0000 Received: from localhost.localdomain.ziswiler.net ([178.38.65.171]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPA (Nemesis) id 0MFaXj-1eWLUw3PnB-00Ebkq; Sat, 10 Feb 2018 02:38:16 +0100 From: Marcel Ziswiler To: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 1/6] arm: tegra: apalis-tk1: set critical trips Date: Sat, 10 Feb 2018 02:38:01 +0100 Message-Id: <20180210013806.28496-2-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180210013806.28496-1-marcel@ziswiler.com> References: <20180210013806.28496-1-marcel@ziswiler.com> X-Provags-ID: V03:K0:SqSLnO3YejxxAFcuVAbb4AmAGp5i0tWs+awj+4DXEFqke2dAEcU RE+H7xixerBRmB3M4ApNJYfvYOynRmZ/6l9AutOIVPuiHexqE5H7SxFqSKlpgP9wLxdmK04 h1XB1NPvn5ihz0pkK80zDIS2luqr3avPiyG6tXG91J3hS07DR8UEPSn2oz8QFfK/26bA18T t8NDvULsd89hEkTMx90bg== X-UI-Out-Filterresults: notjunk:1; V01:K0:dX56dyf1uJo=:R0Qq20F41lzng6WVzEoSM4 jyR+oSK9qYPTVGhTXotxBzMwZf3pWdRSvFOmhIgjnwLbS/gQ20K2HIRdGqMghgFUP5hi+TlLW EiOReL9RABTyffjorfFkNNG46pvYH2781gOBe6ybRqcmsg1euSfHDcDbxJAS1WRcDBb8Tcj1P LDkqWWEndnhJVudrxs7OmrUzVw41m4HhhoiXhs2UaA2WfqbbIJZcoVthx5RRDAvPbZ+FBPsQ1 XicTZMwkGT4DSRUuyG/nwcXN1hSqY2ZoBCvZ4+eju1FmMq3+3y73KbEI6JM85WF/03LKpcmtD 9VWTEYl6q+CHP4trNS5uz7vzuOD9/TN+wvTL/ce4yoFftABX5f94mWiv032BsqLDRCI1eIprP A02TUcPOxCqdmRovp10lvIzs1b8YCAjyJZSfX0n1IX9LLAxnO9CNtqe7tXyYTcHOwBYRKjn3x GDl+1Cd19ucHaMhHffBpFfXm8T65KnFQGGq2chfXIMIYrlOBnac/9IO4RZD0j9RmE3YNJ5EkY 2INbSaiThH+CysTxpwGYIE9/4vU1/jfFhrbvE2DwXUAvG+HmZWn2bJlGEwiuGXMhXfIUKPcKD wneYKbbEoDWdcrA25DnliIxCcfOUQZno/DimwPeUubThJ4dl5edlfLFo9S9/B0+I8+O7VwrOP o7DOWZzCAnity7TGD6S4DO35qKZWcqDUAqjymRU+X2f/NzQZAoop13GaecXnIOMcE3lrcTsLk mUwk+rMPO+O6G6BE51HMF3V/ydYotgFwGKllRA== X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Marcel Ziswiler , linux-kernel@vger.kernel.org, Rob Herring , Jonathan Hunter , Thierry Reding , Russell King , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Marcel Ziswiler Set "critical" trip temperatures for cpu, gpu, mem and pllx thermal zones. These trips can trigger shut down or reset. Similar to commit 40823f8e267f ("arm: tegra: set critical trips for Tegra124"). Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra124-apalis.dtsi | 27 +++------------------------ 1 file changed, 3 insertions(+), 24 deletions(-) diff --git a/arch/arm/boot/dts/tegra124-apalis.dtsi b/arch/arm/boot/dts/tegra124-apalis.dtsi index 7aef8928e115..be45b6753916 100644 --- a/arch/arm/boot/dts/tegra124-apalis.dtsi +++ b/arch/arm/boot/dts/tegra124-apalis.dtsi @@ -2041,53 +2041,32 @@ thermal-zones { cpu { trips { - trip@0 { + cpu-shutdown-trip { temperature = <101000>; hysteresis = <0>; type = "critical"; }; }; - - cooling-maps { - /* - * There are currently no cooling maps because - * there are no cooling devices - */ - }; }; mem { trips { - trip@0 { + mem-shutdown-trip { temperature = <101000>; hysteresis = <0>; type = "critical"; }; }; - - cooling-maps { - /* - * There are currently no cooling maps because - * there are no cooling devices - */ - }; }; gpu { trips { - trip@0 { + gpu-shutdown-trip { temperature = <101000>; hysteresis = <0>; type = "critical"; }; }; - - cooling-maps { - /* - * There are currently no cooling maps because - * there are no cooling devices - */ - }; }; }; };