Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp391306ybv; Thu, 13 Feb 2020 02:25:41 -0800 (PST) X-Google-Smtp-Source: APXvYqwhS0IjN3t0PraW5zbl49jQFn6bfuArtkluoDHnQiexNGbmWHLlFzjGq0Btvglq26MTyYXW X-Received: by 2002:a9d:68da:: with SMTP id i26mr12969533oto.65.1581589541427; Thu, 13 Feb 2020 02:25:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581589541; cv=none; d=google.com; s=arc-20160816; b=C9t0t0+dhwSHlOkd85z4Z5HCKeQl1A6AfLcnED0qx8LXELrnNnl7ctcaSa4w+zGfMl 8H1fqs8iRKZmJEK1oTyca9F9WF7hF9CYMPZZe0litjyt8MMuvSwwOEZejLDFkT/4F/FA fKPOrxSqiKRgnCswyM/DAXGmxZ0SRX5MLwSl1fINdCUqrO2rfym0sz4hlwORyyktdq8C U6UcyOepiApbpLj3TcE+aRu73msHZnelVVKsPrIi4ylVXmU8ekYnLPq9Yi6nSo14FQSE ugWnzhlrjoOc7wkueYQJ6gTUqZ6KK4beWeZ3E/x4CBXrwfXqv0AzYMvCjPn7dYUuhiR3 2zsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=R6MRp++GWCpBdBjFCD+OFqWEafgbvoZG6dgOZ8foZv8=; b=rnIw6OtDr7i1WPfowhlNkUKVXQhh1kNsbIORKWyD2ufz7R7jWKRnTF7U2n7qBqKEJx 4uRkFBfl05Y+GA79SLhvJ/u8zkqASB2pPUB6U1PuYUGRxhTvDMExu06ish6k9f6SgZ9B CAiu0erHzhLyJ/L8WLDUheTLHzRqUiyq0oTfyIuL+wnzqNJLdNBlaKWNpwSZPyfNRABm nCWshin48GMdNcnq2gMxLN+kTgNcqgXoykHokQ8QRMLgRXDUlSPnAtQe5OVBcMGk6EWu 3LkfR/9Z11Hwy9wrsyvoxynFZikZf8EwwgJRZIJm/pn1kwuyOXC6aCWyfR8R8IQ/DXY3 EN+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="L+rh/B60"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v24si890914otn.125.2020.02.13.02.25.27; Thu, 13 Feb 2020 02:25:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="L+rh/B60"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729841AbgBMKZV (ORCPT + 99 others); Thu, 13 Feb 2020 05:25:21 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:50180 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729428AbgBMKZT (ORCPT ); Thu, 13 Feb 2020 05:25:19 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 01DAP8Wn086736; Thu, 13 Feb 2020 04:25:08 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1581589508; bh=R6MRp++GWCpBdBjFCD+OFqWEafgbvoZG6dgOZ8foZv8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=L+rh/B60/REwoPOcFwcQlNoTrDV0IahNa3q4BXFxusXziojrUi03A6kFOUp5tUYF+ MjMUDan79gWmMyNncHogM0hgRjnzGL7LQDxr3EQlkd0VnQYa1W1MmS4bEDVYqUXH90 goO5WNqGnx+HFMggvx7zARk+nUn+8NsRhmU+0Nk8= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id 01DAP89P110984; Thu, 13 Feb 2020 04:25:08 -0600 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Thu, 13 Feb 2020 04:25:07 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Thu, 13 Feb 2020 04:25:07 -0600 Received: from a0393675ula.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 01DAOqpa011317; Thu, 13 Feb 2020 04:25:04 -0600 From: Keerthy To: , , CC: , , , , , , , Subject: [PATCH 3/4] arm64: dts: ti: am654: Add thermal zones Date: Thu, 13 Feb 2020 15:54:39 +0530 Message-ID: <20200213102440.20539-4-j-keerthy@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200213102440.20539-1-j-keerthy@ti.com> References: <20200213102440.20539-1-j-keerthy@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The am654 SoC has three thermal zones namely MPU0, MPU1 and MCU zones Signed-off-by: Keerthy --- .../boot/dts/ti/am654-industrial-thermal.dtsi | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 arch/arm64/boot/dts/ti/am654-industrial-thermal.dtsi diff --git a/arch/arm64/boot/dts/ti/am654-industrial-thermal.dtsi b/arch/arm64/boot/dts/ti/am654-industrial-thermal.dtsi new file mode 100644 index 000000000000..cdc3d40c3f60 --- /dev/null +++ b/arch/arm64/boot/dts/ti/am654-industrial-thermal.dtsi @@ -0,0 +1,45 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include + +mpu0_thermal: mpu0_thermal { + polling-delay-passive = <250>; /* milliseconds */ + polling-delay = <500>; /* milliseconds */ + thermal-sensors = <&wkup_vtm0 0>; + + trips { + mpu0_crit: mpu0_crit { + temperature = <125000>; /* milliCelsius */ + hysteresis = <2000>; /* milliCelsius */ + type = "critical"; + }; + }; +}; + +mpu1_thermal: mpu1_thermal { + polling-delay-passive = <250>; /* milliseconds */ + polling-delay = <500>; /* milliseconds */ + thermal-sensors = <&wkup_vtm0 1>; + + trips { + mpu1_crit: mpu1_crit { + temperature = <125000>; /* milliCelsius */ + hysteresis = <2000>; /* milliCelsius */ + type = "critical"; + }; + }; +}; + +mcu_thermal: mcu_thermal { + polling-delay-passive = <250>; /* milliseconds */ + polling-delay = <500>; /* milliseconds */ + thermal-sensors = <&wkup_vtm0 2>; + + trips { + mcu_crit: mcu_crit { + temperature = <125000>; /* milliCelsius */ + hysteresis = <2000>; /* milliCelsius */ + type = "critical"; + }; + }; +}; -- 2.17.1